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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10026719
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x10041914]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x18], eax
mov ebx, ecx
xor esi, esi
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
cmp dword [0x10041d34], esi
je 0x1003659f
push dword [0x10041e44]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
test eax, eax
je 0x1003659f
push dword [ebp + 8]
mov edx, dword [ebp + 4]
xor ecx, ecx
push ebx
inc ecx
call fcn.1003cf06
lea ecx, [esp + 0x24]
call fcn.10010863
lea ecx, [esp + 0x44]
mov dword [esp + 0x70], esi
call fcn.10010863
push 5
push dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x78], 1
call fcn.10011178
test eax, eax
js 0x10036626
cmp dword [esp + 0x3c], 0xffffffff
mov edi, dword [esp + 0x30]
mov dword [esp + 0x10], edi
jne 0x10036626
test byte [ebp + 0x14], 4
je 0x100365e8
cmp dword [ebp + 8], 0
je 0x10036626
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
call fcn.1001c561
test eax, eax
jns 0x1003660d
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x100367ca
cmp dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x14], 1
je 0x10036626
test byte [esp + 0x38], 0x10
je 0x10036626
xor esi, esi
inc esi
push 1
push dword [ebp + 8]
lea ecx, [esp + 0x4c]
call fcn.10011178
test eax, eax
js 0x10036642
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
jmp 0x10036645
mov ecx, dword [ebp + 8]
cmp dword [esp + 0x14], 0
je 0x10036696
test esi, esi
jne 0x10036685
mov eax, dword [ebp + 0x14]
mov edi, esp
not al
movzx eax, al
and eax, 1
push eax
lea eax, [esp + 0x24]
push eax
push dword [ebp + 0x10]
mov eax, dword [0x10041110]
push dword [ebp + 0xc]
push ecx
mov esi, dword [eax + 0x98]
mov ecx, esi
push dword [esp + 0x24]
call dword [0x10042294]
call esi
jmp 0x100366bb
push dword [ebp + 0x14]
mov edx, edi
push ecx
push ecx
push ecx
mov ecx, ebx
call fcn.100367f8
jmp 0x100366ca
mov eax, dword [0x10041110]
mov edi, esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
mov esi, dword [eax + 0x698]
push dword [ebp + 0xc]
push ecx
push dword [esp + 0x20]
mov ecx, esi
call dword [0x10042294]
call esi
cmp edi, esp
je 0x100366c6
mov ecx, 4
int 0x29
mov edi, dword [esp + 0x10]
mov esi, eax
cmp edi, dword [esp + 0x18]
je 0x1003673d
cmp dword [esp + 0x40], 0
je 0x10036711
cmp dword [0x10041d34], 0
je 0x100367ca
push dword [0x10041e40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
test eax, eax
je 0x100367ca
push esi
push dword [esp + 0x34]
push dword [esp + 0x30]
mov edx, dword [ebp + 4]
push ebx
call fcn.1003cdc3
jmp 0x100367ca
cmp dword [0x10041d34], 0
je 0x100367ca
push dword [0x10041e3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
test eax, eax
je 0x100367ca
push esi
push dword [esp + 0x34]
push dword [esp + 0x30]
jmp 0x10036793
mov eax, dword [esp + 0x1c]
cmp eax, dword [ebp + 8]
je 0x100367a1
cmp dword [esp + 0x60], 0
je 0x10036771
cmp dword [0x10041d34], 0
je 0x100367ca
push dword [0x10041e40]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
test eax, eax
je 0x100367ca
push esi
push dword [esp + 0x54]
push dword [esp + 0x50]
jmp 0x10036703
cmp dword [0x10041d34], 0
je 0x100367ca
push dword [0x10041e3c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
test eax, eax
je 0x100367ca
push esi
push dword [esp + 0x54]
push dword [esp + 0x50]
mov edx, dword [ebp + 4]
xor ecx, ecx
push ebx
inc ecx
call fcn.1003cfd7
jmp 0x100367ca
cmp dword [0x10041d34], 0
je 0x100367ca
push dword [0x10041e38]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
test eax, eax
je 0x100367ca
mov edx, dword [ebp + 4]
xor ecx, ecx
push esi
push dword [ebp + 8]
inc ecx
push ebx
call fcn.1003ce2f
lea ecx, [esp + 0x44]
call fcn.10010889
lea ecx, [esp + 0x24]
call fcn.10010889
mov eax, esi
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10