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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov eax, dword [0x503d7c]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], ecx
call dword [0x503cdc]
test eax, eax
jne 0x407908
mov esi, 0x4c733c
mov dword [esp + 0x24], 1
xor edi, edi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], edi
mov byte [esp + 0x2c], 1
call dword [0x503c98]
push edi
push eax
push 8
push 0x4cdae0
call dword [0x503c9c]
test eax, eax
je 0x40766d
push 0x235cc5d1
call dword [0x503cf4]
mov dword [esp + 0x20], esi
jmp 0x4078fe
push 0x4c3228
push edi
call dword [0x4c2370]
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x40768a
push 0x235cc5d0
jmp 0x40765e
mov eax, dword [ebp + 8]
push eax
push 0x4c7284
lea eax, [esp + 0xa8]
push 0xffffffffffffffff
push eax
call fcn.00407953
add esp, 0x10
call dword [0x503ca0]
movzx esi, word [eax + 2]
movzx edx, word [eax]
movzx ecx, word [eax + 6]
movzx eax, word [eax + 4]
push eax
push ecx
push edx
push esi
push 0x4c728c
lea eax, [esp + 0xcc]
push 0xffffffffffffffff
push eax
call fcn.00407984
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x94]
add esp, 0x1c
xor eax, eax
mov word [esp + 0x78], ax
call fcn.004079b5
xor eax, eax
mov word [esp + 0x84], ax
mov eax, dword [ebp + 0x10]
push eax
push 0x4c72a8
lea eax, [esp + 0x8c]
push 0xffffffffffffffff
push eax
call fcn.00407a04
mov eax, dword [esp + 0x1c]
add esp, 0x10
mov ecx, dword [0x503cf4]
mov edx, dword [0x503d08]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], edx
test eax, eax
jne 0x407735
push 0x235cc5cf
call ecx
jmp 0x40779c
mov ecx, eax
call fcn.00402900
push 0
lea esi, [eax + 2]
lea edx, [esi + esi]
push edx
call dword [esp + 0x18]
mov edi, eax
test edi, edi
je 0x40779c
mov ecx, dword [esp + 0xc]
mov edx, edi
push esi
call fcn.004028c4
add esi, 0xfffffffd
call dword [0x503d0c]
cmp eax, 2
jne 0x40778d
test esi, esi
jle 0x40778d
push 0xd
pop ecx
push 0xa
pop eax
cmp word [edi + esi*2], cx
jne 0x407790
cmp word [edi + esi*2 - 2], ax
jne 0x407790
mov word [edi + esi*2], ax
xor eax, eax
mov word [edi + esi*2 - 2], cx
jmp 0x407790
push 0xa
pop eax
mov word [edi + esi*2 + 2], ax
xor eax, eax
mov word [edi + esi*2 + 4], ax
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jne 0x4077b1
push 0x235cc5ce
call dword [esp + 0x20]
jmp 0x4077ea
mov ecx, eax
call fcn.00402900
push 0
lea ebx, [eax + 2]
lea eax, [ebx + ebx]
push eax
call dword [esp + 0x18]
mov esi, eax
test esi, esi
je 0x4077e6
mov ecx, dword [esp + 0x14]
mov edx, esi
push ebx
call fcn.004028c4
push 0xa
pop eax
mov word [esi + ebx*2 - 4], ax
xor eax, eax
mov word [esi + ebx*2 - 2], ax
mov ebx, dword [esp + 0x18]
test edi, edi
lea edx, [esp + 0x78]
mov eax, 0x4c72b4
mov ecx, 0x4c72f8
cmovne eax, edi
test esi, esi
mov dword [esp + 0x60], eax
mov eax, 0x4c72d8
cmovne eax, esi
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x64], eax
lea eax, [esp + 0xa0]
mov dword [esp + 0x68], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x6c], eax
mov eax, ecx
cmovne eax, edx
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x70], eax
lea eax, [esp + 0x84]
cmovne ecx, eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x78], ecx
call dword [0x503c94]
mov eax, dword [ebp + 8]
and dword [esp + 0x54], 0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x48], 0x4c330c
mov dword [esp + 0x4c], 0x4c72fc
mov word [esp + 0x58], ax
test ecx, ecx
je 0x407880
mov eax, dword [ecx]
call dword [eax]
jmp 0x407882
xor eax, eax
mov dword [esp + 0x40], eax
xor eax, eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], 0x4c7328
push eax
push ecx
push ecx
mov dword [esp + 0x4c], 0x4c730c
call fcn.00407a35
xor ecx, ecx
lea eax, [esp + 0x60]
push ecx
push eax
push ecx
push 6
push ecx
push 0x12c
push ecx
push 4
push ebx
call dword [0x4c236c]
test eax, eax
jne 0x4078d6
push 0x235cc5cd
call dword [esp + 0x20]
push ebx
call dword [0x4c2368]
push esi
mov esi, dword [0x503d04]
call esi
push edi
call esi
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4078f6
call fcn.00407bc7
mov dword [esp + 0x20], 0x4c733c
lea ecx, [esp + 0x20]
call dword [0x503ca4]
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b7acb
mov esp, ebp
pop ebp
ret 0x10