Function at 0x40f3c0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x497e21
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4cc06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], vtable.Control.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x24], vtable.FileTransferInterface.0
mov dword [edi + 0x28], eax
lea eax, [edi + 0x30]
mov dword [edi], vtable.FileTransferMainDialog.0
mov dword [edi + 0x24], vtable.FileTransferMainDialog.1.0
lea esi, [eax + 4]
mov dword [ebp + 8], eax
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00421760
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
lea ebx, [edi + 0x40]
mov dword [ebp + 8], ebx
lea esi, [ebx + 4]
mov dword [ebx], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00421760
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
add esp, 0xc
mov dword [edi + 0x50], vtable.Control.0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], vtable.Control.0
mov dword [edi + 0x60], 0
mov dword [edi + 0x68], vtable.Control.0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x74], vtable.Control.0
mov dword [edi + 0x78], 0
mov dword [edi + 0x80], vtable.Control.0
mov dword [edi + 0x84], 0
mov dword [edi + 0x8c], vtable.Control.0
mov dword [edi + 0x90], 0
mov dword [edi + 0x98], vtable.Control.0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa4], vtable.Control.0
mov dword [edi + 0xa8], 0
mov dword [edi + 0xb0], vtable.Control.0
mov dword [edi + 0xb4], 0
mov dword [edi + 0xbc], vtable.Control.0
mov dword [edi + 0xc0], 0
mov dword [edi + 0xc8], vtable.Control.0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xd4], vtable.ProgressBar.0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], vtable.ComboBox.0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xec], vtable.TextBox.0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], vtable.TextBox.0
lea ecx, [edi + 0x104]
call fcn.0040e7a0
lea ecx, [edi + 0x120]
call fcn.0040e7a0
add edi, 0x13c
mov dword [ebp + 8], edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], vtable.Control.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x20], 0
lea eax, [edi + 0x2c]
mov dword [edi], vtable.FileExistDialog.0
mov dword [edi + 0x24], 0
lea esi, [eax + 4]
mov dword [edi + 0x28], 0
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.00421760
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4b0eac
push ecx
call fcn.004735c0
mov word [edi + 0x3c], 0
add esp, 0xc
mov dword [edi + 0x40], vtable.Control.0
mov dword [edi + 0x44], 0
mov dword [edi + 0x4c], vtable.Control.0
mov dword [edi + 0x50], 0
mov dword [edi + 0x58], vtable.Control.0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x64], vtable.Control.0
mov dword [edi + 0x68], 0
mov dword [edi + 0x70], vtable.Control.0
mov dword [edi + 0x74], 0
mov dword [edi + 0x7c], vtable.Control.0
mov dword [edi + 0x80], 0
mov byte [edi + 0x88], 1
mov dword [edi + 8], 0x7c
mov byte [edi + 0x3e], 0
mov byte [ebp - 4], 0x19
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x30]
lea ecx, [esi + 0x30]
push 0x4b0eac
mov dword [esi + 8], 0x7b
call dword [eax + 4]
mov eax, dword [ebx]
mov ecx, ebx
push 0x4b0eac
call dword [eax + 4]
push 0x28
call fcn.0047217f
add esp, 4
mov dword [ebp + 8], eax
push 0x4b148c
sub esp, 0x14
mov byte [ebp - 4], 0x1a
mov ecx, eax
call fcn.0042e110
mov dword [esi + 0x1c8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4