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

Disassembly:
jmp 0x4d74d0
sub esp, 0xd4
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
mov ebx, dword [esp + 0xdc]
mov eax, ecx
push esi
push edi
mov edi, dword [esp + 0xe8]
lea ecx, [esp + 0x4c]
push edi
push ecx
mov ecx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], 0
call fcn.00405ebb
mov esi, dword [esp + 0x54]
cmp byte [esi + 0xd], 0
jne 0x4d7545
lea eax, [esi + 0x10]
push eax
push edi
call fcn.004152df
add esp, 8
test al, al
jne 0x4d7545
mov eax, dword [esp + 0xc]
cmp esi, dword [eax]
je 0x4d7545
mov ecx, dword [esi + 0x28]
and byte [ebx + 4], 0xfe
mov dword [ebx], ecx
jmp 0x4d79d4
push edi
lea ecx, [esp + 0x98]
call fcn.0040c00e
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x7c]
add eax, 0x30
push eax
call fcn.0040c00e
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x4d756d
mov ecx, dword [edi]
lea eax, [edi + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
test eax, eax
je 0x4d7675
or esi, 0xffffffff
dec eax
cmp eax, esi
cmovb esi, eax
add esi, ecx
cmp byte [esi], 0x3a
je 0x4d759e
nop
cmp esi, ecx
je 0x4d7675
dec esi
cmp byte [esi], 0x3a
jne 0x4d7590
sub esi, ecx
cmp esi, 0xffffffff
je 0x4d7675
push 0xffffffffffffffff
lea eax, [esi + 1]
mov ecx, edi
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004107c1
lea eax, [esp + 0x64]
mov word [esp + 0x54], 0x104
mov dword [esp + 0x4c], eax
lea ecx, [esp + 0xac]
lea eax, [esp + 0x4c]
push eax
call fcn.00407009
mov edx, dword [esp + 0xc0]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], eax
cmp edx, 0x10
jb 0x4d7624
mov ecx, dword [esp + 0xac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d7616
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4d7616
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004036ca
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x4d766c
push esi
push 0
lea eax, [esp + 0x54]
mov ecx, edi
push eax
call fcn.004107c1
push eax
lea ecx, [esp + 0x98]
call fcn.0040f87b
lea ecx, [esp + 0x4c]
call fcn.0040aeed
cmp dword [esp + 0x78], 0x10
lea eax, [esp + 0x64]
push dword [esp + 0x74]
cmovae eax, dword [esp + 0x68]
lea ecx, [esp + 0x80]
push eax
call fcn.00408698
lea ecx, [esp + 0x64]
call fcn.0040aeed
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0041389a
mov al, byte [esp + 0x2c]
not al
test al, 1
jne 0x4d7701
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x48]
mov dword [esp + 0x18], 0
push eax
call fcn.0040d33c
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4d76c4
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x2c], 1
je 0x4d76d7
mov esi, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x24], edx
jmp 0x4d76dd
mov edx, dword [esp + 0x24]
xor esi, esi
or byte [ebx + 4], 1
xor ecx, ecx
test byte [esp + 0x2c], 1
mov dword [ebx], esi
je 0x4d79bf
test edx, edx
je 0x4d79bf
mov eax, dword [edx]
mov ecx, edx
jmp 0x4d79bb
mov ecx, dword [esp + 0x24]
xor edx, edx
mov ebx, dword [esp + 0x28]
xor esi, esi
mov eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], ebx
cmp dword [ecx + 4], 9
cmovne eax, edx
mov dword [esp + 0x30], eax
test eax, eax
je 0x4d78d6
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], edx
push ecx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], edx
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00401a0f
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x4d78c4
cmp dword [esp + 0x48], esi
je 0x4d78d6
cmp dword [esp + 0x44], esi
je 0x4d78d6
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], esi
xor ebx, ebx
mov esi, dword [esp + 0xc]
push eax
cmp byte [esi + 0x2c], bl
setne bl
call fcn.0040ceaa
lea ecx, [esp + 0x18]
push ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.0040a272
add esp, 0x14
cmp dword [esp + 0x20], 0
je 0x4d787e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
push edi
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.0040d33c
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4d77d1
mov eax, dword [ecx]
push 1
call dword [eax]
push ecx
mov ecx, esp
mov byte [esp + 0x3c], 0
push dword [esp + 0x3c]
lea eax, [esp + 0x48]
mov word [esp + 0x5c], 0x105
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [ecx], eax
lea eax, [esp + 0x54]
mov byte [esp + 0x3c], 0
push dword [esp + 0x3c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004111a8
mov esi, dword [esp + 0x50]
add esp, 0x14
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
or byte [esi + 4], 1
mov dword [esi], eax
test ecx, ecx
je 0x4d7831
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4d783f
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4d784d
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [esp + 0x2c], 1
je 0x4d7862
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d7862
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x7c]
call fcn.0040aeed
lea ecx, [esp + 0x94]
call fcn.0040aeed
mov eax, esi
jmp 0x4d79d6
push 0xc
call fcn.00405e93
add esp, 4
test eax, eax
je 0x4d78ac
push ecx
mov ecx, dword [esp + 0x1c]
mov edx, esp
push dword [esp + 0x34]
mov dword [esp + 0x20], 0
mov dword [edx], ecx
mov ecx, eax
call fcn.0040ba7d
mov esi, eax
jmp 0x4d78ae
xor esi, esi
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4d78bc
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4d78ca
mov eax, dword [ecx]
push 1
call dword [eax]
test esi, esi
jne 0x4d797b
mov ebx, dword [esp + 0x1c]
sub esp, 0x28
mov dword [esp + 0x44], 0x41173e
mov esi, esp
lea eax, [esp + 0x44]
push eax
mov dword [esi + 0x24], 0
call fcn.00409002
add esp, 4
test al, al
je 0x4d790b
mov dword [esi], 0x92d40c
mov dword [esi + 4], 0x41173e
mov dword [esi + 0x24], esi
sub esp, 0x28
mov dword [esp + 0x6c], 0x40661d
mov esi, esp
lea eax, [esp + 0x6c]
push eax
mov dword [esi + 0x24], 0
call fcn.00409002
add esp, 4
test al, al
je 0x4d7940
mov dword [esi], 0x92d40c
mov dword [esi + 4], 0x40661d
mov dword [esi + 0x24], esi
mov eax, dword [esp + 0x5c]
sub esp, 0x18
add eax, 0x6c
mov ecx, esp
push eax
call fcn.0040c00e
push 0
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.004101f4
add esp, 0x74
mov esi, dword [eax]
mov dword [eax], 0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4d797b
mov eax, dword [ecx]
push 1
call dword [eax]
sub esp, 8
cmp dword [edi + 0x14], 0x10
mov ecx, esp
jb 0x4d7988
mov edi, dword [edi]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
mov dword [ecx], edi
push ecx
mov eax, dword [eax]
mov dword [ecx + 4], eax
mov eax, esp
push dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [eax], esi
call fcn.0040dc1f
test byte [esp + 0x2c], 1
je 0x4d79bf
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d79bf
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x7c]
call fcn.0040aeed
lea ecx, [esp + 0x94]
call fcn.0040aeed
mov eax, ebx
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0xd4
ret 8