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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0xfffffffffffffffa
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0047a720
mov esi, dword [ebp + 0xc]
movups xmm0, xmmword [eax]
push dword [esi + 0x28]
movups xmmword [ebp - 0x18], xmm0
call fcn.0047aac0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
add esp, 0xc
mov ecx, dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47a273
push 0
push dword [ebp - 4]
push 0
push ebx
push 0
push 0
push dword [esi + 0x68]
push dword [esi + 0x64]
push 0x50020003
push 0
push 0x4a6f18
push 4
call ecx
test eax, eax
je 0x47a26d
push 0
push dword [ebp + 0xc]
push 0x170
push eax
call edi
mov ecx, dword [sym.imp.USER32.dll_CreateWindowExW]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x47a2ae
push 0
push dword [ebp - 4]
push 0
push ebx
push dword [esi + 0x80]
push dword [esi + 0x7c]
push dword [esi + 0x78]
push dword [esi + 0x74]
push 0x50022080
push eax
push 0x4a6f18
push 4
call ecx
test eax, eax
je 0x47a2ae
push 1
push dword [esi + 0x1c]
push 0x30
push eax
call edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x47a318
cmp dword [esi + 0x24], 0
je 0x47a318
push 0
push dword [ebp - 4]
push 0x1388
push ebx
push dword [esi + 0x90]
push dword [esi + 0x8c]
push dword [esi + 0x88]
push dword [esi + 0x84]
push 0x50030003
push eax
push str.Button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x47a318
push 0
push dword [esi + 0x1c]
push 0x30
push eax
call edi
mov eax, dword [esi + 0x24]
cmp byte [eax], 0
je 0x47a318
push 0
push 1
push 0xf1
push dword [ebp + 0xc]
call edi
push dword [esi + 0x28]
push esi
call fcn.0047a8b0
mov eax, dword [esi + 0xec]
add esp, 8
test eax, eax
je 0x47a410
mov ebx, 0x50030001
mov dword [ebp + 0xc], 0
jle 0x47a400
lea edi, [esi + 0x94]
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax*4 + 0x4aeec8]
call fcn.0047ce30
push 0
push dword [ebp - 4]
push dword [edi]
push dword [ebp + 8]
push dword [esi + 0xe4]
push dword [esi + 0xe0]
push dword [esi + 0xd8]
push dword [esi + 0xd4]
push ebx
push eax
push str.Button
push 4
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 8], eax
test eax, eax
je 0x47a3e5
cmp dword [edi], 2
jne 0x47a3a2
mov dword [esi + 0x34], 2
push 0
push dword [esi + 0x1c]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
and bl, 0xf
cmp bl, 1
jne 0x47a3d3
push 0
push dword [edi]
push 0x401
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xe8]
add eax, dword [esi + 0xe0]
add dword [esi + 0xd4], eax
mov eax, dword [ebp + 0xc]
add edi, 4
inc eax
mov ebx, 0x50010000
mov dword [ebp + 0xc], eax
cmp eax, dword [esi + 0xec]
jl 0x47a350
test byte [esi + 0x28], 0xf
mov ebx, dword [ebp + 8]
jne 0x47a410
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
jne 0x47a42d
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push 0
push 0xf060
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov eax, dword [esi + 0x48]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x14]
push 4
push eax
mov eax, dword [esi + 0x44]
add eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
push eax
push dword [esi + 0x38]
push dword [esi + 0x3c]
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x28]
and eax, 0xf0
je 0x47a463
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
test byte [esi + 0x28], 0xf
jne 0x47a525
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x47a525
add ecx, 0x3e7
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esi + 0x94]
shr edx, 6
mov dword [esi + 0x30], edx
push dword [eax*4 + 0x4aeec8]
call fcn.0047ce30
mov edx, eax
mov dword [ebp + 0xc], eax
lea eax, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x47a4a5
mov ecx, dword [str._s____u_]
sub edx, eax
sar edx, 1
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a4c0
sub ecx, edi
sar ecx, 1
lea edi, [ecx + edx]
lea eax, [edi + edi]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x14], eax
test eax, eax
je 0x47a4ff
push dword [ebp + 0xc]
push dword [0x4aeec0]
push edi
push eax
call fcn.00401040
add esp, 0x10
push 0
push 0x3e8
push 0x1400
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0x1400
push esi
mov dword [esi + 0x20], eax
call fcn.0047a5f0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret