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

Disassembly:
push 0xffffffffffffffff
push 0x10174001
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
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
cmp dword [edi + 0x32bc], ebx
jne 0x1004977c
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1004977c
push 0xffffffffffffff9c
push edi
call fcn.100651e0
add esp, 8
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.10003e70
mov dword [esp + 0x1c], 1
mov byte [esp + 0x60], bl
cmp dword [esp + 0x40], 0x10
jb 0x10049773
mov eax, dword [esp + 0x2c]
push eax
call fcn.10100548
add esp, 4
mov dword [esp + 0x40], ebp
jmp 0x10049966
mov ebp, dword [esp + 0x78]
push ebp
call fcn.10111579
lea ecx, [ebp + ebp*2]
push ecx
mov ebx, eax
call fcn.10111579
mov ebp, eax
add esp, 8
test ebp, ebp
mov dword [esp + 0x18], ebp
je 0x10049908
test ebx, ebx
je 0x1004990f
mov byte [ebp], 0
cmp dword [edi + 0x32c0], 0
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
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
jne 0x1004980a
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.10050000
add esp, 0x14
jmp 0x10049830
cmp dword [edi + 0x32bc], 0
jne 0x1004989e
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.10047970
add esp, 0xc
test eax, eax
je 0x1004989e
xor ebp, ebp
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x14], ebp
jle 0x10049890
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
add eax, 0xffffffff
cmp ebp, eax
je 0x1004986c
movzx ecx, byte [ebx + ebp]
push ecx
lea edx, [esp + 0x50]
push edx
push edi
call fcn.10112d57
add dword [esp + 0x20], 3
add esp, 0xc
add edi, 3
jmp 0x10049887
movzx eax, byte [ebx + ebp]
push eax
lea ecx, [esp + 0x48]
push ecx
push edi
call fcn.10112d57
add dword [esp + 0x20], 2
add esp, 0xc
add edi, 2
add ebp, 1
cmp ebp, dword [esp + 0x78]
jl 0x10049844
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov byte [eax + edx], 0
mov ebp, edx
push ebx
call fcn.1011163c
mov eax, ebp
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100498b0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x30]
call fcn.10004080
push ebp
call fcn.1011163c
add esp, 4
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.10003e70
mov dword [esp + 0x1c], 1
mov byte [esp + 0x60], bl
cmp dword [esp + 0x40], 0x10
jb 0x10049962
mov edx, dword [esp + 0x2c]
push edx
jmp 0x1004995a
test ebx, ebx
je 0x10049918
push ebx
jmp 0x10049910
push ebp
call fcn.1011163c
add esp, 4
push 0xffffffffffffff9b
push edi
call fcn.100651e0
add esp, 8
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.10003e70
mov dword [esp + 0x1c], 1
mov byte [esp + 0x60], bl
cmp dword [esp + 0x40], 0x10
jb 0x10049962
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.10100548
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.10111b17
add esp, 0x50
ret