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

Disassembly:
push 0xffffffffffffffff
push 0x4a00f8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4c5cd8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c5cd8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
mov edi, dword [esp + 0xa0]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
call fcn.0043fe50
push eax
mov dword [esp + 0x84], 0
call fcn.00457d90
mov ebp, dword [esp + 0x3c]
add esp, 4
mov ebx, eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x80], 0xffffffff
test ebp, ebp
je 0x459243
push 0
lea ecx, [esp + 0x20]
call fcn.00465cb5
mov eax, dword [ebp + 4]
test eax, eax
jbe 0x459221
cmp eax, 0xffffffff
jae 0x459221
dec eax
mov dword [ebp + 4], eax
mov esi, dword [ebp + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x1c]
and esi, ebp
call fcn.00465cdd
test esi, esi
je 0x459243
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
lea eax, [esp + 0x58]
push eax
mov ecx, ebx
call fcn.004542c0
mov edx, dword [ebx]
mov eax, dword [edx + 8]
mov esi, 1
mov ecx, ebx
mov dword [esp + 0x80], esi
call eax
xor ecx, ecx
mov byte [esp + 0x1c], al
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ecx
mov byte [esp + 0x40], cl
mov al, byte [edi]
mov byte [esp + 0x80], 2
cmp al, 0x2b
je 0x459290
mov dword [esp + 0x20], ecx
cmp al, 0x2d
jne 0x459294
mov dword [esp + 0x20], esi
call fcn.004822fd
mov ecx, dword [eax]
mov ebx, dword [esp + 0xb0]
mov dl, byte [ecx]
push ebx
push 0x65
push edi
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0
call fcn.00482250
mov esi, eax
movsx eax, byte [esp + 0x20]
push ebx
push eax
push edi
call fcn.00482250
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x4592da
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x5c]
mov eax, edx
cmp ecx, 0x10
jae 0x4592ed
lea eax, [esp + 0x5c]
cmp byte [eax], 0x7f
je 0x45943d
mov eax, edx
cmp ecx, 0x10
jae 0x459301
lea eax, [esp + 0x5c]
cmp byte [eax], 0
jle 0x45943d
push ebx
push edi
lea ecx, [esp + 0x44]
call fcn.00413980
test esi, esi
jne 0x459335
mov ecx, dword [esp + 0xac]
push 0x30
push ecx
lea ecx, [esp + 0x44]
call fcn.0043e680
mov ebx, dword [esp + 0xa4]
jmp 0x45936d
test ebp, ebp
jne 0x459350
mov edx, dword [esp + 0xa4]
push 0x30
push edx
lea ecx, [esp + 0x44]
call fcn.0043e680
xor ebx, ebx
jmp 0x459357
mov ebx, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
push 0x30
push eax
sub esi, edi
push esi
lea ecx, [esp + 0x48]
call fcn.00445140
push 0x30
test ebp, ebp
jne 0x45937f
push ebx
lea ecx, [esp + 0x44]
call fcn.0043e680
jmp 0x4593b0
mov ecx, dword [esp + 0xac]
mov esi, ebp
sub esi, edi
push ecx
lea edx, [esi + 1]
push edx
lea ecx, [esp + 0x48]
call fcn.00445140
push 0x30
push ebx
push esi
lea ecx, [esp + 0x48]
call fcn.00445140
mov dword [esp + 0xa8], 0
mov edi, dword [esp + 0x5c]
mov ebx, 0x10
mov dword [esp + 0xa4], 0
cmp dword [esp + 0x70], ebx
jae 0x4593ce
lea edi, [esp + 0x5c]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x4593dc
lea eax, [esp + 0x40]
lea ecx, [esp + 0x14]
push ecx
push eax
call fcn.00482200
mov esi, eax
mov al, byte [edi]
add esp, 8
cmp al, 0x7f
je 0x459420
test al, al
jle 0x459420
mov edx, esi
sub edx, dword [esp + 0x20]
movsx eax, al
cmp eax, edx
jae 0x459420
push 0
sub esi, eax
push 1
push esi
lea ecx, [esp + 0x48]
call fcn.00445140
cmp byte [edi + 1], 0
jle 0x45941a
inc edi
mov al, byte [edi]
cmp al, 0x7f
jne 0x4593f2
mov edi, dword [esp + 0x40]
cmp dword [esp + 0x54], ebx
jae 0x45942e
lea edi, [esp + 0x40]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0x30]
add eax, ecx
add eax, dword [esp + 0xac]
mov ecx, dword [edx + 0x18]
add eax, ebx
test ecx, ecx
jle 0x45946d
cmp ecx, eax
jbe 0x45946d
sub ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x459475
mov dword [esp + 0x18], 0
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x88]
and eax, 0x1c0
cmp eax, 0x40
je 0x459554
cmp eax, 0x100
je 0x4594d1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x94]
push eax
push ecx
push edx
lea eax, [esp + 0x30]
push eax
push esi
call fcn.00453640
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xac], edx
jmp 0x459549
cmp dword [esp + 0x20], 0
jbe 0x45950e
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
push 1
push edi
push eax
push ecx
lea edx, [esp + 0x30]
push edx
push esi
call fcn.004536f0
mov ecx, dword [eax]
mov dword [esp + 0xa8], ecx
mov edx, dword [eax + 4]
add esp, 0x18
inc edi
mov dword [esp + 0x94], edx
dec ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.00453640
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0x30], 0
add esp, 0x18
movsx ecx, byte [esp + 0x14]
push ebx
push ecx
push edi
call fcn.00482250
add esp, 0xc
test eax, eax
je 0x459655
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x94]
sub eax, edi
inc eax
push edx
mov edx, dword [esp + 0x94]
mov ebp, eax
lea eax, [ebp - 1]
push eax
push edi
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00453760
mov ecx, dword [eax]
mov dword [esp + 0xac], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0xc0]
push ecx
mov dword [esp + 0xb4], edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 0x30
push edx
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
call fcn.00453640
mov edx, dword [eax]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc4], edx
mov eax, dword [eax + 4]
mov dword [esp + 0xc8], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esp, 0x34
call eax
mov edx, dword [esp + 0x94]
push 1
mov byte [esp + 0x2c], al
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x94]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.00453640
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc0]
push edx
mov dword [esp + 0xb0], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x50]
push eax
push esi
call fcn.00453640
mov ecx, dword [eax]
mov dword [esp + 0xc0], ecx
mov edx, dword [eax + 4]
add esp, 0x30
add edi, ebp
mov dword [esp + 0x94], edx
sub ebx, ebp
push ebx
push 0x65
push edi
call fcn.00482250
add esp, 0xc
test eax, eax
je 0x459726
mov edx, dword [esp + 0x94]
sub eax, edi
inc eax
mov ebp, eax
mov eax, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x94]
lea ecx, [ebp - 1]
push ecx
push edi
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.00453760
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc8]
push edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x54]
push eax
push esi
call fcn.00453640
mov ecx, dword [eax]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x64]
mov edx, dword [eax + 4]
add esp, 0x34
test byte [ecx + 0x10], 4
mov dword [esp + 0x94], edx
mov dword [esp + 0xac], 0
mov ecx, 0x4aa180
jne 0x4596f7
mov ecx, 0x4aa17c
mov edx, dword [eax + 4]
mov eax, dword [eax]
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push ecx
push esi
call fcn.004536f0
mov edx, dword [eax]
mov dword [esp + 0xa8], edx
mov eax, dword [eax + 4]
add esp, 0x18
add edi, ebp
mov dword [esp + 0x94], eax
sub ebx, ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x90]
push ecx
push ebx
push edi
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
push esi
call fcn.00453760
mov edx, dword [eax]
mov dword [esp + 0xac], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0xc8]
push edx
mov dword [esp + 0xb4], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push 0x30
push ecx
push edx
lea eax, [esp + 0x54]
push eax
push esi
call fcn.00453640
mov ecx, dword [eax]
mov edx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
mov dword [esp + 0xc4], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x18], ebx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0xd4]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0xe0], eax
call fcn.00453640
mov esi, 0x10
add esp, 0x4c
cmp dword [esp + 0x54], esi
jb 0x4597c8
mov eax, dword [esp + 0x40]
push eax
call fcn.00480047
add esp, 4
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], 0
cmp dword [esp + 0x70], esi
jb 0x4597ec
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00480047
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00480438
add esp, 0x70
ret