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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7cc
lea eax, [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7e4]
mov ebp, dword [esp + 0x7e0]
mov dword [esp], eax
call fcn.00429a60
mov esi, eax
mov eax, dword [esp + 0x1c]
cmp eax, 1
je 0x456473
cmp eax, 2
je 0x45648b
mov eax, dword [esp + 0x7e4]
mov edx, dword [eax + 0xc]
cmp edx, 0x5a37c0
je 0x456377
mov dword [esp + 8], esi
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp], ebp
mov dword [esp + 0xc], eax
call fcn.0047da00
mov dword [esp + 4], esi
lea eax, [esp + 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], ebp
mov dword [esp + 8], eax
call fcn.004834e0
mov edx, dword [esp + 0x44]
mov edi, eax
lea eax, [esp + 0x44]
add eax, 4
cmp edx, eax
je 0x456307
mov dword [esp], edx
call fcn.0043d060
test edi, edi
je 0x4563c1
mov eax, dword [esp + 0x7c]
xor esi, esi
mov ebx, dword [esp + 0x78]
test eax, eax
jle 0x456339
lea esi, [esi]
mov eax, dword [ebx + 4]
inc esi
add ebx, 0xc
mov dword [esp], ebp
mov dword [esp + 4], eax
call fcn.00461490
cmp dword [esp + 0x7c], esi
jg 0x456320
mov eax, dword [esp + 0xa8]
xor esi, esi
mov ebx, dword [esp + 0xa4]
cmp eax, 0
jmp 0x456356
inc esi
add ebx, 8
cmp eax, esi
jle 0x456510
mov edx, dword [ebx]
mov ebp, dword [edx + 8]
test ebp, ebp
je 0x456350
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [esp + 0xa8]
jmp 0x456350
mov ebx, dword [eax + 0x10]
mov eax, dword [ebx]
mov ecx, dword [eax]
cmp ecx, ebp
je 0x45656c
test byte [ebx + 0x14], 1
je 0x456549
cmp ecx, ebp
je 0x4563aa
mov dword [esp], 0x5c306c
call fcn.00441ce0
mov eax, dword [esp + 0x7e4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0xf0]
cmp edx, 0x5a37c0
mov dword [ebx + 4], eax
jne 0x4562b6
jmp 0x456424
mov ecx, dword [esp + 0x6c]
cmp ecx, dword [esp + 0x68]
je 0x456595
cmp ecx, dword [esp + 0x70]
mov eax, dword [ebp + 0xc8]
mov dword [esp + 0x28], eax
je 0x456580
mov byte [ecx], 0
mov eax, dword [0x5a37e8]
inc dword [esp + 0x6c]
test eax, eax
jne 0x4564bf
mov edx, dword [esp + 0x7e4]
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0047db80
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.0047d820
mov edx, dword [esp + 0x7e4]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebp
call fcn.0043c740
inc dword [eax]
mov esi, eax
mov dword [esp], ebp
call fcn.0043c4a0
inc dword [ebx + 0x10]
mov edx, ebx
mov eax, ebp
call fcn.0044f6f0
mov edi, eax
mov eax, dword [ebx + 0x10]
dec eax
mov dword [ebx + 0x10], eax
test eax, eax
jle 0x45664c
test edi, edi
je 0x456521
mov eax, dword [esi]
dec eax
test eax, eax
mov dword [esi], eax
jle 0x4564d5
mov eax, edi
add esp, 0x7cc
pop ebx
pop esi
pop edi
pop ebp
ret
movzx eax, byte [esi]
cmp al, 0x30
je 0x4564a4
cmp al, 0x31
jne 0x4562a0
mov dword [esp], 1
jmp 0x4564ab
cmp byte [esi], 0x21
jne 0x4562a0
movzx eax, byte [esi + 1]
cmp al, 0x30
je 0x456482
cmp al, 0x31
jne 0x4562a0
mov dword [esp], 0
call fcn.0042a960
inc dword [eax]
mov edx, dword [esp + 0x7e8]
mov dword [edx], eax
xor eax, eax
jmp 0x456468
jl 0x4566a7
mov edx, dword [esp + 0x40]
lea eax, [edx + eax]
mov dword [esp + 0x40], eax
jmp 0x4563f7
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4564e7
mov edx, dword [eax + 4]
test edx, edx
jne 0x45669c
mov eax, dword [esi + 4]
test eax, eax
je 0x4564fe
cmp eax, dword [0x59de30]
je 0x4564fe
mov dword [esp], eax
call fcn.0043d060
mov dword [esp], esi
call fcn.0044c7e0
jmp 0x456466
lea edx, [esp + 0x20]
mov dword [esp], edx
call fcn.0047d820
jmp 0x456466
mov eax, dword [ebp + 0x1e4]
mov edx, dword [esp + 0x7e8]
mov dword [edx], eax
mov eax, dword [ebp + 0x1e4]
inc dword [eax]
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.0043c300
jmp 0x45645d
mov edx, dword [esp + 0x7e4]
mov dword [esp], edx
call dword [0x5a37c4]
mov eax, dword [esp + 0x7e4]
mov dword [eax + 0xc], 0
jmp 0x4562b6
mov eax, dword [ebp + 0xf0]
cmp dword [ebx + 4], eax
jne 0x456386
jmp 0x456424
lea edx, [esp + 0x20]
mov dword [esp], edx
call fcn.0047daf0
mov ecx, dword [esp + 0x6c]
jmp 0x4563e3
xor esi, esi
mov ebx, 1
mov ecx, 0x5c309c
mov dword [esp + 8], ebx
lea eax, [esp + 0x20]
mov dword [esp + 0xc], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004611b0
cmp eax, 0xff
mov ebx, eax
jle 0x45666e
mov ecx, dword [esp + 0x6c]
lea eax, [ecx + 5]
cmp eax, dword [esp + 0x70]
ja 0x4566dc
mov byte [ecx], 2
mov eax, ebx
mov edx, dword [esp + 0x6c]
shr eax, 0x18
lea ecx, [edx + 1]
mov dword [esp + 0x6c], ecx
mov byte [edx + 1], al
mov edx, dword [esp + 0x6c]
mov eax, ebx
shr eax, 0x10
lea ecx, [edx + 1]
mov dword [esp + 0x6c], ecx
mov byte [edx + 1], al
mov edx, dword [esp + 0x6c]
mov eax, ebx
shr eax, 8
lea ecx, [edx + 1]
mov dword [esp + 0x6c], ecx
mov byte [edx + 1], al
mov eax, dword [esp + 0x6c]
lea ecx, [eax + 1]
mov dword [esp + 0x6c], ecx
mov byte [eax + 1], bl
mov ecx, dword [esp + 0x6c]
mov eax, dword [0x5a3818]
inc ecx
mov dword [esp + 0x6c], ecx
test eax, eax
je 0x4563cf
jl 0x4566f1
mov edx, dword [esp + 0x40]
add edx, eax
mov dword [esp + 0x40], edx
jmp 0x4563cf
mov dword [esp], ebx
call fcn.0047d8c0
mov eax, dword [esp + 0x7e4]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
jmp 0x456455
mov ecx, dword [esp + 0x6c]
lea eax, [ecx + 2]
cmp eax, dword [esp + 0x70]
ja 0x4566ca
mov byte [ecx], 1
mov eax, dword [esp + 0x6c]
lea ecx, [eax + 1]
mov dword [esp + 0x6c], ecx
mov byte [eax + 1], bl
mov ecx, dword [esp + 0x6c]
mov eax, dword [0x5a3800]
inc ecx
mov dword [esp + 0x6c], ecx
jmp 0x45662f
mov dword [esp], esi
call dword [eax + 4]
jmp 0x4564e7
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x3c], edx
jge 0x4566b5
mov dword [esp + 0x3c], edx
cmp eax, 0x80000000
jne 0x4564c9
mov eax, 1
jmp 0x4564c9
lea edx, [esp + 0x20]
mov dword [esp], edx
call fcn.0047daf0
mov ecx, dword [esp + 0x6c]
jmp 0x45667b
lea eax, [esp + 0x20]
mov dword [esp], eax
call fcn.0047daf0
mov ecx, dword [esp + 0x6c]
jmp 0x4565d7
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x3c], edx
jge 0x4566ff
mov dword [esp + 0x3c], edx
cmp eax, 0x80000000
jne 0x456641
mov eax, 1
sub eax, ebx
jmp 0x456641