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

Disassembly:
push 0xffffffffffffffff
push 0x5b81f0
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63ee20]
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.00424cf0
push 0
lea ecx, [esp + 0x30]
mov byte [esp + 0xa0], 1
call fcn.00424cf0
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.0058ab72
cmp ebp, esi
je 0x40831e
test ebx, ebx
jne 0x40814e
call fcn.0058ab72
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4080da
call fcn.0058ab72
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.0040d090
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.00410e00
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.005ac930
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.00424f20
push eax
push str.Name
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 5
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0x4c]
mov byte [esp + 0x9c], 4
call fcn.00425280
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.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
mov dword [esp + 0x1c], 0
test ebx, ebx
jne 0x40824b
call fcn.0058ab72
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x4081f7
call fcn.0058ab72
push 0xffffffffffffffff
lea eax, [ebp + 0x28]
push 0
lea ecx, [esp + 0x78]
call fcn.0040d090
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.00410e00
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.005ac930
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.00424f20
push eax
push 0x612eec
lea ecx, [esp + 0x34]
mov byte [esp + 0xa4], 7
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 6
call fcn.00425280
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.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00426350
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x88], ebx
jb 0x408308
mov edx, dword [esp + 0x74]
push edx
call fcn.0044f8b0
add esp, 4
lea esi, [esp + 0x20]
call fcn.0040f8e0
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.00425380
lea ecx, [esp + 0x2c]
mov byte [esp + 0x9c], 1
call fcn.00425280
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 0
call fcn.00425280
lea esi, [esp + 0xa8]
mov dword [esp + 0x9c], 8
call fcn.0040d830
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.0044f8b0
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.0058844d
add esp, 0x8c
ret 0x24