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

Disassembly:
sub esp, 0xa0
push ebp
push esi
push edi
mov edi, ecx
xor esi, esi
mov ebp, dword [edi + 0xc80]
mov dword [edi + 0xc84], esi
cmp ebp, esi
mov dword [edi + 0xc80], esi
je 0x45e5b3
push ebx
mov eax, dword [ebp]
mov dword [ebp], esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb4]
cmp eax, esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x13], 0
jne 0x45e589
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x45e589
mov ecx, dword [str.asfunction:]
push ecx
push eax
call fcn.0041c040
add esp, 8
cmp eax, esi
je 0x45e3a8
push eax
mov dword [esp + 0x18], esi
call fcn.0041c290
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x45e589
push 0x2c
push ebx
call fcn.0041c350
mov esi, eax
xor eax, eax
add esp, 8
cmp esi, eax
je 0x45e340
mov ecx, edi
mov dword [esp + 0x14], 1
mov byte [esi], al
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 6
mov dword [esp + 0x28], eax
call fcn.00467ee0
inc esi
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004543d0
mov ecx, edi
call fcn.0045fa10
test eax, eax
je 0x45e310
mov eax, dword [edi + 0xc8c]
mov ecx, dword [edi + 0xc88]
shl eax, 4
lea edx, [esp + 0x24]
push edx
lea ecx, [eax + ecx - 0x10]
call fcn.004546b0
lea ecx, [esp + 0x24]
call fcn.00454270
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x45e340
mov eax, dword [ecx]
mov edx, eax
and edx, 0xfffffffe
not eax
dec edx
and eax, 1
xor edx, eax
mov dword [ecx], edx
mov eax, dword [ecx]
test eax, 0xfffffffe
jg 0x45e340
call fcn.00455c10
mov ecx, dword [ebp + 0x20]
xor esi, esi
xor eax, eax
test ecx, ecx
je 0x45e358
push eax
call fcn.004551f0
test eax, eax
je 0x45e358
mov esi, dword [eax + 0x18]
push eax
push edi
lea ecx, [esp + 0x78]
call fcn.0043e630
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
push 0
push eax
push ebx
push esi
push 0
mov ecx, edi
call fcn.00461e70
test eax, eax
je 0x45e388
push 1
mov ecx, edi
call fcn.00439830
mov ecx, edi
call fcn.0045fb60
push ebx
mov ecx, 0x4da3e8
call fcn.0041e810
lea ecx, [esp + 0x70]
call fcn.0043e740
jmp 0x45e595
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x45e3b8
cmp dword [ebp + 0x1c], esi
je 0x45e589
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
and ebx, 0x80
test ecx, ecx
mov dword [esp + 0x14], ebx
je 0x45e3d7
push 1
call fcn.004555b0
mov esi, eax
jmp 0x45e419
push eax
lea ecx, [esp + 0x68]
call fcn.0041b7c0
lea ecx, [esp + 0x64]
push 0
push ecx
push 0
mov ecx, edi
call fcn.00459160
mov edx, dword [esp + 0x64]
mov ecx, 0x4da3e8
push edx
mov ebx, eax
call fcn.0041e810
test ebx, ebx
je 0x45e415
push 1
lea ecx, [ebx + 0x110]
call fcn.004555b0
mov esi, eax
mov ebx, dword [esp + 0x14]
xor eax, eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.0046e060
mov ecx, edi
call fcn.00467ee0
cmp eax, 5
jle 0x45e4c3
mov eax, dword [edi + 0x1104]
test eax, eax
je 0x45e4c3
mov ecx, dword [ebp + 4]
mov eax, dword [edi]
lea edx, [esp + 0x80]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x70]
lea ecx, [esp + 0x34]
cmp ecx, eax
je 0x45e483
push eax
lea ecx, [esp + 0x38]
call fcn.0046e0c0
mov edx, dword [esp + 0x98]
mov ecx, 0x4da3e8
push edx
call fcn.0041e810
mov eax, dword [esp + 0x8c]
mov ecx, 0x4da3e8
push eax
call fcn.0041e810
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, 0x4da3e8
call fcn.0041e810
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
jmp 0x45e4ca
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
test esi, esi
je 0x45e4eb
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
je 0x45e4eb
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x45e4eb
cmp dword [eax + 0x28], 5
jne 0x45e4eb
cmp dword [esp + 0x5c], 2
je 0x45e54c
test ebx, ebx
je 0x45e4fe
test esi, esi
jne 0x45e5bf
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x45e54c
test esi, esi
jne 0x45e533
mov esi, dword [ebp + 0x28]
test esi, esi
jne 0x45e533
mov ecx, edi
call fcn.00467ee0
cmp eax, 7
lea edx, [edi + 0x210]
setge al
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x20]
push ecx
push edx
lea ecx, [edi + 0xde8]
call fcn.0043e220
mov esi, eax
test ebx, ebx
setne al
push esi
push eax
push ebp
push edi
call fcn.0045dfb0
add esp, 0x10
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, 0x4da3e8
call fcn.0041e810
mov edx, dword [esp + 0x40]
mov ecx, 0x4da3e8
push edx
call fcn.0041e810
mov eax, dword [esp + 0x34]
mov ecx, 0x4da3e8
push eax
call fcn.0041e810
mov al, byte [esp + 0x13]
test al, al
jne 0x45e5a4
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45e595
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45e595
call fcn.00452560
push ebp
call fcn.00467e70
push ebp
call fcn.0041ec10
add esp, 8
mov ebp, dword [esp + 0x1c]
xor esi, esi
cmp ebp, esi
jne 0x45e248
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xa0
ret 4
mov ecx, esi
call fcn.0043d8b0
neg al
sbb eax, eax
push 0x5c
add eax, 2
mov ebx, eax
call fcn.0041ec00
add esp, 4
test eax, eax
je 0x45e5f8
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push ebx
push ecx
push edx
push ecx
push edx
push 0x45e060
push esi
push edi
mov ecx, eax
call fcn.0043d950
jmp 0x45e5fa
xor eax, eax
mov dword [eax + 0x4c], ebp
mov edx, dword [edi + 0x1108]
push eax
mov ecx, dword [edx + 0xc]
call fcn.0045c9b0
mov byte [esp + 0x13], 1
jmp 0x45e54c