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

Disassembly:
jmp 0x6e7dd0
sub esp, 0x68
mov eax, dword [0xa0b130]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x74]
lea eax, [esp + 0x48]
push esi
push edi
mov edi, dword [esp + 0x78]
xor esi, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 8
xor edx, edx
xor ecx, ecx
mov eax, esi
and eax, 0x3f
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
mov eax, esi
cmovae ecx, edx
shr eax, 6
and edx, dword [ebx + eax*8]
and ecx, dword [ebx + eax*8 + 4]
or edx, ecx
je 0x6e7f49
lea eax, [esi - 0x3e]
cmp eax, 6
ja case.default.0x6e7e40
lea eax, [esi - 0x3e]
jmp dword [eax*4 + 0x6e8030]
push dword [ebx + 0x38]
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00405434
add esp, 0xc
jmp 0x6e7f14
push dword [ebx + 0x3c]
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004099f8
add esp, 0xc
jmp 0x6e7f14
mov ax, word [ebx + 0x18]
mov word [esp + 0xc], ax
lea eax, [esp + 0x24]
push dword [esp + 0xc]
push edi
push eax
call fcn.00406d7a
add esp, 0xc
jmp 0x6e7f14
mov ax, word [ebx + 0x1a]
mov word [esp + 0x10], ax
lea eax, [esp + 0x28]
push dword [esp + 0x10]
push edi
push eax
call fcn.00407d7e
add esp, 0xc
jmp 0x6e7f14
push dword [ebx + 0x24]
lea eax, [esp + 0x30]
push dword [ebx + 0x20]
push edi
push eax
call fcn.00414ff1
add esp, 0x10
jmp 0x6e7f14
push dword [ebx + 0x2c]
lea eax, [esp + 0x34]
push dword [ebx + 0x28]
push edi
push eax
call fcn.00404ca0
add esp, 0x10
jmp 0x6e7f14
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.00408f1c
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x3c]
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.00404976
add esp, 0x10
jmp 0x6e7f14
push 0
push 0
push esi
lea eax, [esp + 0x24]
push edi
push eax
call fcn.004116ad
add esp, 0x14
mov ecx, dword [esp + 0x48]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp ecx, dword [esp + 0x4c]
jb 0x6e7f3a
push 4
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x50]
call fcn.00405e1b
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], edx
inc dword [esp + 0x48]
inc esi
cmp esi, 0x45
jne 0x6e7e03
mov esi, dword [ebx + 0x10]
mov eax, dword [esi]
mov dword [esp + 0xc], eax
cmp eax, esi
je 0x6e7fe9
lea ecx, [eax + 0x10]
sub esp, 8
cmp dword [ecx + 0x2c], 0x10
lea edx, [ecx + 0x18]
mov ebx, esp
jb 0x6e7f78
mov edx, dword [ecx + 0x18]
mov dword [ebx], edx
sub esp, 8
mov eax, dword [ecx + 0x28]
mov edx, esp
mov dword [ebx + 4], eax
mov eax, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x6e7f8f
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 4], eax
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041101d
mov edx, dword [esp + 0x60]
add esp, 0x18
mov ebx, eax
cmp edx, dword [esp + 0x4c]
jb 0x6e7fc7
push 4
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x50]
call fcn.00405e1b
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx]
mov dword [eax + edx*4], ecx
lea ecx, [esp + 0xc]
inc dword [esp + 0x48]
call fcn.00409ba6
mov eax, dword [esp + 0xc]
cmp eax, esi
jne 0x6e7f64
mov eax, dword [esp + 0x44]
sub esp, 8
mov ecx, esp
push edi
mov dword [ecx], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 4], eax
call fcn.0040c036
mov esi, eax
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0x50]
add esp, 0xc
cmp eax, ecx
je 0x6e801c
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x70]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004087b5
add esp, 0x68
ret