Function at 0x420ee0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x45fcec
call fcn.0045d320
sub esp, 0x7c0
push ebx
push esi
or dword [ebp - 0x24], 0xffffffff
xor ebx, ebx
push edi
push ebx
mov esi, ecx
push ebx
push 0x1032
mov dword [ebp - 0x14], 0x2000
push dword [esi + 0x818]
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [ebp - 0x2c], eax
jge 0x420f45
push str.No_file_selected__nothing_to_upload.
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov ecx, esi
call fcn.00422086
push ebx
push dword [esi + 0x838]
jmp 0x421338
cmp eax, ebx
mov dword [ebp - 0x1c], ebx
jle 0x42134c
push ebx
mov ecx, esi
call fcn.00422086
push 1
push dword [esi + 0x838]
call dword [sym.imp.USER32.dll_EnableWindow]
push 2
push dword [ebp - 0x24]
push 0x100c
push dword [esi + 0x818]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jl 0x421304
lea ecx, [ebp - 0x7c]
lea edi, [esi + 0x4fb]
push ecx
push eax
push 0x102d
mov dword [ebp - 0x24], eax
push dword [esi + 0x818]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x64], 0xff
mov dword [ebp - 0x68], edi
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esi + 0xff]
push edi
push eax
lea eax, [ebp - 0x3bc]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x3bc]
push eax
lea eax, [esi + 0x5fa]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0x18
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x3bc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
cmp dword [ebp - 0x10], 0xffffffff
jne 0x421013
push str.Could_not_find_selected_file__cant_upload
jmp 0x421021
test byte [ebp - 0x1bc], 0x10
je 0x421032
push str.Cannot_upload_a_directory
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x4212f3
push dword [ebp - 0x1a4]
mov eax, dword [ebp - 0x19c]
mov ecx, esi
mov dword [ebp - 0x28], eax
push dword [ebp - 0x1a8]
call fcn.00422b8c
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x190]
lea eax, [esi + 0x3fc]
push ecx
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x42107e
cmp eax, dword [ebp - 0x14]
ja 0x42107e
mov dword [ebp - 0x14], eax
push ebx
push 0x8000000
push 3
push ebx
push 1
lea eax, [ebp - 0x3bc]
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x85c], eax
je 0x421317
lea eax, [esi + 0x3fc]
push eax
push esi
lea eax, [esi + 0xff]
push edi
push eax
lea eax, [ebp - 0x7cc]
push str.Uploading:__s_s_____s_s_...
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x18
lea eax, [ebp - 0x7cc]
push eax
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push edi
push esi
lea eax, [ebp - 0x3bc]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x3bc]
mov ecx, esi
push eax
call fcn.004225b3
lea eax, [ebp - 0x3bc]
push eax
call sub.MSVCRT.dll_strlen
mov edi, eax
pop ecx
lea ecx, [ebp - 0x40]
lea eax, [edi + 7]
push eax
call fcn.00411c93
push 7
push ebx
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call fcn.00411cce
lea eax, [ebp - 0x3bc]
push edi
push eax
lea ecx, [ebp - 0x40]
call fcn.00411cce
lea ecx, [ebp - 0x40]
call fcn.00412465
push ebx
mov byte [eax], 0x84
mov word [eax + 1], di
mov dword [eax + 3], ebx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
call fcn.00412465
mov ecx, dword [esi + 0x7f8]
push eax
call fcn.004186bb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00411cb9
mov eax, dword [ebp - 0x28]
cmp eax, ebx
jne 0x42118c
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0042277f
jmp 0x4212c3
mov edi, dword [ebp - 0x14]
xor edx, edx
push 1
mov ecx, esi
lea edi, [edi + edi*4]
shl edi, 1
div edi
push eax
push ebx
push ebx
call fcn.004226ae
push dword [ebp - 0x14]
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x10], ebx
call fcn.00411c93
push 1
pop eax
mov dword [ebp - 4], eax
mov dword [esi + 0x840], eax
push dword [esi + 0x814]
mov ecx, esi
call fcn.0042203e
cmp dword [esi + 0x848], ebx
je 0x421266
lea eax, [ebp - 0x18]
push ebx
push eax
lea ecx, [ebp - 0x54]
push dword [ebp - 0x14]
call fcn.00412465
push eax
push dword [esi + 0x85c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x421201
cmp dword [ebp - 0x18], ebx
je 0x42129b
cmp dword [esi + 0x810], 0x14
jl 0x421222
mov eax, dword [esi + 0x7f8]
cmp byte [eax + 0x3a76], bl
je 0x421222
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x421201
push dword [ebp - 0x18]
lea ecx, [ebp - 0x54]
call fcn.00412465
push eax
mov ecx, esi
call fcn.004227d0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
cmp eax, edi
mov dword [ebp - 0x10], eax
jb 0x421258
push ebx
push ebx
push 0x405
mov dword [ebp - 0x10], ebx
push dword [esi + 0x828]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 0x840], ebx
jne 0x4211be
jmp 0x4212a5
push str.File_transfer_canceled
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push ebx
push dword [esi + 0x838]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, esi
call fcn.00422086
push str.File_transfer_canceled_by_user
mov ecx, esi
call fcn.00422854
jmp 0x4212a5
push dword [ebp - 0x20]
mov ecx, esi
call fcn.0042277f
cmp dword [esi + 0x848], ebx
je 0x421340
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
mov dword [esi + 0x840], ebx
call fcn.00411cb9
push ebx
push ebx
push 0x402
push dword [esi + 0x828]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x47a148
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [esi + 0x85c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x2c]
jl 0x420f50
jmp 0x42134c
push str.No_file_is_selected__nothing_to_download.
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
jmp 0x42136b
push str.Upload_failed:_could_not_open_selected_file
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov ecx, esi
call fcn.00422086
push ebx
push dword [esi + 0x838]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x42136b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00411cb9
push ebx
push dword [esi + 0x838]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, esi
call fcn.00422086
push ebx
push esi
mov ecx, esi
call fcn.004223f2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret