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

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x18
push ebx
mov ebx, dword [eax]
mov eax, dword [0x51d0fc]
push ebp
push esi
xor esi, esi
cmp eax, esi
je 0x45203b
mov eax, dword [0x51d0d0]
mov ebp, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
jmp 0x452045
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov ebp, esi
push edi
call fcn.0044a930
test al, al
je 0x452238
cmp dword [0x51d0fc], esi
je 0x452077
mov edx, dword [0x51d0d0]
mov eax, dword [edx + 0xc]
cmp eax, esi
je 0x452077
mov ecx, dword [0x51d0d4]
cmp eax, dword [ecx + 0xc]
je 0x452238
mov al, byte [ebx + 5]
test al, al
jne 0x452238
mov edx, dword [ebx + 0xc4]
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebx + 0xcc]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0xd0]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x24], edx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [ebx + 0xe0]
lea eax, [esp + 0x20]
push edx
mov edx, dword [ebx + 0xdc]
push eax
push ecx
push edx
call fcn.00450d10
mov eax, dword [esp + 0x30]
add esp, 0x18
cmp eax, ebp
jg 0x452238
cmp dword [esp + 0x1c], ebp
jl 0x452238
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jg 0x452238
cmp dword [esp + 0x24], eax
jl 0x452238
mov eax, dword [ebx + 0x78]
mov edi, dword [ebx + 0x7c]
xor esi, esi
test eax, eax
jbe 0x452183
mov eax, dword [ebx + esi*4 + 0x80]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
call fcn.00450d10
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp eax, ebp
jg 0x45217b
cmp dword [esp + 0x20], ebp
jl 0x45217b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg 0x45217b
cmp dword [esp + 0x18], eax
jl 0x45217b
mov edi, esi
mov esi, dword [ebx + 0x78]
mov eax, dword [ebx + 0x78]
inc esi
cmp esi, eax
jb 0x452110
cmp edi, dword [ebx + 0x7c]
je 0x45219b
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.00451900
add esp, 8
jmp 0x452238
mov esi, dword [ebx + 0xc0]
xor edi, edi
mov eax, dword [esi + 0x40]
mov ebp, dword [esi + 0x44]
test eax, eax
jbe 0x452221
mov eax, dword [esi + edi*4 + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
push edx
call fcn.00450d10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
add esp, 0x18
cmp ecx, eax
jg 0x452219
cmp dword [esp + 0x20], eax
jl 0x452219
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg 0x452219
cmp dword [esp + 0x18], eax
jl 0x452219
mov ebp, edi
mov edi, dword [esi + 0x40]
mov eax, dword [esi + 0x40]
inc edi
cmp edi, eax
jb 0x4521ad
cmp ebp, dword [esi + 0x44]
je 0x452234
mov eax, dword [esp + 0x2c]
push ebp
push eax
call fcn.004519d0
add esp, 8
mov ebp, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc0]
mov eax, dword [ecx + 0xc8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x20], edx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ecx
push edx
lea ecx, [esp + 0x24]
lea edx, [esp + 0x20]
push ecx
push edx
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
lea ecx, [esp + 0x30]
push ecx
push edx
push eax
call fcn.00450d10
mov eax, dword [esp + 0x3c]
add esp, 0x18
cmp eax, ebp
jg 0x4522a3
cmp dword [esp + 0x20], ebp
jl 0x4522a3
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, eax
jg 0x4522a3
cmp dword [esp + 0x18], eax
jge 0x4522ae
mov al, byte [ebx + 5]
test al, al
je 0x452348
mov eax, dword [0x51d0fc]
mov esi, dword [0x51d0f0]
xor edi, edi
test eax, eax
mov eax, dword [0x51d0d0]
je 0x4522de
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4522d2
mov edi, 0x103
jmp 0x4522de
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4522de
mov edi, 0x104
mov ecx, dword [esp + 0x2c]
test esi, esi
mov eax, dword [ecx]
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0x7c]
mov edx, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0x44]
jne 0x4522fe
test edi, edi
je 0x452348
mov edx, dword [edx + 0x24]
mov ebp, edx
and ebp, 0x800
cmp ebp, 0x800
jne 0x452315
test esi, esi
je 0x45233a
and edx, 0x400
cmp edx, 0x400
jne 0x45233a
mov edx, dword [esp + 0x2c]
push 2
push 0
push 0
push ecx
push eax
push edx
push 2
call fcn.00451390
add esp, 0x1c
mov eax, dword [esp + 0x2c]
push edi
push eax
call fcn.00452370
add esp, 8
mov eax, dword [0x51d0fc]
pop edi
test eax, eax
je 0x45235f
mov ecx, dword [0x51d0d0]
mov eax, dword [ecx + 0xc]
test eax, eax
jne 0x452363
mov byte [ebx + 5], 0
pop esi
pop ebp
pop ebx
add esp, 0x18
ret