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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
push 0x4011f8
push 4
mov dword [esi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov word [esi + 0x14], 0x101
mov dword [esi + 0x20], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov word [esi + 0x2c], 0x101
mov byte [esi + 0x3c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
call fcn.00427398
xor ecx, ecx
mov dword [esi + 0x4c], eax
test eax, eax
push 0x4011f8
setne cl
push 4
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ecx
call fcn.00427398
xor ecx, ecx
mov dword [esi + 0x70], eax
test eax, eax
push 0x4011f8
setne cl
push 4
mov dword [esi + 0x78], ecx
mov dword [esi + 0x74], ecx
call fcn.00427398
xor ecx, ecx
mov dword [esi + 0x7c], eax
test eax, eax
push 0x4011f8
setne cl
push 4
mov dword [esi + 0x84], ecx
mov dword [esi + 0x80], ecx
call fcn.00427398
xor ecx, ecx
mov dword [esi + 0x88], eax
add esp, 0x20
test eax, eax
setne cl
xor edx, edx
mov dword [esi + 0x90], ecx
mov dword [esi + 0x8c], ecx
test ecx, ecx
je 0x456296
jmp 0x456280
mov eax, dword [esi + 0x88]
mov dword [eax + edx*4], 0
inc edx
cmp edx, dword [esi + 0x8c]
jb 0x456280
mov eax, dword [ebp + 8]
mov dword [esi + 0x94], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xac], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x4562f8
mov eax, dword [esi + 4]
sub eax, ecx
push eax
push 0
push ecx
call fcn.00427ec0
mov eax, dword [esi]
add esp, 0xc
test eax, eax
jne 0x4562f5
mov dword [esi + 4], eax
mov dword [esi], eax
jmp 0x4562f8
mov dword [esi + 4], eax
cmp byte [esi + 0x3c], 0
je 0x456323
mov eax, dword [esi + 0x30]
mov dword [esi + 0x34], 0
mov dword [esi + 0x30], 0
test eax, eax
je 0x456348
push 0x8000
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x456348
mov eax, dword [esi + 0x18]
test eax, eax
je 0x456333
push eax
call fcn.00426f44
add esp, 4
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x44], 0
mov word [esi + 0x61], 0
mov byte [esi + 0x63], 1
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 0
mov byte [esi + 0x60], 0
mov dword [esi + 0xa8], 0xeffeeffe
mov edx, dword [esi + 8]
mov eax, edx
sub eax, dword [esi + 4]
add eax, dword [esi]
mov byte [ebp - 1], 0
cmp eax, 1
jge 0x456487
mov eax, 0x7fffffff
xor ecx, ecx
sub eax, edx
cmp eax, 1
jb 0x4564ee
lea eax, [edx + 1]
cmp byte [esi + 0x14], cl
je 0x456420
mov edi, dword [0x5399b4]
cmp eax, edi
setge byte [ebp + 0xb]
jge 0x4563cd
mov ecx, 4
test edx, edx
je 0x4563bf
mov ecx, edx
cmp ecx, eax
jge 0x4563cd
add ecx, ecx
cmp ecx, edi
jge 0x4563d7
cmp ecx, eax
jl 0x4563c3
cmp byte [ebp + 0xb], 0
je 0x456499
mov eax, edx
mov ecx, 1
cdq
sub eax, edx
sar eax, 1
cmp eax, 1
jl 0x4563ea
mov ecx, eax
mov edx, 0x7fffffff
sub edx, ecx
mov ecx, dword [esi + 8]
cmp edx, ecx
jge 0x4563ff
mov edi, 0x7fffffff
jmp 0x456422
cmp eax, 1
jge 0x456409
mov eax, 1
add eax, edi
lea edi, [ecx - 1]
add edi, eax
mov eax, dword [0x5399b4]
neg eax
and edi, eax
lea eax, [ecx + 1]
cmp eax, edi
jle 0x456422
mov edi, eax
push 0x4011f8
push edi
call fcn.00427398
add esp, 8
mov dword [ebp + 8], eax
test eax, eax
je 0x4564ee
mov ecx, dword [esi]
mov dword [esi + 8], edi
mov edi, dword [esi + 4]
sub edi, ecx
push edi
push ecx
push eax
call fcn.00454cd0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov edx, dword [esi]
mov dword [ebp - 8], edx
mov dword [esi], ecx
lea eax, [edi + ecx]
mov dword [esi + 4], eax
cmp edx, ecx
je 0x456478
mov eax, dword [esi + 0xc]
test eax, eax
je 0x456478
push ecx
push edx
push dword [esi + 0x10]
call eax
mov edx, dword [ebp - 8]
add esp, 0xc
push edx
call fcn.00426f44
mov al, byte [esi + 0x15]
add esp, 4
mov byte [esi + 0x14], al
cmp dword [esi], 0
mov ecx, dword [esi + 4]
jne 0x4564a1
mov dword [esi], 0
xor eax, eax
jmp 0x4564a4
lea edi, [ecx + 3]
and edi, 0xfffffffc
jmp 0x456422
lea eax, [ecx + 1]
mov dword [esi + 4], eax
lea eax, [ebp - 1]
push 1
push eax
push ecx
call fcn.00454cd0
add esp, 0xc
lea ecx, [esi + 0x4c]
push 1
call fcn.00455ec0
test eax, eax
je 0x4564ee
xor ecx, ecx
cmp dword [esi + 0x50], ecx
jbe 0x4564e0
jmp 0x4564d0
mov eax, dword [esi + 0x4c]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, dword [esi + 0x50]
jb 0x4564d0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4