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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x485738
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x1c], ebx
cmp dword [edi + 0x10], 0
je 0x4291bd
cmp dword [edi + 0x64], 0
jne 0x4290fd
cmp dword [edi + 0x28], 0
je 0x4291bd
cmp byte [esi + 0xa4], 0
jne 0x4291bd
mov dword [esi + 0xe8], 0
test ebx, ebx
je 0x429128
mov eax, dword [ebx]
mov ecx, ebx
mov eax, dword [eax]
call eax
test al, al
je 0x4291bd
cmp dword [edi + 0x64], 0
jne 0x4291d5
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
mov dword [esp + 0x78], eax
lea ecx, [edi + 0x18]
lea edx, [esp + 0x20]
call fcn.00408310
test al, al
je 0x429183
lea ecx, [esp + 0x20]
call fcn.00408cc0
test al, al
jne 0x429183
lea ecx, [esp + 0x20]
call fcn.00409410
lea ecx, [esp + 0x20]
call fcn.00408cc0
test al, al
jne 0x4291c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xb8], eax
test ebx, ebx
je 0x4291ac
mov edx, dword [ebx]
mov ecx, ebx
push 0
push eax
push 0
call dword [edx + 0xc]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004032f0
xor al, al
jmp 0x4293a3
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004032f0
mov dword [esi + 0xa0], ebx
cmp byte [edi + 0x88], 0
je 0x429239
push edi
mov ecx, esi
call fcn.00429870
mov bl, al
mov byte [esp + 0x14], bl
test bl, bl
je 0x429239
push str..tmp
lea edx, [esi + 0x28]
lea ecx, [esp + 0x3c]
call fcn.00409920
add esp, 4
mov dword [esp + 0x78], 1
lea ecx, [esp + 0x38]
call fcn.00408b70
test al, al
je 0x429228
lea ecx, [esp + 0x38]
call fcn.0041af80
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x38]
jmp 0x42936c
push edi
mov ecx, esi
call fcn.00429d60
mov bl, al
mov byte [esp + 0x14], bl
test bl, bl
jne 0x429371
cmp byte [edi + 0x61], al
je 0x429313
xor eax, eax
mov dword [esp + 0x18], eax
mov edi, edi
test bl, bl
jne 0x429371
cmp byte [esi + 0xa4], bl
jne 0x429313
cmp byte [edi + 0x60], bl
je 0x429313
mov eax, dword [esi + 0xb8]
cmp eax, 0x2efd
je 0x4292b5
cmp eax, 0x2efe
je 0x4292b5
cmp eax, 0x2eff
je 0x4292b5
cmp eax, 0x2ee7
je 0x4292b5
cmp eax, 0x2ee2
je 0x4292b5
cmp eax, 0x2ee6
je 0x4292b5
cmp byte [esi + 0xf8], bl
je 0x429313
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x4292cf
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x429313
inc dword [esi + 0xe8]
mov ecx, esi
push edi
call fcn.00429d60
cmp dword [esi + 0xc4], 0
mov bl, al
mov byte [esp + 0x14], bl
ja 0x429258
cmp dword [esi + 0xc0], 0
ja 0x429258
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x3c
jb 0x429260
test bl, bl
jne 0x429371
cmp byte [edi + 0x88], 0
jne 0x429371
push edi
mov ecx, esi
call fcn.00429870
mov bl, al
mov byte [esp + 0x14], bl
test bl, bl
je 0x429371
push str..tmp
lea edx, [esi + 0x28]
lea ecx, [esp + 0x54]
call fcn.00409920
add esp, 4
mov dword [esp + 0x78], 2
lea ecx, [esp + 0x50]
call fcn.00408b70
test al, al
je 0x429360
lea ecx, [esp + 0x50]
call fcn.0041af80
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x50]
call fcn.004032f0
cmp byte [esi + 0xa4], 0
mov dword [esi + 0xa0], 0
jne 0x4293a1
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4293a1
push dword [esi + 0xbc]
mov eax, dword [ecx]
push dword [esi + 0xb8]
push dword [esp + 0x1c]
call dword [eax + 0xc]
mov al, bl
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00466b29
mov esp, ebp
pop ebp
ret 8