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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x5c], edi
mov eax, dword [edi + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x8c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0xecec94], eax
inc dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.00407b3e
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x60]
push dword [esp + 0x88]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
call fcn.00407df1
mov ecx, dword [edi + 0x3c]
lea eax, [esp + 0x60]
push eax
call fcn.00409e6d
mov esi, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], esi
call fcn.00405914
xor ebx, ebx
test esi, esi
je 0x45d1bf
cmp byte [esi + 0x20], bl
je 0x131d080
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], ebx
mov dword [ecx + 0xececf4], eax
push dword [esi + 0x10]
call fcn.00407078
mov edx, dword [esp + 0x14]
mov ecx, edx
shl ecx, 4
mov dword [esp + 0x10], eax
mov eax, ebx
push 4
mov dword [esp + 0x20], ecx
mov ecx, ebx
mov dword [esp + 0x64], 0x48fb84
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
pop esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], 0xecec01
mov dword [esp + 0x78], 0x491cc0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xecec80], ebx
mov dword [esp + 0xecec84], ebx
mov dword [esp + 0x4c], 0x48f968
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x74], 0xecec47
mov dword [esp + 0x40], 0xecec48
mov dword [esp + 0x48], 0x40
mov eax, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x14]
jl 0x45ccc8
cmp ecx, edx
jge 0xed31cde3
mov byte [esp + 0xf], bl
cmp ecx, dword [eax + 0x14]
jge 0xec45cd9a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
jne 0x45cd38
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + esi*4 + 4]
cmp word [eax + 8], 0x33
je 0x45cd12
mov ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0xec45d036
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + esi*4]
cmp dword [eax], 0x24
jne 0x45cd21
mov byte [esp + 0xf], 1
jmp 0x45cd2a
cmp dword [eax], 0x1e
jne 0x45d036
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
je 0x45ccf0
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], 0x41
jne 0x45cd7a
mov edi, dword [esp + 0x24]
mov ecx, ebx
inc esi
mov eax, dword [edi + esi*4]
movzx eax, word [eax + 8]
cmp ax, word [esp + 0x74]
jne 0x45cd5f
inc ecx
jmp 0x45cd4d
cmp ax, word [esp + 0x40]
jne 0x45cd6b
dec ecx
js 0x45cd76
jmp 0x45cd4d
cmp ax, word [esp + 0x48]
jne 0x45cd4d
test ecx, ecx
jne 0x45cd4d
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x44], edx
jge 0x45cd9a
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
mov eax, dword [eax]
add eax, ecx
lea ecx, [esp + 0x28]
push eax
call 0x1327572
jmp 0x45cdaf
lea ecx, [esp + 0x28]
call fcn.004098d0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 0xecec01
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x7c]
call fcn.004566fc
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.004560ff
mov ecx, dword [esp + 0x44]
sub dword [esp + 0x1c], 0x10
inc ecx
mov edx, dword [esp + 0x14]
inc esi
mov dword [esp + 0x44], ecx
jmp 0x45ccb7
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi*4]
movsx eax, word [eax + 0xa]
push eax
push 0xecec91
call 0x1329e5a
lea ecx, [esp + 0x4c]
call fcn.00404024
lea ecx, [esp + 0x78]
call fcn.0042087f
lea ecx, [esp + 0x28]
call fcn.004098d0
lea ecx, [esp + 0x60]
call fcn.0045618e
mov ebx, 0x80004005
jmp 0x45d1bf
lea ecx, [esp + 0x88]
call fcn.00405914
lea ecx, [ebp + 0xc]
call fcn.00405914
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14