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

Disassembly:
push 0xffffffffffffffff
push 0x10171111
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101c52b4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c52b4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov ebp, 0xf
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
mov dword [esp + 0x60], 1
push edx
pop edx
push ebx
pop ebx
cmp dword [edi + 0x32bc], ebx
jne 0x10039552
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10039552
push 0xffffffffffffff9c
push edi
call fcn.100572c0
add esp, 8
mov dh, dh
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x30]
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009f70
mov dword [esp + 0x1c], 1
mov byte [esp + 0x60], bl
cmp dword [esp + 0x40], 0x10
jb 0x10039549
mov eax, dword [esp + 0x2c]
push eax
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x40], ebp
jmp 0x10039768
mov ebp, dword [esp + 0x78]
push ebp
call fcn.1010df39
add esp, 4
mov ebx, eax
mov ebx, ebx
lea ecx, [ebp + ebp*2]
push ecx
call fcn.1010df39
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
mov eax, eax
test ebp, ebp
je 0x100396fc
test ebx, ebx
je 0x1003970d
mov byte [ebp], 0
mov edx, edx
mov dl, 0x30
mov cl, 0x32
mov al, 0x58
mov byte [esp + 0x4c], 0x25
mov byte [esp + 0x4d], dl
mov byte [esp + 0x4e], cl
mov byte [esp + 0x4f], al
mov byte [esp + 0x50], 0x20
mov byte [esp + 0x51], 0
nop
mov byte [esp + 0x44], 0x25
mov byte [esp + 0x45], dl
mov byte [esp + 0x46], cl
mov byte [esp + 0x47], al
mov byte [esp + 0x48], 0
mov cl, cl
cmp dword [edi + 0x32c0], 0
jne 0x100395ec
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push edx
push ebx
push eax
push ecx
push edi
call fcn.100407d0
add esp, 0x14
jmp 0x10039612
cmp dword [edi + 0x32bc], 0
jne 0x1003968d
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push edx
push eax
push edi
mov edx, ebx
call fcn.100375d0
add esp, 0xc
test eax, eax
je 0x1003968d
mov al, al
xor ebp, ebp
mov dword [esp + 0x14], ebp
push ecx
pop ecx
cmp dword [esp + 0x78], ebp
jle 0x1003967d
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
add eax, 0xffffffff
cmp ebp, eax
je 0x10039656
movzx ecx, byte [ebx + ebp]
push ecx
lea edx, [esp + 0x50]
push edx
push edi
call fcn.1010fdb0
add esp, 0xc
push ebx
pop ebx
add dword [esp + 0x14], 3
add edi, 3
mov cl, cl
jmp 0x10039674
movzx eax, byte [ebx + ebp]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.1010fdb0
add esp, 0xc
mov eax, eax
add dword [esp + 0x14], 2
add edi, 2
nop
add ebp, 1
cmp ebp, dword [esp + 0x78]
jl 0x1003962a
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov byte [eax + edx], 0
mov al, al
mov ebp, edx
push ebx
call fcn.1010dffc
add esp, 4
xchg ebx, eax
xchg ebx, eax
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100396a0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x30]
call fcn.1000a180
push eax
pop eax
push ebp
call fcn.1010dffc
add esp, 4
push edx
pop edx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x30]
mov edi, 0xf
push ecx
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009f70
mov dword [esp + 0x1c], 1
mov byte [esp + 0x60], bl
cmp dword [esp + 0x40], 0x10
jb 0x10039764
mov edx, dword [esp + 0x2c]
push edx
jmp 0x1003975c
test ebx, ebx
je 0x10039718
push ebx
call fcn.1010dffc
add esp, 4
mov bl, bl
jmp 0x10039718
push ebp
call fcn.1010dffc
add esp, 4
mov bl, bl
push 0xffffffffffffff9b
push edi
call fcn.100572c0
add esp, 8
mov edx, edx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x30]
mov edi, 0xf
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov byte [esi + 4], bl
call fcn.10009f70
mov dword [esp + 0x1c], 1
mov byte [esp + 0x60], bl
cmp dword [esp + 0x40], 0x10
jb 0x10039764
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100fcea8
add esp, 4
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], 0
mov eax, esi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.1010e4d7
add esp, 0x50
ret