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

Disassembly:
push 0xffffffffffffffff
push 0x101793c8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
mov ecx, ecx
cmp dword [ebx + 0x32bc], edi
jne 0x10049829
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10049829
push 0xffffffffffffff9c
push ebx
call fcn.10067290
add esp, 8
test dh, dh
xor eax, eax
jmp 0x10049a33
lea edx, [esp + 0x1b]
push edx
push esi
lea ecx, [esp + 0x30]
call fcn.100085d0
mov dword [esp + 0x68], edi
push ecx
pop ecx
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
mov ch, ch
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.10119400
add esp, 0xc
test eax, eax
je 0x100499c1
cmp eax, edi
mov esi, eax
je 0x1004989d
lea ecx, [eax + 1]
cmp ecx, edi
je 0x1004989b
mov dl, byte [ecx]
cmp dl, 0x20
je 0x10049894
mov byte [eax], dl
add eax, 1
add ecx, 1
cmp ecx, edi
jne 0x10049888
mov esi, eax
cmp esi, ebp
je 0x100498bd
mov eax, dword [esp + 0x38]
sub eax, ebp
add eax, 1
je 0x100498b7
push eax
push ebp
push esi
call fcn.101194b0
add esp, 0xc
sub esi, ebp
add dword [esp + 0x38], esi
mov ebx, ebx
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x3c]
test al, 1
je 0x1004993c
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
test cl, cl
lea ecx, [esp + 0x48]
push ecx
push ebx
call fcn.100529b0
add esp, 8
test dl, dl
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
test eax, 0x5708
sub eax, ecx
shr eax, 1
push eax
call fcn.10116bdc
add esp, 4
mov ebp, eax
push ebx
pop ebx
xor esi, esi
mov dl, dl
test ebp, ebp
je 0x10049a11
mov edi, dword [esp + 0x3c]
push ebx
pop ebx
cmp byte [edi], 0
je 0x100499a1
test eax, 0x524e
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push eax
push edi
call fcn.10119a25
add esp, 0xc
test ecx, ecx
mov cl, byte [esp + 0x14]
mov byte [esi + ebp], cl
add esi, 1
mov edx, edx
add edi, 2
push ebx
pop ebx
cmp byte [edi], 0
jne 0x10049971
cmp dword [ebx + 0x32c0], 0
jne 0x100499c8
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push esi
push ebp
push edx
push eax
push ebx
call fcn.10051020
add esp, 0x14
jmp 0x100499e7
mov esi, edi
jmp 0x1004989d
cmp dword [ebx + 0x32bc], 0
jne 0x100499f7
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push esi
push ecx
push edx
push ebx
mov ecx, ebp
call fcn.10047fe0
add esp, 0x10
test eax, eax
je 0x100499f7
mov dword [esp + 0x20], 1
test ch, ch
jmp 0x10049a04
push 0xffffffffffffff9b
push ebx
call fcn.10067290
add esp, 8
mov dh, dh
push ebp
call fcn.10116c9f
add esp, 4
push ecx
pop ecx
jmp 0x10049a1e
push 0xffffffffffffff9b
push ebx
call fcn.10067290
add esp, 8
push ecx
pop ecx
mov dword [esp + 0x68], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.10006e20
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.1011717a
add esp, 0x58
ret