Function at 0x45fbf0
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 + 0xc84]
mov dword [edi + 0xc88], esi
cmp ebp, esi
mov dword [edi + 0xc84], esi
je 0x45ff83
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 0x45ff59
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x45ff59
mov ecx, dword [str.asfunction:]
push ecx
push eax
call fcn.0041c1a0
add esp, 8
cmp eax, esi
je 0x45fd78
push eax
mov dword [esp + 0x18], esi
call fcn.0041c3f0
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x45ff59
push 0x2c
push ebx
call fcn.0041c4b0
mov esi, eax
xor eax, eax
add esp, 8
cmp esi, eax
je 0x45fd10
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.004698d0
inc esi
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.00454cd0
mov ecx, edi
call fcn.00461400
test eax, eax
je 0x45fce0
mov eax, dword [edi + 0xc90]
mov ecx, dword [edi + 0xc8c]
shl eax, 4
lea edx, [esp + 0x24]
push edx
lea ecx, [eax + ecx - 0x10]
call fcn.00454fb0
lea ecx, [esp + 0x24]
call fcn.00454b70
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x45fd10
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 0x45fd10
call fcn.00456510
mov ecx, dword [ebp + 0x20]
xor esi, esi
xor eax, eax
test ecx, ecx
je 0x45fd28
push eax
call fcn.00455af0
test eax, eax
je 0x45fd28
mov esi, dword [eax + 0x18]
push eax
push edi
lea ecx, [esp + 0x78]
call fcn.0043e930
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.00463850
test eax, eax
je 0x45fd58
push 1
mov ecx, edi
call fcn.00439b30
mov ecx, edi
call fcn.00461550
push ebx
mov ecx, 0x4de568
call fcn.0041e9a0
lea ecx, [esp + 0x70]
call fcn.0043ea40
jmp 0x45ff65
mov eax, dword [ebp + 8]
cmp eax, esi
jne 0x45fd88
cmp dword [ebp + 0x1c], esi
je 0x45ff59
mov ebx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
and ebx, 0x80
test ecx, ecx
mov dword [esp + 0x14], ebx
je 0x45fda7
push 1
call fcn.00455eb0
mov esi, eax
jmp 0x45fde9
push eax
lea ecx, [esp + 0x68]
call fcn.0041b920
lea ecx, [esp + 0x64]
push 0
push ecx
push 0
mov ecx, edi
call fcn.00459a60
mov edx, dword [esp + 0x64]
mov ecx, 0x4de568
push edx
mov ebx, eax
call fcn.0041e9a0
test ebx, ebx
je 0x45fde5
push 1
lea ecx, [ebx + 0x110]
call fcn.00455eb0
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.0046fa50
mov ecx, edi
call fcn.004698d0
cmp eax, 5
jle 0x45fe93
mov eax, dword [edi + 0x1104]
test eax, eax
je 0x45fe93
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 0x45fe53
push eax
lea ecx, [esp + 0x38]
call fcn.0046fab0
mov edx, dword [esp + 0x98]
mov ecx, 0x4de568
push edx
call fcn.0041e9a0
mov eax, dword [esp + 0x8c]
mov ecx, 0x4de568
push eax
call fcn.0041e9a0
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, 0x4de568
call fcn.0041e9a0
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
jmp 0x45fe9a
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
test esi, esi
je 0x45febb
mov ecx, dword [esp + 0x14]
cmp byte [ecx], 0
je 0x45febb
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x45febb
cmp dword [eax + 0x28], 5
jne 0x45febb
cmp dword [esp + 0x5c], 2
je 0x45ff1c
test ebx, ebx
je 0x45fece
test esi, esi
jne 0x45ff8f
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x45ff1c
test esi, esi
jne 0x45ff03
mov esi, dword [ebp + 0x28]
test esi, esi
jne 0x45ff03
mov ecx, edi
call fcn.004698d0
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.0043e520
mov esi, eax
test ebx, ebx
setne al
push esi
push eax
push ebp
push edi
call fcn.0045f9a0
add esp, 0x10
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x4c]
push ecx
mov ecx, 0x4de568
call fcn.0041e9a0
mov edx, dword [esp + 0x40]
mov ecx, 0x4de568
push edx
call fcn.0041e9a0
mov eax, dword [esp + 0x34]
mov ecx, 0x4de568
push eax
call fcn.0041e9a0
mov al, byte [esp + 0x13]
test al, al
jne 0x45ff74
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x45ff65
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x45ff65
call fcn.00452e60
push ebp
call fcn.00469860
push ebp
call fcn.0041eda0
add esp, 8
mov ebp, dword [esp + 0x1c]
xor esi, esi
cmp ebp, esi
jne 0x45fc18
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xa0
ret 4
mov ecx, esi
call fcn.0043dbb0
neg al
sbb eax, eax
push 0x5c
add eax, 2
mov ebx, eax
call fcn.0041ed90
add esp, 4
test eax, eax
je 0x45ffc8
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
push ebx
push ecx
push edx
push ecx
push edx
push 0x45fa50
push esi
push edi
mov ecx, eax
call fcn.0043dc50
jmp 0x45ffca
xor eax, eax
mov dword [eax + 0x4c], ebp
mov edx, dword [edi + 0x1108]
push eax
mov ecx, dword [edx + 0xc]
call fcn.0045d2b0
mov byte [esp + 0x13], 1
jmp 0x45ff1c