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

Disassembly:
push 0xffffffffffffffff
push 0x499bbe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [0x4be818]
push ebx
push ebp
push esi
xor ebp, ebp
push edi
mov edi, dword [esp + 0x64]
mov esi, ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x64], eax
mov eax, dword [edi + 0x18]
mov edx, dword [esi + 0x1c]
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, ecx
mov byte [esp + 0x5c], 1
cmp eax, ebp
mov dword [esp + 0x18], eax
je 0x4561d7
push 0x4bb0a4
lea ecx, [esp + 0x28]
call fcn.004844a1
mov ebx, 1
mov dword [esp + 0x14], ebx
mov byte [esp + 0x5c], 2
jmp 0x4561f5
lea edx, [esp + 0x20]
push edi
push edx
mov ecx, esi
call fcn.00449860
mov ebx, 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x5c], 3
push eax
lea ecx, [esp + 0x14]
call fcn.004841a8
test bl, 2
mov dword [esp + 0x5c], 6
je 0x45621c
and ebx, 0xfffffffd
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], ebx
call fcn.00484433
test bl, 1
mov dword [esp + 0x5c], 5
je 0x456232
lea ecx, [esp + 0x24]
call fcn.00484433
mov eax, dword [edi + 0x6c]
mov dword [esp + 0x1c], ebp
test eax, eax
je 0x4567e9
mov ecx, dword [edi + 0x70]
sub ecx, eax
sar ecx, 2
cmp ebp, ecx
jae 0x4567e9
mov ebx, dword [eax + ebp*4]
mov edx, dword [esi + 0x24]
mov eax, dword [ebx + 4]
test eax, eax
je 0x45663e
mov ecx, dword [ebx + 8]
mov edx, ecx
dec edx
je 0x4564fc
dec edx
je 0x4563c3
cmp dword [esi + 0x184], 0x12c
jb 0x45628d
mov edx, dword [esp + 0x18]
test edx, edx
je 0x456633
mov edx, eax
shr edx, 1
sub eax, edx
mov ebp, eax
lea eax, [esp + 0x40]
push eax
push ebp
push 0
push ecx
push edi
mov ecx, esi
call fcn.00449940
test eax, eax
mov dword [esp + 0x14], eax
je 0x4562f5
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x10]
push ecx
push ebp
push edx
lea eax, [esp + 0x70]
push 0x4bd8e8
push eax
call fcn.004827a3
add esp, 0x14
lea ecx, [esp + 0x40]
push ecx
push 1
mov ecx, esi
call fcn.004576d0
test al, 1
jne 0x4562ea
push 0x4bd8dc
lea ecx, [esp + 0x68]
call fcn.0048480f
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xa
jmp 0x45631e
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push 0x4bd8b4
push ecx
call fcn.004827a3
mov eax, dword [esp + 0x78]
mov edx, dword [esi]
add esp, 0x14
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov ebp, dword [ebx + 4]
mov eax, dword [esp + 0x14]
shr ebp, 1
test eax, eax
je 0x456633
test ebp, ebp
je 0x456633
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x40]
push ecx
push ebp
push 1
push edx
push edi
mov ecx, esi
call fcn.00449940
test eax, eax
je 0x45639e
mov eax, dword [ebx + 8]
mov ecx, dword [esp + 0x10]
push eax
push ebp
push ecx
lea edx, [esp + 0x70]
push 0x4bd8e8
push edx
call fcn.004827a3
add esp, 0x14
lea eax, [esp + 0x40]
mov ecx, esi
push eax
push 1
call fcn.004576d0
test al, 1
jne 0x456390
push 0x4bd8dc
lea ecx, [esp + 0x68]
call fcn.0048480f
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xa
jmp 0x45662e
mov ecx, dword [esp + 0x40]
mov edx, dword [ebx + 8]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
lea ecx, [esp + 0x70]
push 0x4bd8b4
push ecx
call fcn.004827a3
add esp, 0x14
jmp 0x456625
cmp dword [esi + 0x188], 0x64
jb 0x4563d8
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x456633
mov ecx, eax
lea edx, [esp + 0x40]
shr ecx, 1
sub eax, ecx
push edx
mov ebp, eax
mov ecx, esi
push ebp
push 0
push 2
push edi
call fcn.00449940
test eax, eax
mov dword [esp + 0x14], eax
je 0x456442
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x6c]
push 0x4bd89c
push ecx
call fcn.004827a3
add esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push 2
call fcn.004576d0
test al, 2
jne 0x456432
push 0x4bd884
lea ecx, [esp + 0x68]
call fcn.0048480f
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
push ecx
push 0xa
mov ecx, esi
call dword [eax + 4]
jmp 0x45646c
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x4bd868
push ecx
call fcn.004827a3
mov eax, dword [esp + 0x74]
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
push eax
push 0xb
call dword [edx + 4]
mov ebp, dword [ebx + 4]
mov eax, dword [esp + 0x14]
shr ebp, 1
test eax, eax
je 0x456633
test ebp, ebp
je 0x456633
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x40]
push ecx
push ebp
push 1
push edx
push edi
mov ecx, esi
call fcn.00449940
test eax, eax
je 0x4564e8
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x6c]
push 0x4bd89c
push ecx
call fcn.004827a3
add esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push 2
call fcn.004576d0
test al, 2
jne 0x4564d5
push 0x4bd884
lea ecx, [esp + 0x68]
call fcn.0048480f
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
push ecx
push 0xa
mov ecx, esi
call dword [eax + 4]
jmp 0x456633
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x4bd868
jmp 0x456618
cmp dword [esi + 0x184], 0x12c
jb 0x456514
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x456633
mov ecx, eax
lea edx, [esp + 0x40]
shr ecx, 1
sub eax, ecx
push edx
mov ebp, eax
mov ecx, esi
push ebp
push 1
push 1
push edi
call fcn.00449940
test eax, eax
mov dword [esp + 0x14], eax
je 0x45657e
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x6c]
push 0x4bd850
push ecx
call fcn.004827a3
add esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push 1
call fcn.004576d0
test al, 1
jne 0x45656e
push 0x4bd6b4
lea ecx, [esp + 0x68]
call fcn.0048480f
mov ecx, dword [esp + 0x64]
mov eax, dword [esi]
push ecx
push 0xa
mov ecx, esi
call dword [eax + 4]
jmp 0x4565a8
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x4bd834
push ecx
call fcn.004827a3
mov eax, dword [esp + 0x74]
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
push eax
push 0xb
call dword [edx + 4]
mov ebp, dword [ebx + 4]
mov eax, dword [esp + 0x14]
shr ebp, 1
test eax, eax
je 0x456633
test ebp, ebp
je 0x456633
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x40]
push ecx
push ebp
push 2
push edx
push edi
mov ecx, esi
call fcn.00449940
test eax, eax
je 0x456609
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ecx, [esp + 0x6c]
push 0x4bd850
push ecx
call fcn.004827a3
add esp, 0x10
lea edx, [esp + 0x40]
mov ecx, esi
push edx
push 1
call fcn.004576d0
test al, 1
jne 0x4564d5
push 0x4bd6b4
jmp 0x4564cc
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push edx
push eax
push 0x4bd834
lea ecx, [esp + 0x70]
push ecx
call fcn.004827a3
add esp, 0x10
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov ebp, dword [esp + 0x1c]
mov dword [ebx + 4], 0
mov eax, dword [edi + 0x78]
test eax, eax
je 0x4567e3
mov edx, dword [edi + 0x7c]
lea ecx, [esp + 0x40]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004506a0
test eax, eax
mov eax, dword [edi + 0x7c]
je 0x45675b
dec eax
mov eax, dword [esp + 0x50]
je 0x4566e5
test eax, eax
push edi
jl 0x4566aa
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00449860
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x4bd814
push eax
mov byte [esp + 0x6c], 9
call fcn.004827a3
add esp, 0x10
mov byte [esp + 0x5c], 5
lea ecx, [esp + 0x28]
jmp 0x4567c9
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00449860
mov edx, dword [esp + 0x50]
mov eax, dword [eax]
neg edx
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x4bd7f4
push ecx
mov byte [esp + 0x6c], 0xa
call fcn.004827a3
add esp, 0x10
mov byte [esp + 0x5c], 5
lea ecx, [esp + 0x2c]
jmp 0x4567c9
test eax, eax
push edi
jl 0x456723
lea edx, [esp + 0x34]
mov ecx, esi
push edx
call fcn.00449860
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x4bd7d8
push eax
mov byte [esp + 0x6c], 7
call fcn.004827a3
add esp, 0x10
mov byte [esp + 0x5c], 5
lea ecx, [esp + 0x30]
jmp 0x4567c9
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00449860
mov edx, dword [esp + 0x50]
mov eax, dword [eax]
neg edx
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x4bd7bc
push ecx
mov byte [esp + 0x6c], 8
call fcn.004827a3
add esp, 0x10
mov byte [esp + 0x5c], 5
lea ecx, [esp + 0x34]
jmp 0x4567c9
dec eax
push edi
je 0x456795
lea edx, [esp + 0x3c]
mov ecx, esi
push edx
call fcn.00449860
mov ecx, dword [esp + 0x40]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x6c]
push 0x4bd79c
push eax
mov byte [esp + 0x6c], 0xc
call fcn.004827a3
add esp, 0x10
mov byte [esp + 0x5c], 5
lea ecx, [esp + 0x38]
jmp 0x4567c9
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00449860
mov edx, dword [esp + 0x40]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x6c]
push 0x4bd788
push ecx
mov byte [esp + 0x6c], 0xb
call fcn.004827a3
add esp, 0x10
mov byte [esp + 0x5c], 5
lea ecx, [esp + 0x3c]
call fcn.00484433
mov eax, dword [esp + 0x64]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov dword [edi + 0x78], 0
inc ebp
jmp 0x456232
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 1
call fcn.00484433
lea ecx, [esp + 0x64]
mov byte [esp + 0x5c], 0
call fcn.00484433
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xd
call fcn.00484433
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00484433
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4