Function at 0x459480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e78ba
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x704dd8]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x2c], edi
mov eax, dword [edi + 0xb78]
mov ecx, dword [eax + 4]
lea ebp, [edi + 0xb60]
push ecx
mov ecx, ebp
call fcn.00459360
mov eax, dword [ebp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [ebp + 0x18]
xor esi, esi
mov dword [ebp + 0x1c], esi
mov dword [eax], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [eax + 8], eax
call fcn.004eac95
add esp, 4
mov dword [esp + 0x28], edx
lea edx, [esp + 0x1b]
mov dword [esp + 0x24], eax
push edx
lea eax, [esp + 0x1f]
push eax
lea ecx, [esp + 0xc8]
call fcn.00450610
mov eax, dword [edi + 0xa14]
mov ecx, dword [eax + 0x18]
mov ebx, dword [ecx]
mov dword [esp + 0x128], esi
mov esi, dword [eax]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], esi
lea esp, [esp]
mov eax, dword [edi + 0xa14]
mov edi, dword [eax + 0x18]
mov eax, dword [eax]
test esi, esi
je 0x459543
cmp esi, eax
je 0x459548
call fcn.004ea132
cmp ebx, edi
je 0x45996f
test esi, esi
jne 0x4595bd
call fcn.004ea132
cmp ebx, dword [esi + 0x18]
jne 0x459563
call fcn.004ea132
mov esi, dword [ebx + 0x28]
test esi, esi
je 0x459955
xor ecx, ecx
push 7
mov word [esp + 0x64], cx
push str.rec_day
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
call fcn.00401c70
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
mov byte [esp + 0x130], 1
call fcn.004309e0
mov ebx, 8
cmp dword [eax + 0x18], ebx
jb 0x4595c1
mov eax, dword [eax + 4]
jmp 0x4595c4
mov esi, dword [esi]
jmp 0x459559
add eax, 4
push eax
call fcn.004e9c30
add esp, 4
mov edi, eax
cmp dword [esp + 0x50], ebx
jb 0x4595e2
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004ca5d9
add esp, 4
xor edx, edx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], dx
mov byte [esp + 0x128], dl
cmp dword [esp + 0x74], ebx
jb 0x459613
mov eax, dword [esp + 0x60]
push eax
call fcn.004ca5d9
add esp, 4
cmp edi, 1
je 0x459955
cmp dword [esi + 0x64], 3
je 0x459955
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
xor edx, edx
push 0xffffffffffffffff
lea eax, [esi + 0x68]
push edx
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], 0
push eax
mov word [ecx + 4], dx
call fcn.00401f60
mov ecx, esi
call fcn.00434530
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00434680
mov edi, eax
push 9
xor eax, eax
push str.is_repeat
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], 0
mov word [esp + 0x68], ax
call fcn.00401c70
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x3c]
push edx
mov ecx, esi
mov byte [esp + 0x130], 2
call fcn.004309e0
cmp dword [eax + 0x18], ebx
jb 0x4596ad
mov eax, dword [eax + 4]
jmp 0x4596b0
add eax, 4
push eax
call fcn.004e9c30
add esp, 4
mov dword [esp + 0x20], eax
cmp dword [esp + 0x50], ebx
jb 0x4596d0
mov eax, dword [esp + 0x3c]
push eax
call fcn.004ca5d9
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
mov byte [esp + 0x128], cl
cmp dword [esp + 0x74], ebx
jb 0x459701
mov edx, dword [esp + 0x60]
push edx
call fcn.004ca5d9
add esp, 4
cmp dword [esp + 0x20], 0
je 0x4597e0
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x20], 0
call fcn.004352f0
mov edi, eax
cmp edi, 0xffffffff
je 0x459955
cdq
cmp edx, dword [esp + 0x28]
jl 0x459955
jg 0x459742
cmp eax, dword [esp + 0x24]
jb 0x459955
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
lea edx, [esp + 0xb0]
mov dword [esp + 0xb4], eax
push edx
lea eax, [esp + 0xfc]
mov dword [esp + 0xb4], ecx
push eax
lea ecx, [esp + 0xc8]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xc4], esi
call fcn.00455cd0
sub edi, dword [esp + 0x24]
lea ecx, [esp + 0xc0]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], edi
call fcn.004576a0
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x12c], 3
mov dword [esp + 0x60], edx
call fcn.004576a0
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0xe4]
push edx
mov ecx, ebp
mov byte [esp + 0x130], 4
call fcn.00459270
mov byte [esp + 0x128], 3
jmp 0x4598f1
mov eax, edi
cdq
cmp edx, dword [esp + 0x28]
jl 0x459955
jg 0x4597f9
cmp eax, dword [esp + 0x24]
jb 0x459955
sub eax, dword [esp + 0x24]
sbb edx, dword [esp + 0x28]
test edx, edx
jg 0x459955
jl 0x459816
cmp eax, 0xe10
ja 0x459955
lea eax, [esp + 0x20]
mov ebx, edi
sub ebx, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x8c]
push ecx
mov ecx, ebp
mov dword [esp + 0x28], ebx
call fcn.0044f990
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp]
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], eax
call fcn.0044e140
test al, al
je 0x45990d
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0xa0]
mov dword [esp + 0xa0], edx
push ecx
lea edx, [esp + 0x114]
push edx
lea ecx, [esp + 0xc8]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], esi
call fcn.00455cd0
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x3c], ebx
call fcn.004576a0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x60]
mov byte [esp + 0x12c], 5
call fcn.00457eb0
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x108]
push eax
mov ecx, ebp
mov byte [esp + 0x130], 6
call fcn.00459270
mov byte [esp + 0x128], 5
lea ecx, [esp + 0x60]
call fcn.00457620
lea ecx, [esp + 0x3c]
mov byte [esp + 0x128], 0
call fcn.00457620
jmp 0x459955
mov ecx, dword [esi]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x90], ecx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xf0]
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], esi
call fcn.0040d970
mov ecx, eax
add ecx, 4
call fcn.00455cd0
lea ecx, [esp + 0x30]
call fcn.0040ade0
mov ebx, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x459530
mov edx, dword [esp + 0x2c]
cmp dword [edx + 0xb7c], 0
je 0x4599a1
mov eax, dword [ebp + 0x18]
mov ebp, dword [ebp]
mov esi, dword [eax]
test ebp, ebp
jne 0x45999c
call fcn.004ea132
cmp esi, dword [ebp + 0x18]
jne 0x459997
call fcn.004ea132
mov esi, dword [esi + 0xc]
jmp 0x4599a4
mov ebp, dword [ebp]
jmp 0x45998d
or esi, 0xffffffff
lea ecx, [esp + 0xc0]
mov dword [esp + 0x128], 0xffffffff
call fcn.00457620
mov eax, esi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret