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

Disassembly:
push 0xffffffffffffffff
push 0x5b1e50
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x636d78]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x636d78]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x28], eax
push 6
lea ecx, [esp + 0x40]
mov dword [esp + 0xa0], 0
call fcn.00424c80
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 1
call fcn.00424c80
mov byte [esp + 0x9c], 2
mov ecx, dword [esp + 0xc0]
mov eax, dword [ecx]
mov ebx, dword [esp + 0xa8]
mov ebp, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebp
mov edi, edi
mov esi, dword [esp + 0xc0]
test ebx, ebx
je 0x4080b4
cmp ebx, dword [esp + 0xa8]
je 0x4080b9
call fcn.00584ad2
cmp ebp, esi
je 0x40831e
test ebx, ebx
jne 0x40814e
call fcn.00584ad2
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4080da
call fcn.00584ad2
xor edx, edx
push 0xffffffffffffffff
lea eax, [ebp + 0xc]
push edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], 0
mov word [esp + 0x7c], dx
call fcn.0040d070
mov byte [esp + 0x9c], 3
cmp dword [esp + 0x88], 8
mov edi, dword [esp + 0x74]
jae 0x408120
lea edi, [esp + 0x74]
lea eax, [esp + 0x1c]
push eax
call fcn.00410c90
mov byte [esp + 0x9c], 4
mov esi, dword [eax]
test esi, esi
je 0x408155
cmp dword [esi + 4], 0
jne 0x408149
mov ecx, dword [esi]
push ecx
call fcn.005a6990
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x408157
mov eax, dword [ebx]
jmp 0x4080d0
xor esi, esi
push esi
lea ecx, [esp + 0x50]
call fcn.00424eb0
push eax
push str.Name
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 5
call fcn.00426070
mov ecx, eax
call fcn.00425310
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 4
call fcn.00425210
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4081e2
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4081da
test esi, esi
je 0x4081da
mov eax, dword [esi]
test eax, eax
je 0x4081c1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4081d1
push eax
call fcn.0044d15b
add esp, 4
push esi
call fcn.0044d15b
add esp, 4
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x40824b
call fcn.00584ad2
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4081f7
call fcn.00584ad2
push 0xffffffffffffffff
lea eax, [ebp + 0x28]
push 0
lea ecx, [esp + 0x78]
call fcn.0040d070
mov edi, dword [esp + 0x74]
mov ebx, 8
cmp dword [esp + 0x88], ebx
jae 0x40821d
lea edi, [esp + 0x74]
lea edx, [esp + 0x18]
push edx
call fcn.00410c90
mov byte [esp + 0x9c], 6
mov esi, dword [eax]
test esi, esi
je 0x40824f
cmp dword [esi + 4], 0
jne 0x408246
mov eax, dword [esi]
push eax
call fcn.005a6990
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x408251
mov eax, dword [ebx]
jmp 0x4081ed
xor esi, esi
push esi
lea ecx, [esp + 0x60]
call fcn.00424eb0
push eax
push 0x60ae04
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 7
call fcn.00426070
mov ecx, eax
call fcn.00425310
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 6
call fcn.00425210
mov byte [esp + 0x9c], 3
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4082dc
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4082d4
test esi, esi
je 0x4082d4
mov eax, dword [esi]
test eax, eax
je 0x4082bb
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x4082cb
push eax
call fcn.0044d15b
add esp, 4
push esi
call fcn.0044d15b
add esp, 4
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
call fcn.004262e0
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x88], ebx
jb 0x408308
mov edx, dword [esp + 0x74]
push edx
call fcn.0044d15b
add esp, 4
lea esi, [esp + 0x20]
call fcn.0040f830
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x4080a0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
call fcn.00425310
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 1
call fcn.00425210
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 0
call fcn.00425210
lea esi, [esp + 0xa8]
mov dword [esp + 0x9c], 8
call fcn.0040d810
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0044d15b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005824ce
add esp, 0x8c
ret 0x24