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

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
or dword [ebx + 8], 1
mov ecx, dword [ebx + 4]
and ecx, 0xfffffffe
test byte [ebx + 4], 1
je 0x45be91
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebx + 0x90]
cmp edx, 0x575de8
jne 0x45beae
push eax
push ecx
lea ecx, [ebx + 0x90]
call fcn.004312e0
jmp 0x45bec7
cmp edx, eax
je 0x45bec7
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x45bebc
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00404770
push ebp
xor ebp, ebp
cmp dword [edi + 0x34], ebp
jle 0x45bf41
lea esi, [ebx + 0x10]
mov dword [esp + 0x10], ebp
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45bef7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
cmp ecx, edx
jge 0x45bef2
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 4], eax
jmp 0x45bf21
cmp edx, dword [esi + 8]
jne 0x45bf06
mov eax, dword [esi + 8]
mov ecx, esi
inc eax
push eax
call fcn.004251a0
mov eax, dword [esi + 0xc]
inc dword [eax]
push dword [esi]
call fcn.004860b0
mov edx, dword [esi + 4]
mov ebx, eax
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 4]
mov ecx, dword [edi + 0x14]
push ebx
mov ebx, dword [esp + 0x14]
add ecx, ebx
call fcn.0045c630
inc ebp
add ebx, 0x58
mov dword [esp + 0x10], ebx
cmp ebp, dword [edi + 0x34]
jl 0x45bed6
mov ebx, dword [esp + 0x20]
cmp dword [edi + 0x38], 0
mov dword [esp + 0x14], 0
jle 0x45c056
mov dword [esp + 0x10], 0
nop dword [eax + eax]
mov eax, dword [ebx + 0x6c]
test eax, eax
je 0x45bf81
mov ecx, dword [ebx + 0x64]
mov edx, dword [eax]
cmp ecx, edx
jge 0x45bf7c
mov ebp, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [ebx + 0x64], eax
jmp 0x45bfad
cmp edx, dword [ebx + 0x68]
jne 0x45bf91
mov eax, dword [ebx + 0x68]
lea ecx, [ebx + 0x60]
inc eax
push eax
call fcn.004251a0
mov eax, dword [ebx + 0x6c]
inc dword [eax]
push dword [ebx + 0x60]
call fcn.00486970
mov edx, dword [ebx + 0x64]
mov ebp, eax
mov ecx, dword [ebx + 0x6c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebp
inc dword [ebx + 0x64]
mov esi, dword [edi + 0x18]
add esi, dword [esp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [esi]
or dword [ebp + 8], 1
mov ecx, dword [ebp + 4]
and ecx, 0xfffffffe
test byte [ebp + 4], 1
je 0x45bfcd
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp + 0x10]
cmp edx, 0x575de8
jne 0x45bfe4
push eax
push ecx
lea ecx, [ebp + 0x10]
call fcn.004312e0
jmp 0x45bffe
cmp edx, eax
je 0x45bffe
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x45bff2
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp + 0x10]
push edx
call fcn.00404770
mov esi, dword [esi + 0x14]
call fcn.00499580
cmp esi, eax
je 0x45c03f
mov eax, dword [esp + 0x18]
mov esi, dword [eax + 0x14]
or dword [ebp + 8], 2
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x45c037
mov eax, dword [ebp + 4]
and eax, 0xfffffffe
test byte [ebp + 4], 1
je 0x45c02b
mov eax, dword [eax + 0xc]
push eax
call fcn.00486a60
add esp, 4
mov dword [ebp + 0x14], eax
push esi
mov ecx, eax
call fcn.0048e780
mov ecx, dword [esp + 0x14]
add dword [esp + 0x10], 0x18
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, dword [edi + 0x38]
jl 0x45bf60
xor ebp, ebp
cmp dword [edi + 0x3c], ebp
jle 0x45c0ce
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x45c086
mov ecx, dword [esi + 0x24]
mov edx, dword [eax]
cmp ecx, edx
jge 0x45c081
mov ebx, dword [eax + ecx*4 + 4]
lea eax, [ecx + 1]
mov dword [esi + 0x24], eax
jmp 0x45c0b2
cmp edx, dword [esi + 0x28]
jne 0x45c096
mov eax, dword [esi + 0x28]
lea ecx, [esi + 0x20]
inc eax
push eax
call fcn.004251a0
mov eax, dword [esi + 0x2c]
inc dword [eax]
push dword [esi + 0x20]
call fcn.004859b0
mov edx, dword [esi + 0x24]
mov ebx, eax
mov ecx, dword [esi + 0x2c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x24]
mov ecx, dword [edi + 0x1c]
push ebx
mov ebx, dword [esp + 0x18]
add ecx, ebx
call fcn.0045be70
inc ebp
add ebx, 0x58
mov dword [esp + 0x14], ebx
cmp ebp, dword [edi + 0x3c]
jl 0x45c065
xor ebp, ebp
cmp dword [edi + 0x40], ebp
jle 0x45c14c
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
nop dword [eax]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x45c101
mov edx, dword [esi + 0x34]
mov eax, dword [ecx]
cmp edx, eax
jge 0x45c0fc
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x34], eax
jmp 0x45c130
cmp eax, dword [esi + 0x38]
jne 0x45c113
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x30]
inc eax
push eax
call fcn.004251a0
mov ecx, dword [esi + 0x3c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x30]
call fcn.00485b20
mov edx, dword [esi + 0x34]
mov ebx, eax
mov ecx, dword [esi + 0x3c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x34]
mov ecx, dword [edi + 0x20]
push ebx
mov ebx, dword [esp + 0x18]
add ecx, ebx
call fcn.0045c3c0
inc ebp
add ebx, 0x30
mov dword [esp + 0x14], ebx
cmp ebp, dword [edi + 0x40]
jl 0x45c0e0
cmp dword [edi + 0x44], 0
mov dword [esp + 0x14], 0
jle 0x45c22c
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x10], 0
nop word [eax + eax]
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x45c191
mov edx, dword [ebx + 0x44]
mov eax, dword [ecx]
cmp edx, eax
jge 0x45c18c
mov esi, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [ebx + 0x44], eax
jmp 0x45c1c0
cmp eax, dword [ebx + 0x48]
jne 0x45c1a3
mov eax, dword [ebx + 0x48]
lea ecx, [ebx + 0x40]
inc eax
push eax
call fcn.004251a0
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [ebx + 0x40]
call fcn.004859c0
mov edx, dword [ebx + 0x44]
mov esi, eax
mov ecx, dword [ebx + 0x4c]
add esp, 4
mov dword [ecx + edx*4 + 4], esi
inc dword [ebx + 0x44]
mov ebp, dword [edi + 0x24]
add ebp, dword [esp + 0x10]
mov eax, dword [ebp]
or dword [esi + 8], 2
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 4]
or dword [esi + 8], 4
mov dword [esi + 0x18], eax
call fcn.004994e0
cmp dword [ebp + 8], eax
je 0x45c215
or dword [esi + 8], 1
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x45c20b
mov eax, dword [esi + 4]
and eax, 0xfffffffe
test byte [esi + 4], 1
je 0x45c1ff
mov eax, dword [eax + 0xc]
push eax
call fcn.00485fb0
add esp, 4
mov dword [esi + 0x10], eax
push dword [ebp + 8]
mov ecx, eax
call fcn.0048e780
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0xc
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x44]
jl 0x45c170
xor ebp, ebp
cmp dword [edi + 0x48], ebp
jle 0x45c2ac
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], ebp
nop dword [eax + eax]
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x45c261
mov edx, dword [esi + 0x54]
mov eax, dword [ecx]
cmp edx, eax
jge 0x45c25c
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x54], eax
jmp 0x45c290
cmp eax, dword [esi + 0x58]
jne 0x45c273
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x50]
inc eax
push eax
call fcn.004251a0
mov ecx, dword [esi + 0x5c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x50]
call fcn.004860b0
mov edx, dword [esi + 0x54]
mov ebx, eax
mov ecx, dword [esi + 0x5c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x54]
mov ecx, dword [edi + 0x28]
push ebx
mov ebx, dword [esp + 0x18]
add ecx, ebx
call fcn.0045c630
inc ebp
add ebx, 0x58
mov dword [esp + 0x14], ebx
cmp ebp, dword [edi + 0x48]
jl 0x45c240
xor ebp, ebp
cmp dword [edi + 0x4c], ebp
jle 0x45c328
mov esi, dword [esp + 0x20]
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x45c2d8
mov edx, dword [esi + 0x74]
mov eax, dword [ecx]
cmp edx, eax
jge 0x45c2d3
mov ebx, dword [ecx + edx*4 + 4]
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
jmp 0x45c307
cmp eax, dword [esi + 0x78]
jne 0x45c2ea
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x70]
inc eax
push eax
call fcn.004251a0
mov ecx, dword [esi + 0x7c]
mov eax, dword [ecx]
inc eax
mov dword [ecx], eax
push dword [esi + 0x70]
call fcn.00485ab0
mov edx, dword [esi + 0x74]
mov ebx, eax
mov ecx, dword [esi + 0x7c]
add esp, 4
mov dword [ecx + edx*4 + 4], ebx
inc dword [esi + 0x74]
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + ebp*8]
or dword [ebx + 8], 1
mov dword [ebx + 0x10], eax
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + ebp*8 + 4]
inc ebp
or dword [ebx + 8], 2
mov dword [ebx + 0x14], eax
cmp ebp, dword [edi + 0x4c]
jl 0x45c2b7
xor ebx, ebx
cmp dword [edi + 0x50], ebx
jle 0x45c363
mov ebp, dword [esp + 0x20]
mov eax, dword [edi + 0x30]
lea ecx, [ebp + 0x80]
mov esi, dword [eax + ebx*4]
call fcn.00424b10
cmp eax, esi
je 0x45c35d
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x45c352
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00404770
inc ebx
cmp ebx, dword [edi + 0x50]
jl 0x45c333
mov esi, dword [edi + 0x10]
call fcn.00499540
pop ebp
cmp esi, eax
je 0x45c3ab
mov ebx, dword [esp + 0x1c]
mov esi, dword [edi + 0x10]
or dword [ebx + 8], 2
mov eax, dword [ebx + 0x94]
test eax, eax
jne 0x45c3a3
mov eax, dword [ebx + 4]
and eax, 0xfffffffe
test byte [ebx + 4], 1
je 0x45c394
mov eax, dword [eax + 0xc]
push eax
call fcn.00486670
add esp, 4
mov dword [ebx + 0x94], eax
push esi
mov ecx, eax
call fcn.0048ea60
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4