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

Disassembly:
sub esp, 0x98
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x10], ebp
cmp eax, ebx
je 0x457624
cmp dword [0x513db0], ebx
jne 0x457624
call fcn.004b1640
cmp dword [eax + 0x284], ebx
je 0x457624
mov eax, dword [esp + 0xb4]
cmp eax, ebx
jne 0x456bbb
mov eax, dword [ebp + 0x4c]
mov edi, dword [ebp + 0x5c]
mov ecx, dword [ebp + 0x60]
mov esi, dword [ebp + 0x50]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x118]
cmp eax, ebx
jne 0x456ba1
mov edx, dword [ebp + 0x88]
mov eax, dword [edx + 0xf8]
mov dword [esp + 0x18], eax
jmp 0x456ba5
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], 0xa
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 2
jmp 0x456be4
mov edx, dword [eax + 8]
mov edi, dword [eax]
mov ecx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x30], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ebx
mov edx, dword [0x513514]
mov eax, dword [esp + 0x38]
imul edx, ecx
sub eax, edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax + 4]
cmp esi, ecx
jle 0x456c07
mov ecx, esi
mov eax, ecx
sub eax, esi
cdq
idiv dword [0x513500]
sub ecx, edx
mov ebx, ecx
mov ecx, dword [esp + 0xb0]
mov eax, ebx
mov dword [esp + 0x48], ebx
mov edx, dword [ecx + 0xc]
sub eax, esi
mov dword [esp + 0x3c], edx
xor ecx, ecx
cdq
idiv dword [0x513500]
add eax, edi
test eax, eax
setl cl
dec ecx
and ecx, eax
mov eax, dword [ebp + 0x88]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x456c5f
mov edx, dword [eax + 0x104]
mov dword [esp + 0x34], edx
jmp 0x456c69
mov ecx, dword [eax + 0x220]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0xbc]
mov eax, dword [esp + 0xb0]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0xac]
mov ecx, dword [eax]
add edx, esi
cmp ecx, edx
jge 0x456ed3
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
xor ecx, ecx
push 2
test esi, esi
setg cl
push edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ecx
call dword [0x4de064]
mov edx, dword [0x50fd48]
push edx
push edi
call dword [0x4de198]
mov eax, dword [0x50fd20]
push eax
push edi
call dword [0x4de084]
mov eax, dword [esp + 0x3c]
mov esi, ebx
cmp ebx, eax
jge 0x456e74
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov eax, dword [0x513500]
add edx, ecx
lea ebx, [ebx + ebx*2]
mov dword [esp + 0x4c], edx
shl ebx, 3
add eax, esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [0x513f6c]
test eax, eax
mov dword [esp + 0x74], esi
je 0x456dbe
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x70]
cmp ecx, eax
jne 0x456dbe
mov eax, dword [ebp + 0xd4]
test eax, eax
je 0x456dbe
mov edx, dword [ebp + 0x88]
mov eax, dword [edx + 0x258]
mov ecx, dword [eax + ebx + 0x14]
push ecx
push esi
push 0
push edi
mov ecx, 0x50fcc8
call fcn.0040a800
mov ecx, dword [0x513f98]
test ecx, ecx
jle 0x456db6
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x90], eax
sub eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
push 0
push 0
lea eax, [esp + 0x8c]
push 0
push eax
push ecx
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x8c]
push 0
push 0
push edi
mov dword [esp + 0xac], edx
call dword [0x4de1a0]
mov dword [esp + 0x70], 0xa
mov eax, dword [esp + 0x44]
test eax, eax
je 0x456e3a
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
cmp edx, eax
jge 0x456e3a
mov eax, dword [ebp + 0x88]
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x456dee
mov eax, dword [eax + 0x25c]
mov eax, dword [eax + ebx + 0xc]
jmp 0x456df8
mov ecx, dword [eax + 0x258]
mov eax, dword [ecx + ebx + 0xc]
test eax, eax
je 0x456e3a
lea edx, [esp + 0x94]
push 0xa
push edx
push eax
call fcn.004a21c5
add esp, 0xc
lea eax, [esp + 0x94]
push 0
push eax
call dword [0x4de41c]
lea ecx, [esp + 0x98]
push eax
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push esi
push ecx
jmp 0x456e4e
mov eax, dword [esp + 0x2c]
push 0
push 0
lea edx, [esp + 0x78]
push 0
push edx
push eax
push 0
push 0
push edi
call dword [0x4de1a0]
mov ecx, dword [esp + 0x24]
mov eax, dword [0x513500]
inc ecx
add esi, eax
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
add ebx, 0x18
cmp esi, ecx
jl 0x456cf3
push 0
push edi
call dword [0x4de064]
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x456eae
mov ecx, dword [ebp + 0x88]
mov eax, dword [ecx + 0xd8]
test eax, eax
jle 0x456eae
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x48]
push edx
push eax
push ebx
push edi
mov ecx, ebp
call fcn.004554d0
jmp 0x456eb2
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x118]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0x38]
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
mov eax, edx
mov dword [edx], ecx
mov ecx, dword [ebp + 0x60]
test ecx, ecx
jle 0x456ee4
mov ecx, dword [eax]
cmp esi, ecx
jle 0x456ee2
mov ecx, esi
mov dword [eax], ecx
mov eax, dword [eax]
cmp eax, esi
jg 0x456f2c
mov eax, dword [ebp + 0x88]
mov ecx, dword [eax + 0xbc]
mov eax, 0x66666667
imul dword [0x513500]
sar edx, 1
mov eax, edx
shr eax, 0x1f
neg ecx
add edx, eax
mov eax, ecx
cmp ecx, edx
jg 0x456f14
mov eax, edx
cmp eax, 1
jge 0x456f22
mov ecx, 1
sub esi, ecx
jmp 0x456f2e
cmp ecx, edx
jg 0x456f28
mov ecx, edx
sub esi, ecx
jmp 0x456f2e
mov esi, eax
mov eax, dword [ebp + 0x88]
xor ecx, ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x70]
mov dword [esp + 0x54], ecx
cmp edx, ecx
mov dword [esp + 0x40], ecx
je 0x456f5c
mov edx, dword [eax + 0x74]
mov dword [esp + 0x50], 1
cmp edx, ecx
jne 0x456f60
mov dword [esp + 0x50], ecx
cmp dword [esp + 0x30], ecx
jne 0x456f78
mov edx, dword [eax + 0x94]
mov dword [esp + 0x44], 1
cmp edx, ecx
jne 0x456f7c
mov dword [esp + 0x44], ecx
mov ecx, dword [0x50fd14]
push ecx
push edi
call dword [0x4de084]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x456fd6
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jge 0x456fd6
mov ecx, dword [ebp + 0x88]
mov edx, dword [ecx + 0x90]
test edx, edx
lea edx, [eax + eax*2]
je 0x456fb9
mov esi, dword [ecx + 0x25c]
jmp 0x456fbf
mov esi, dword [ecx + 0x258]
mov edx, dword [esi + edx*8 + 0xc]
test edx, edx
jne 0x456fd2
dec eax
push eax
call fcn.0043d700
mov dword [esp + 0x54], eax
mov esi, dword [esp + 0x24]
push 1
push edi
call dword [0x4de19c]
mov eax, dword [esp + 0xb0]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x60], esi
mov edx, dword [eax + 4]
mov esi, ebx
mov dword [esp + 0x64], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
cmp ebx, eax
mov dword [esp + 0x6c], edx
jge 0x457476
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp ebp, eax
jge 0x45746e
mov ebx, dword [esp + 0x10]
dec eax
xor ecx, ecx
cmp eax, ebp
mov eax, dword [ebx + 0x58]
sete cl
cmp ebp, eax
mov dword [esp + 0x4c], ecx
jne 0x45707e
mov eax, dword [0x513f64]
test eax, eax
je 0x45707e
mov ecx, dword [0x50fd18]
mov edx, dword [0x50fd3c]
mov eax, dword [0x50fd40]
push ecx
push edi
mov dword [esp + 0x88], edx
mov dword [0x50fd3c], eax
call dword [0x4de084]
mov ecx, dword [esp + 0x2c]
mov edx, dword [0x513500]
push 0
push 0
lea eax, [esp + 0x68]
push 0
push eax
push ecx
push 0
add edx, esi
push 0
push edi
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], edx
call dword [0x4de1a0]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x457107
mov ecx, dword [ebx + 0x88]
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x4570d7
mov edx, dword [ecx + 0x25c]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + ebx + 0xc]
jmp 0x4570e5
mov eax, dword [ecx + 0x258]
mov ebx, dword [esp + 0x1c]
mov eax, dword [eax + ebx + 0xc]
test eax, eax
jle 0x4570fd
push ebp
call fcn.0043d700
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0
jmp 0x45710b
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x58], ecx
jmp 0x45710b
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x88]
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x45712b
mov ecx, dword [eax + 0x25c]
mov ebx, dword [ecx + ebx + 8]
jmp 0x457135
mov edx, dword [eax + 0x258]
mov ebx, dword [edx + ebx + 8]
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x457147
mov ecx, dword [eax + 0x25c]
jmp 0x45714d
mov ecx, dword [eax + 0x258]
mov edx, dword [esp + 0x1c]
mov ebp, dword [ecx + edx]
mov ecx, dword [0x513c0c]
dec ebp
cmp ecx, 1
jne 0x457173
cmp ebp, 0x1ffe
jle 0x457173
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x457576
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x50fd3c]
add eax, ecx
push edx
push edi
mov dword [esp + 0x28], eax
call dword [0x4de198]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xe8]
test ecx, ecx
jne 0x4572fd
mov ecx, eax
mov ecx, dword [ecx + 0x88]
mov eax, dword [ecx + 0xd4]
lea edx, [eax + eax*2]
lea edx, [edx + edx*8]
shl edx, 1
sub edx, eax
mov eax, dword [edx*4 + 0x5100f8]
test eax, eax
mov eax, dword [0x512798]
je 0x4572a9
test eax, eax
jne 0x4572a9
mov eax, dword [ecx + 0xa0]
test eax, eax
je 0x457200
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x18]
push eax
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebx
lea edx, [esp + 0x30]
push esi
push edx
push edi
call fcn.00458cc0
jmp 0x45724a
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x45721a
mov eax, dword [ecx + 0x25c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx + 0x10]
jmp 0x457228
mov edx, dword [ecx + 0x258]
mov eax, dword [esp + 0x1c]
mov eax, dword [edx + eax + 0x10]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x18]
push eax
push edx
push ebp
push ebx
lea eax, [esp + 0x38]
push esi
push eax
push edi
call fcn.0045adb0
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x45729f
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jne 0x45729f
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x88]
mov edx, dword [ecx + 0x90]
test edx, edx
je 0x457276
mov edx, dword [ecx + 0x25c]
jmp 0x45727c
mov edx, dword [ecx + 0x258]
mov ebp, dword [esp + 0x1c]
mov edx, dword [edx + ebp + 0x28]
cmp eax, edx
je 0x45729f
mov ecx, dword [ecx + 0x258]
mov dword [esp + 0x40], 1
mov dword [ecx + ebp + 0x28], eax
jmp 0x45732c
mov dword [esp + 0x40], 0
jmp 0x45731c
mov edx, dword [ecx + 0xac]
test edx, edx
je 0x4572d3
test eax, eax
jne 0x4572d3
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x10]
push edx
push ebp
push ebx
lea eax, [esp + 0x2c]
push esi
push eax
push edi
call fcn.00457e50
jmp 0x45731c
mov eax, dword [0x513f78]
test eax, eax
je 0x4572fd
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebp
push ebx
lea eax, [esp + 0x30]
push esi
push eax
push edi
call fcn.00457640
jmp 0x45731c
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ebp
push ebx
lea eax, [esp + 0x30]
push esi
push eax
push edi
call fcn.004585d0
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
test eax, eax
jne 0x4573ed
mov eax, dword [0x513f70]
test eax, eax
je 0x4573ed
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x4573ad
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x88]
mov ecx, dword [eax + 0x90]
test ecx, ecx
je 0x457361
mov edx, dword [eax + 0x25c]
mov eax, dword [edx + ebp + 0x24]
jmp 0x45736b
mov eax, dword [eax + 0x258]
mov eax, dword [eax + ebp + 0x24]
test eax, eax
je 0x4573ed
mov byte [esp + 0x17], 0xb6
mov ecx, dword [0x50fd5c]
push ecx
push edi
call dword [0x4de198]
mov eax, dword [0x508e54]
test eax, eax
je 0x4573b4
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x20]
push 0
lea edx, [esp + 0x1b]
push 1
push edx
push eax
push 4
push esi
push ecx
push edi
call dword [0x4de1a0]
jmp 0x4573ed
mov byte [esp + 0x17], 0xa4
jmp 0x457374
mov edx, dword [0x5134ec]
mov ebx, dword [0x4de148]
push edx
push edi
call ebx
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x1b]
push 1
push eax
push ecx
push 4
push esi
push edx
push edi
call dword [0x4de1a0]
mov eax, dword [0x5134f4]
push eax
push edi
call ebx
mov eax, dword [esp + 0x44]
test eax, eax
je 0x457419
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x38]
mov edx, dword [ecx + 8]
mov ecx, dword [0x513500]
push edx
add ecx, esi
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push esi
push edi
call fcn.00456a80
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
cmp edx, dword [eax + 0x58]
jne 0x45744a
mov eax, dword [0x513f64]
test eax, eax
je 0x45744a
mov edx, dword [0x50fd14]
mov ecx, dword [esp + 0x80]
push edx
push edi
mov dword [0x50fd3c], ecx
call dword [0x4de084]
mov ecx, dword [0x513500]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
add esi, ecx
inc ebx
add ebp, 0x18
cmp esi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
jl 0x457029
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x48]
mov eax, dword [ebp + 0x1c]
push eax
call dword [0x4de78c]
push eax
call fcn.004b0092
mov ecx, dword [esp + 0x30]
test ecx, ecx
jne 0x4574e1
mov ecx, dword [ebp + 0x88]
mov edx, dword [ecx + 0xe4]
test edx, edx
je 0x4574e1
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
cmp ecx, edx
jge 0x4574e1
mov edx, dword [eax]
push 0
push 0
mov ecx, eax
call dword [edx + 0xe0]
cmp eax, ebp
jne 0x4574e1
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x64]
push edx
push eax
push ebx
push ecx
push edi
mov ecx, ebp
call fcn.00455930
mov edx, dword [esp + 0xb0]
mov eax, dword [edx + 0xc]
cmp esi, eax
jge 0x4575e6
mov ecx, dword [esp + 0x44]
test ecx, ecx
je 0x4575ae
mov ebx, dword [0x4de730]
mov eax, dword [0x513500]
add eax, esi
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0xb4]
mov ecx, dword [eax + 8]
lea eax, [esp + 0x64]
push ecx
push esi
push edx
push eax
call ebx
mov edx, dword [esp + 0x2c]
push 0
push 0
lea ecx, [esp + 0x68]
push 0
push ecx
push edx
push 0
push 0
push edi
call dword [0x4de1a0]
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [0x513500]
push ecx
add eax, esi
push edx
push eax
push esi
push edi
mov ecx, ebp
call fcn.00456a80
mov ecx, dword [esp + 0xb0]
mov eax, dword [0x513500]
add esi, eax
cmp esi, dword [ecx + 0xc]
jl 0x45750a
jmp 0x4575e6
push 0xffffffffffffffff
push 0
push 0x4ea4
mov dword [0x513db0], 1
call fcn.004bc171
mov ecx, dword [esp + 0x10]
mov dword [0x513db0], 0
call fcn.0044b990
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0xc
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [edx + 8]
lea edx, [esp + 0x64]
push eax
push esi
push ecx
push edx
call dword [0x4de730]
mov ecx, dword [esp + 0x2c]
push 0
push 0
lea eax, [esp + 0x68]
push 0
push eax
push ecx
push 0
push 0
push edi
call dword [0x4de1a0]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jge 0x457624
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x457624
mov edx, dword [ebp + 0x88]
push eax
mov ecx, dword [edx + 0xa0]
test ecx, ecx
mov ecx, ebp
je 0x45761f
call fcn.00458420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0xc
call fcn.00458280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 0xc