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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4d8b009c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x4000088]
mov dword [esp + 0x5c], edi
mov eax, dword [edi + 0x28]
mov dword [esp + 0x4000088], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x400008c], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x4000090], eax
mov eax, dword [edi + 0x34]
mov dword [esp + 0xf0f94], eax
inc dword [eax]
lea eax, [ebp + 0xc]
push eax
call fcn.00407cc7
mov ecx, dword [ebp + 8]
lea ecx, [esp + 0x60]
push dword [esp + 0x4000088]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
call 0xc2407f7a
mov ecx, dword [edi + 0x3c]
lea eax, [esp + 0x60]
push eax
call 0xc2409ff6
mov esi, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x3c], esi
call fcn.00405a9d
xor ebx, ebx
test esi, esi
je 0x45d6d9
cmp byte [esi + 0x20], bl
je 0x54d59a
mov ecx, dword [edi + 0x3c]
mov eax, dword [esi + 0x10]
mov dword [esp + 0x44], ebx
mov dword [ecx + 0xf0ff4], eax
push dword [esi + 0x10]
call 0xc2407201
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], 0xf0f01
mov dword [esp + 0x78], 0x491cc0
mov dword [esp + 0x7c], ebx
mov dword [esp + 0xf0f80], ebx
mov dword [esp + 0xf0f84], 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], 0xf0f47
mov dword [esp + 0x40], 0xf0f48
mov dword [esp + 0x48], 0x4000040
mov eax, dword [esp + 0x3c]
cmp ecx, dword [eax + 0x14]
jl 0x45d1e2
cmp ecx, edx
jge 0xf54d2fd
mov byte [esp + 0xf], bl
cmp ecx, dword [eax + 0x14]
jge 0xca2256b4
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 0x45d252
mov ecx, dword [ecx + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + esi*4 + 4]
cmp word [eax + 8], 0x33
je 0x45d22c
mov ecx, eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0xca21d550
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + esi*4]
cmp dword [eax], 0x24
jne 0x45d23b
mov byte [esp + 0xf], 1
jmp 0x45d244
cmp dword [eax], 0x1e
jne 0x445d550
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], bx
je 0x45d20a
mov eax, dword [esp + 0x24]
inc esi
mov eax, dword [eax + esi*4]
cmp word [eax + 8], 0x41
jne 0x45d294
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 0x45d279
inc ecx
jmp 0x45d267
cmp ax, word [esp + 0x40]
jne 0x45d285
dec ecx
js 0x45d290
jmp 0x45d267
cmp ax, word [esp + 0x48]
jne 0x45d267
test ecx, ecx
jne 0x45d267
mov edi, dword [esp + 0x5c]
cmp dword [esp + 0x44], edx
jge 0x45d2b4
mov ecx, 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.0046783d
jmp 0x45d2c9
lea ecx, [esp + 0x28]
call fcn.00409a59
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], 0xf0f01
lea eax, [esp + 0xf]
push eax
lea ecx, [esp + 0x7c]
call 0xb7466c9b
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call int.0045669e
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 0xd208d1d1
lea ecx, [esp + 0x4000088]
call 0xd2405a9d
lea ecx, [ebp + 0xc]
call fcn.00405a9d
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0x14