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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1009c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xf000088]
mov dword [esp + 0x5c], edi
mov eax, dword [edi + 0x28]
mov dword [esp + 0xf000088], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0xf00008c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0xf000090], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0x505094], eax
inc dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.00407cb6
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x60]
push dword [esp + 0xf000088]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
call 0x60407f69
mov ecx, dword [edi + 0x3c]
lea eax, [esp + 0x60]
push eax
call 0x60409fe5
mov esi, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], esi
call fcn.00405a8c
xor ebx, ebx
test esi, esi
je 0x45d6c8
cmp byte [esi + 0x20], bl
je 0x95d589
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], ebx
mov dword [ecx + 0x5050f4], eax
push dword [esi + 0x10]
call 0x604071f0
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], 0x505001
mov dword [esp + 0x78], 0x491cc0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x505080], ebx
mov dword [esp + 0x505084], 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], 0x505047
mov dword [esp + 0x40], 0x505048
mov dword [esp + 0x48], 0xf000040
mov eax, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x14]
jl 0x45d1d1
cmp ecx, edx
jge 0x5095d2ec
mov byte [esp + 0xf], bl
cmp ecx, dword [eax + 0x14]
jge 0x8b9bd2a3
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 0x45d241
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + esi*4 + 4]
cmp word [eax + 8], 0x33
je 0x45d21b
mov ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x8b9bd53f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + esi*4]
cmp dword [eax], 0x24
jne 0x45d22a
mov byte [esp + 0xf], 1
jmp 0x45d233
cmp dword [eax], 0x1e
jne 0xf45d53f
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
je 0x45d1f9
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], 0x41
jne 0x45d283
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 0x45d268
inc ecx
jmp 0x45d256
cmp ax, word [esp + 0x40]
jne 0x45d274
dec ecx
js 0x45d27f
jmp 0x45d256
cmp ax, word [esp + 0x48]
jne 0x45d256
test ecx, ecx
jne 0x45d256
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x44], edx
jge 0x45d2a3
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 fcn.0046782c
jmp 0x45d2b8
lea ecx, [esp + 0x28]
call fcn.00409a48
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 0x505001
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x7c]
call 0xfca56c8a
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.0045668d
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 0xd45d1c0
lea ecx, [esp + 0xf000088]
call 0xd405a8c
lea ecx, [ebp + 0xc]
call fcn.00405a8c
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14