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

Disassembly:
push 0xffffffffffffffff
push 0x1015d648
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b23cc]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
push edx
pop edx
cmp dword [edi + 0x32c4], ebx
jne 0x100312b8
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x100312b8
push 0xffffffffffffff9c
push edi
call fcn.10050580
add esp, 8
mov al, al
xor eax, eax
jmp 0x100314a1
lea eax, [esp + 0x1b]
push eax
push esi
lea ecx, [esp + 0x30]
call fcn.100095d0
mov dword [esp + 0x68], ebx
mov al, al
mov byte [esp + 0x40], 0x25
mov byte [esp + 0x41], 0x30
mov byte [esp + 0x42], 0x32
mov byte [esp + 0x43], 0x78
mov byte [esp + 0x44], bl
push ebx
pop ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov edi, eax
sub eax, ecx
push eax
push 0x20
push ecx
call fcn.100fe810
add esp, 0xc
cmp eax, ebx
je 0x1003145a
cmp eax, edi
mov esi, eax
je 0x1003132b
lea ecx, [eax + 1]
cmp ecx, edi
je 0x10031329
mov dl, byte [ecx]
cmp dl, 0x20
je 0x10031322
mov byte [eax], dl
add eax, 1
add ecx, 1
cmp ecx, edi
jne 0x10031316
mov esi, eax
cmp esi, ebp
je 0x1003134b
mov eax, dword [esp + 0x38]
sub eax, ebp
add eax, 1
je 0x10031345
push eax
push ebp
push esi
call fcn.100fdf60
add esp, 0xc
sub esi, ebp
add dword [esp + 0x38], esi
mov edi, edi
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x3c]
test cl, 1
je 0x100313ce
mov al, 0x61
mov byte [esp + 0x49], al
mov byte [esp + 0x4b], al
mov al, 0xca
mov byte [esp + 0x48], 0x64
mov byte [esp + 0x4a], 0x74
mov byte [esp + 0x4c], 0xb3
mov byte [esp + 0x4d], 0xa4
mov byte [esp + 0x4e], 0xb6
mov byte [esp + 0x4f], 0xc8
mov byte [esp + 0x50], 0xb1
mov byte [esp + 0x51], 0xd8
mov byte [esp + 0x52], 0xd0
mov byte [esp + 0x53], 0xeb
mov byte [esp + 0x54], al
mov byte [esp + 0x55], 0xc7
mov byte [esp + 0x56], 0xc5
mov byte [esp + 0x57], 0xbc
mov byte [esp + 0x58], al
mov byte [esp + 0x59], 0xfd
mov byte [esp + 0x5a], bl
push edx
pop edx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x48]
push edx
push eax
call fcn.1003ba60
add esp, 8
mov ecx, ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov bl, bl
sub eax, ecx
shr eax, 1
push eax
call fcn.100fbefc
add esp, 4
mov ebp, eax
mov al, al
xor edi, edi
mov bl, bl
cmp ebp, ebx
je 0x1003147b
mov esi, dword [esp + 0x3c]
xchg ebx, eax
xchg ebx, eax
cmp byte [esi], bl
je 0x1003142b
nop
mov dl, dl
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push edx
push esi
call fcn.100feacd
add esp, 0xc
nop
mov al, byte [esp + 0x14]
mov byte [edi + ebp], al
add edi, 1
mov dh, dh
add esi, 2
push eax
pop eax
cmp byte [esi], bl
jne 0x10031400
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
push ecx
push edx
push eax
mov ecx, ebp
mov edx, esi
call fcn.10030010
add esp, 0xc
test eax, eax
je 0x10031461
mov dword [esp + 0x20], 1
mov ch, ch
jmp 0x1003146e
mov esi, edi
jmp 0x1003132b
push 0xffffffffffffff9b
push esi
call fcn.10050580
add esp, 8
mov ah, ah
push ebp
call fcn.100fbfbf
add esp, 4
mov esi, esi
jmp 0x1003148c
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffff9b
push ecx
call fcn.10050580
add esp, 8
push ebx
pop ebx
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.10006900
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.100fc49a
add esp, 0x58
ret