Function at 0x478710
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4fd1f4]
mov ecx, dword [0x4fd1f0]
sub esp, 0x10
push esi
mov esi, dword [sym.imp.USER32.dll_CreateDialogParamA]
push 0
push 0x478ae0
push eax
push 0x279
push ecx
call esi
test eax, eax
mov dword [0x4fd1ad], eax
jne 0x478743
pop esi
add esp, 0x10
ret
mov edx, dword [0x4fd1f4]
mov eax, dword [0x4fd1f0]
push 0
push 0x478ae0
push edx
push 0x279
push eax
call esi
test eax, eax
mov dword [0x4fad65], eax
jne 0x47876c
pop esi
add esp, 0x10
ret
mov ecx, dword [0x4fd1f0]
mov edx, dword [0x4fd1ad]
push 0
push ecx
push 0
push edx
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x14
push 0x14e
push 7
push 0x69
push 0x54000000
push str.send_progress
push 0x4d8760
push 0x200
call esi
test eax, eax
mov dword [0x4fd1b1], eax
jne 0x4787b3
pop esi
add esp, 0x10
ret
mov eax, dword [0x4fd1f0]
mov ecx, dword [0x4fad65]
push 0
push eax
push 0
push ecx
push 0x14
push 0x14e
push 7
push 0x69
push 0x54000000
push str.recv_progress
push 0x4d8760
push 0x200
call esi
test eax, eax
mov dword [0x4fad69], eax
jne 0x4787f3
pop esi
add esp, 0x10
ret
push ebx
push ebp
push edi
push str.transfer_x_send
push str.layout
call fcn.0044cec0
push str.transfer_y_send
push str.layout
mov edi, eax
call fcn.0044cec0
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
add esp, 0x10
mov esi, eax
mov eax, dword [0x4fd1ad]
lea edx, [esp + 0x10]
push edx
push eax
call ebp
cmp edi, 0xffffffff
je 0x478838
cmp esi, 0xffffffff
jne 0x4788af
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, 0x55555556
lea edi, [ecx + 5]
mov ecx, dword [esp + 0x1c]
sub ecx, esi
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, esi
mov esi, edx
call fcn.00438ce0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub ecx, edx
add ecx, edi
cmp ecx, eax
jle 0x478883
call fcn.00438ce0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edi, eax
sub edx, ecx
add edi, edx
call fcn.00438cf0
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov edx, ecx
sub edx, ebx
add edx, esi
cmp edx, eax
jle 0x4788b3
call fcn.00438cf0
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x14]
sub eax, ecx
add esi, eax
jmp 0x4788b3
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
sub ecx, edx
mov edx, dword [0x4fd1ad]
push 1
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, ebx
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
push ecx
push esi
push edi
push edx
call ebx
push str.transfer_x_recv
push str.layout
call fcn.0044cec0
push str.transfer_y_recv
push str.layout
mov esi, eax
call fcn.0044cec0
mov ecx, dword [0x4fad65]
add esp, 0x10
mov edi, eax
lea eax, [esp + 0x10]
push eax
push ecx
call ebp
cmp esi, 0xffffffff
je 0x478915
cmp edi, 0xffffffff
jne 0x478992
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, 0x55555556
sub ecx, edi
lea esi, [edx + 5]
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, edi
mov edi, edx
call fcn.00438ce0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub ecx, edx
add ecx, esi
cmp ecx, eax
jle 0x478960
call fcn.00438ce0
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, eax
sub edx, ecx
add esi, edx
call fcn.00438cf0
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov edx, ecx
sub edx, ebp
add edx, edi
cmp edx, eax
jle 0x47898a
call fcn.00438cf0
mov ecx, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esp + 0x14]
sub eax, ecx
add edi, eax
add esi, 0x32
add edi, 0x32
jmp 0x478996
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
sub ecx, ebp
mov edx, dword [0x4fad65]
push 1
push ecx
mov ecx, dword [esp + 0x20]
sub ecx, eax
push ecx
push edi
push esi
push edx
call ebx
mov eax, dword [0x4fd1ad]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push eax
call esi
mov ecx, dword [0x4fd1ad]
push 2
push ecx
mov dword [0x4fd1a9], eax
call esi
mov edx, dword [0x4fd1ad]
push 0x352
push edx
mov dword [0x4fd199], eax
call esi
mov dword [0x4fd19d], eax
mov eax, dword [0x4fd1ad]
push 0x353
push eax
call esi
mov ecx, dword [0x4fd1ad]
push 0x355
push ecx
mov dword [0x4fd1a5], eax
call esi
mov edx, dword [0x4fd1ad]
push 0x354
push edx
mov dword [0x4fd1a1], eax
call esi
mov dword [0x4fd195], eax
mov eax, dword [0x4fd1ad]
push 0
push 0x356
push eax
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x4fad65]
push 1
push ecx
call esi
mov edx, dword [0x4fad65]
push 2
push edx
mov dword [0x4fad61], eax
call esi
mov dword [0x4fad51], eax
mov eax, dword [0x4fad65]
push 0x352
push eax
call esi
mov ecx, dword [0x4fad65]
push 0x353
push ecx
mov dword [0x4fad55], eax
call esi
mov edx, dword [0x4fad65]
push 0x355
push edx
mov dword [0x4fad5d], eax
call esi
mov dword [0x4fad59], eax
mov eax, dword [0x4fad65]
push 0x354
push eax
call esi
mov dword [0x4fad4d], eax
push 0x2a1
call fcn.004411b0
mov ecx, dword [0x4fad65]
add esp, 4
push eax
push 0x356
push ecx
call esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10
ret