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

Disassembly:
push 0xffffffffffffffff
push 0x10178ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101ce2ac]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2ac]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
xor ebp, ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ebp
mov edx, edx
cmp dword [edi + 0x32bc], ebp
jne 0x10049221
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10049219
push 0xffffffffffffff9c
push edi
call fcn.10067360
add esp, 8
test eax, eax
xor eax, eax
jmp 0x10049403
cmp dword [edi + 0x32bc], ebp
je 0x1004922d
or ebx, 0x80000000
mov dword [esp + 0x20], ebx
push edx
pop edx
mov dh, dh
lea ecx, [esp + 0x1b]
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.100085b0
mov dword [esp + 0x68], ebp
mov dl, dl
mov byte [esp + 0x40], 0x25
mov byte [esp + 0x41], 0x30
mov byte [esp + 0x42], 0x32
mov byte [esp + 0x43], 0x78
mov byte [esp + 0x44], 0
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ebp, eax
mov ebx, eax
sub eax, ecx
push eax
push 0x20
push ecx
call fcn.10118f40
add esp, 0xc
test eax, eax
jne 0x10049281
mov eax, ebx
jmp 0x100492a3
cmp eax, ebx
je 0x100492a3
lea ecx, [eax + 1]
cmp ecx, ebx
je 0x100492a3
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, 0x20
je 0x1004929c
mov byte [eax], dl
add eax, 1
add ecx, 1
cmp ecx, ebx
jne 0x10049290
mov esi, eax
cmp esi, ebp
je 0x100492c5
mov eax, dword [esp + 0x38]
sub eax, ebp
add eax, 1
je 0x100492bf
push eax
push ebp
push esi
call fcn.10118ff0
add esp, 0xc
sub esi, ebp
add dword [esp + 0x38], esi
mov al, al
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x3c]
test dl, 1
je 0x10049345
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], 0
push ebx
pop ebx
lea eax, [esp + 0x48]
push eax
push edi
call fcn.10052690
add esp, 8
push ebx
pop ebx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov ah, ah
sub eax, ecx
shr eax, 1
push eax
call fcn.1011671b
add esp, 4
mov ebx, eax
test eax, 0x35ca
xor esi, esi
mov edx, edx
test ebx, ebx
je 0x100493e2
mov ebp, dword [esp + 0x3c]
push ecx
pop ecx
cmp byte [ebp], 0
je 0x100493a5
mov dl, dl
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x44]
push edx
push ebp
call fcn.10119565
add esp, 0xc
test ah, ah
mov al, byte [esp + 0x14]
mov byte [ebx + esi], al
add esi, 1
mov edi, edi
add ebp, 2
test esi, esi
cmp byte [ebp], 0
jne 0x10049377
mov ecx, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x24]
push ebx
push ecx
call fcn.10047c80
add esp, 0xc
test eax, eax
je 0x100493c8
mov dword [esp + 0x1c], 1
test cl, cl
jmp 0x100493d5
push 0xffffffffffffff9b
push edi
call fcn.10067360
add esp, 8
mov ebx, ebx
push ebx
call fcn.101167de
add esp, 4
mov esi, esi
jmp 0x100493ee
push 0xffffffffffffff9b
push edi
call fcn.10067360
add esp, 8
nop
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.10006e00
mov eax, dword [esp + 0x1c]
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.10116cb9
add esp, 0x58
ret