Function at 0x100474a0
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 esi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x80]
xor ebp, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov al, al
cmp dword [esi + 0x32bc], ebp
jne 0x10047520
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x10047518
push 0xffffffffffffff9c
push esi
call fcn.10067360
add esp, 8
test ch, ch
xor eax, eax
jmp 0x10047710
cmp dword [esi + 0x32bc], ebp
je 0x1004752c
or ebx, 0x80000000
mov dword [esp + 0x20], ebx
push edx
pop edx
test bl, bl
lea eax, [esp + 0x1b]
push eax
push edi
lea ecx, [esp + 0x30]
call fcn.100085b0
mov dword [esp + 0x68], ebp
mov cl, cl
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
test dh, dh
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 0x10047580
mov eax, ebx
jmp 0x100475a3
cmp eax, ebx
je 0x100475a3
lea ecx, [eax + 1]
cmp ecx, ebx
je 0x100475a3
jmp 0x10047590
mov dl, byte [ecx]
cmp dl, 0x20
je 0x1004759c
mov byte [eax], dl
add eax, 1
add ecx, 1
cmp ecx, ebx
jne 0x10047590
mov edi, eax
cmp edi, ebp
je 0x100475c5
mov eax, dword [esp + 0x38]
sub eax, ebp
add eax, 1
je 0x100475bf
push eax
push ebp
push edi
call fcn.10118ff0
add esp, 0xc
sub edi, ebp
add dword [esp + 0x38], edi
push ebx
pop ebx
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x3c]
test cl, 1
je 0x10047645
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
mov eax, eax
lea edx, [esp + 0x48]
push edx
push esi
call fcn.10052690
add esp, 8
mov ebp, ebp
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, eax
sub eax, ecx
shr eax, 1
push eax
call fcn.1011671b
add esp, 4
mov ebx, eax
push edx
pop edx
xor edi, edi
test ch, ch
test ebx, ebx
je 0x100476ee
mov ebp, dword [esp + 0x3c]
mov cl, cl
cmp byte [ebp], 0
je 0x100476a5
nop
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebp
call fcn.10119565
add esp, 0xc
test bl, bl
mov dl, byte [esp + 0x14]
mov byte [ebx + edi], dl
add edi, 1
mov al, al
add ebp, 2
test edx, edx
cmp byte [ebp], 0
jne 0x10047678
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
push ebx
push eax
push ecx
push esi
mov esi, dword [esp + 0x30]
call fcn.10046130
add esp, 0x10
test eax, eax
je 0x100476d0
mov dword [esp + 0x1c], 1
test eax, 0x41a6
jmp 0x100476e1
mov edx, dword [esp + 0x24]
push 0xffffffffffffff9b
push edx
call fcn.10067360
add esp, 8
test ecx, ecx
push ebx
call fcn.101167de
add esp, 4
mov edi, edi
jmp 0x100476fb
push 0xffffffffffffff9b
push esi
call fcn.10067360
add esp, 8
test bl, bl
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