Function at 0x476ad0
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ddec0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x50f52c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
mov ebx, 7
xor eax, eax
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push 0x4e25d8
mov word [ecx + 4], ax
call fcn.00401860
mov dword [ebp - 4], edi
mov edx, dword [0x510a30]
sub esp, 0x188
mov ecx, esp
mov dword [ebp - 0x14], esp
push edx
call fcn.00410c80
mov byte [ebp - 4], 1
mov eax, dword [0x510a34]
sub esp, 0x3c4
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00462ac0
mov byte [ebp - 4], 2
push edi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 8
xor edx, edx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push 0x4edb50
mov word [ecx + 4], dx
call fcn.00401860
mov byte [ebp - 4], 3
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.0041b950
mov eax, dword [esi + 4]
lea ebx, [esi + 0x54]
mov dword [ebx], edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [esi + 0x58], 0x64
call edi
push eax
mov ecx, ebx
call fcn.00489280
lea ecx, [ebp - 0x10]
push 0x70
push ecx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 4
mov edx, dword [esi + 4]
mov ebx, dword [eax]
push edx
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
mov eax, dword [esi + 4]
push eax
call edi
mov ebx, eax
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
and ecx, 0xfff7ffff
cmp eax, ecx
je 0x476c06
push ecx
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [esi + 4]
push ecx
call edi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push eax
call ebx
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call edi
push 0x3023
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call edi
push 0x3024
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0x459
push ecx
call ebx
push 1
push 0x4ecbf0
push str.IDB_PNG_BANNER
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], eax
call fcn.00424e90
mov eax, dword [0x510a34]
cmp dword [eax + 0x25c], 0
je 0x476c96
cmp dword [eax + 0x284], 0
je 0x476c8f
mov edi, 0x4edcd0
jmp 0x476c9b
mov edi, 0x4edca8
jmp 0x476c9b
mov edi, 0x4edc88
mov eax, dword [esi + 4]
push 0x453
push eax
call ebx
push 1
push 0x4ecbf0
push edi
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], eax
call fcn.00424e90
lea edx, [ebp - 0x10]
push 0x40f
push edx
call fcn.004285a0
add esp, 8
mov dword [ebp - 4], 5
mov edi, dword [eax]
mov eax, dword [esi + 4]
push 0x3fb
push eax
call ebx
push edi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0041c0e0
mov eax, dword [0x510a34]
cmp dword [eax + 0x284], 0
je 0x476d1f
mov edx, dword [esi + 4]
lea ecx, [esi + 0x60]
push ecx
push 0
push edx
push 0x4758e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x476d4a
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x8a42f871
imul ecx
add edx, ecx
mov ecx, dword [esi + 4]
sar edx, 9
mov eax, edx
push 0
shr eax, 0x1f
add eax, edx
push eax
push 0x901c
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret