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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3714
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x6360e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x407ac1
cmp byte [edi + 0x5a], 0
je 0x407748
push 0
push 0x1ff
push 1
push 0x4f3504
call fcn.0041dff0
mov ecx, eax
call fcn.0041daa0
mov al, byte [edi + 0x59]
mov byte [esi + 0xec], al
cmp byte [0x6469a8], 0
je 0x407766
call fcn.0041ede0
mov byte [0x6469a8], 0
cmp dword [edi + 0x60], 0
je 0x40777a
lea eax, [edi + 0x5c]
mov ecx, section..data
push eax
call fcn.004017e0
mov dword [esi + 0x30], 1
mov ecx, 0xff002650
mov dword [esi + 0x44], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xc4], 0
mov eax, dword [edi + 0x98]
test eax, eax
cmovne ecx, eax
mov dword [esi + 0xd4], ecx
cmp dword [edi + 0xa0], 0
je 0x40785a
push 0x6469b4
lea eax, [edi + 0x9c]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404230
add esp, 0xc
lea ecx, [esi + 0x68]
mov dword [ebp - 4], 0
mov dword [ebp - 0x38], 0x4f3444
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
test ecx, ecx
je 0x40780c
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x30], 0
push dword [eax]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.00406160
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x407838
cmp byte [ebp - 0x30], 0
je 0x407838
push ebx
call fcn.0041e206
push 0xc
push ebx
call fcn.004bd789
add esp, 0xc
test dword [ebp - 0x24], 0x80000000
mov dword [ebp - 4], 2
jne 0x407853
push dword [ebp - 0x2c]
call fcn.00401240
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov al, byte [edi + 0x5b]
mov byte [0x6469a9], al
mov al, byte [edi + 0xb9]
mov byte [0x6469aa], al
mov eax, dword [edi + 0x54]
test eax, eax
jne 0x407880
mov dword [esi + 0x98], 0x63
jmp 0x407887
dec eax
mov dword [esi + 0x98], eax
cmp dword [edi + 4], 0
je 0x4078e3
lea eax, [esi + 0x4c]
mov dword [ebp - 0x38], 0x4f3444
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
test eax, eax
je 0x4078ad
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
push dword [edi]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.00406160
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4078e3
cmp byte [ebp - 0x30], 0
je 0x4078e3
push ebx
call fcn.0041e206
push 0xc
push ebx
call fcn.004bd789
add esp, 0xc
cmp dword [edi + 0x20], 0
je 0x407943
lea eax, [esi + 0x8c]
mov dword [ebp - 0x38], 0x4f3444
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
test eax, eax
je 0x40790c
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
push dword [edi + 0x1c]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 4
call fcn.00406160
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x407943
cmp byte [ebp - 0x30], 0
je 0x407943
push ebx
call fcn.0041e206
push 0xc
push ebx
call fcn.004bd789
add esp, 0xc
cmp dword [edi + 0x3c], 0
je 0x4079a3
lea eax, [esi + 0x80]
mov dword [ebp - 0x38], 0x4f3444
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
test eax, eax
je 0x40796c
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
push dword [edi + 0x38]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 5
call fcn.00406160
mov ebx, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4079a3
cmp byte [ebp - 0x30], 0
je 0x4079a3
push ebx
call fcn.0041e206
push 0xc
push ebx
call fcn.004bd789
add esp, 0xc
mov ecx, dword [0x6469e0]
test ecx, ecx
je 0x4079db
lea eax, [edi + 0x38]
mov dword [ebp - 0x3c], 0
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [edx + 4]
mov ecx, dword [0x6469e0]
lea eax, [edi + 0x1c]
mov dword [ebp - 0x3c], 1
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0
push ecx
mov eax, esp
lea ecx, [esi + 4]
mov dword [ebp - 0x3c], eax
mov dword [eax], esi
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
lea eax, [esi + 0x24]
push eax
lea eax, [esi + 0x18]
push eax
call fcn.0041eb10
movzx ecx, byte [0x6469a8]
test al, al
mov edx, 1
cmovne ecx, edx
add esp, 0xc
mov eax, esp
mov byte [0x6469a8], cl
mov dword [ebp - 0x3c], eax
mov dword [eax], 0
lea eax, [ebp - 0x40]
push eax
call fcn.0041ffb0
add esp, 8
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 6
test esi, esi
je 0x407aa6
cmp dword [edi + 0x7c], 0
push ecx
mov eax, esp
mov dword [ebp - 0x44], eax
mov dword [eax], 0
je 0x407a78
mov dword [ebp - 0x3c], esp
push dword [edi + 0x78]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.00402450
mov byte [ebp - 4], 8
mov edx, dword [esi]
mov ecx, esi
push 0
push eax
mov byte [ebp - 4], 9
call dword [edx + 0x14]
jmp 0x407a9b
mov dword [ebp - 0x38], 0x4f3444
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push 0
push ecx
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [eax + 0x14]
lea ecx, [ebp - 0x38]
call fcn.00402760
mov esi, dword [ebp - 0x40]
mov dword [ebp - 4], 0xb
test esi, esi
je 0x407ac1
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
add ecx, 4
add ecx, esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd797
mov esp, ebp
pop ebp
ret 4