Function at 0x433960
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1268
call fcn.00614da0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x4760], edi
je 0x433993
call fcn.00433390
mov ecx, ebx
call fcn.00434110
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1268
ret 4
mov esi, dword [esp + 0x127c]
mov ecx, dword [ebx + 0x1610]
mov eax, dword [esi + 8]
push eax
push str.Got_good_packet_at_Pos__ld
push 3
push ecx
call fcn.005fa2b0
mov eax, dword [ebx + 0x17e8]
mov dword [ebx + 0x1bc0], edi
mov edx, dword [esi + 8]
push edi
push edx
push eax
call fcn.00614b56
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x17e8]
lea edx, [esi + 0xc]
push ecx
push edx
push eax
call fcn.00614bf0
mov ecx, dword [esi + 4]
mov edx, dword [ebx + 0x17fc]
add esp, 0x28
add edx, ecx
cmp eax, 0xffffffff
mov dword [ebx + 0x17fc], edx
jne 0x433ad3
mov eax, dword [ebx + 0x17f8]
cmp eax, 1
jne 0x433a2e
mov eax, dword [0x6833d0]
lea edx, [ebx + 0x1658]
push edx
lea edx, [esp + 0x24]
mov ecx, dword [eax + 0x28]
add ecx, 0xd44
push ecx
push 0x66a7b8
push edx
call fcn.00613634
add esp, 0x10
jmp 0x433a72
cmp eax, 4
jne 0x433a5e
mov ecx, dword [0x6833d0]
lea eax, [ebx + 0x1658]
push eax
lea eax, [esp + 0x24]
mov edx, dword [ecx + 0x28]
add edx, 0x187b
push edx
push 0x66a7b8
push eax
call fcn.00613634
add esp, 0x10
jmp 0x433a72
lea ecx, [ebx + 0x1658]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00613634
add esp, 8
lea eax, [esp + 0x20]
push eax
call fcn.00613488
mov edx, dword [ebx + 0x1e4c]
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], 0x5e
push 1
push edi
push edi
push 0xc
push ecx
push edx
mov ecx, ebx
mov byte [esp + 0x2d], 0x32
call fcn.0042ab00
mov ecx, ebx
call fcn.00433390
mov ecx, ebx
call fcn.00434110
push 0x17ca
mov ecx, ebx
call fcn.0042ba10
pop edi
pop esi
mov dword [ebx + 0x4760], 1
pop ebp
pop ebx
add esp, 0x1268
ret 4
mov eax, dword [ebx + 0x10e0]
mov ecx, ebx
push eax
push 0x17a8
call fcn.0042ba20
mov ecx, dword [ebx + 0x17fc]
mov eax, dword [ebx + 0x17ec]
cmp ecx, eax
jne 0x433f20
mov edx, dword [ebx + 0x17e8]
push edx
call fcn.006145cc
add esp, 4
mov ecx, ebx
call fcn.00433390
mov ecx, dword [ebx + 0x1e4c]
push 1
push edi
push edi
lea eax, [esp + 0x20]
push 0xc
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x2c], 0x5e
mov byte [esp + 0x2d], 0x33
call fcn.0042ab00
mov eax, dword [ebx + 0x17f8]
cmp eax, 2
jne 0x433b44
mov dword [ebx + 0x26a8], edi
cmp eax, 1
jne 0x433b5b
push 0x17c8
mov ecx, ebx
mov dword [ebx + 0x3530], edi
call fcn.0042ba10
mov edx, dword [ebx + 0x10e0]
mov ecx, ebx
push edx
push 0x17aa
call fcn.0042ba20
mov eax, dword [ebx + 0x1610]
push str.Done_receiving_file.
push 3
push eax
call fcn.005fa2b0
mov ecx, dword [ebx + 0x17f8]
mov edx, dword [ebx + 0x1610]
push ecx
push str.Filetype___d
push 3
push edx
call fcn.005fa2b0
mov eax, dword [ebx + 0x17f8]
add esp, 0x1c
cmp eax, 2
jne 0x433f08
mov edi, str.multsave.tmp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x32c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x228]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x1658]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x6833d0]
call fcn.00424210
test eax, eax
je 0x433c47
lea ecx, [esp + 0x32c]
lea edx, [esp + 0x124]
push ecx
push 0x66d060
push 0x66a7b8
push edx
call fcn.00613634
lea eax, [esp + 0x238]
lea ecx, [esp + 0x30]
push eax
push 0x66d060
push 0x66a7b8
push ecx
jmp 0x433c92
mov eax, dword [0x6833d0]
lea edx, [esp + 0x32c]
push edx
lea edx, [esp + 0x128]
mov ecx, dword [eax + 0x28]
add ecx, 0xc3f
push ecx
push 0x66a7b8
push edx
call fcn.00613634
mov ecx, dword [0x6833d0]
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0x34]
mov edx, dword [ecx + 0x28]
add edx, 0xc3f
push edx
push 0x66a7b8
push eax
call fcn.00613634
mov edx, dword [ebx + 0x1610]
add esp, 0x20
lea ecx, [esp + 0x124]
push ecx
push str.sourcefile__s
push 3
push edx
call fcn.005fa2b0
mov ecx, dword [ebx + 0x1610]
lea eax, [esp + 0x30]
push eax
push str.targetfile__s
push 3
push ecx
call fcn.005fa2b0
push 0x180
lea edx, [esp + 0x148]
push 0x8002
push edx
call fcn.00614875
mov esi, eax
push 0x180
lea eax, [esp + 0x50]
push 0x8102
push eax
call fcn.00614875
push 0
push 0
push esi
mov ebp, eax
call fcn.00614b56
add esp, 0x44
push 0
push 0
push ebp
call fcn.00614b56
mov ecx, dword [ebx + 0x17ec]
push ecx
push 1
call fcn.006132aa
lea edx, [esp + 0x444]
push 0xe48
push edx
push esi
mov dword [esp + 0x30], eax
call fcn.0061467f
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x433d60
mov eax, dword [ebx + 0x17ec]
mov ecx, dword [esp + 0x10]
sub eax, 0xe48
push eax
push ecx
push esi
call fcn.0061467f
add esp, 0xc
mov edi, eax
jmp 0x433d77
mov edx, dword [ebx + 0x1610]
push esi
push str.ERROR:_retval___1_on__read_of_headerinfo___srchandle__d
push 3
push edx
call fcn.005fa2b0
add esp, 0x10
mov ecx, dword [0x683320]
lea eax, [esp + 0x430]
push eax
call fcn.0043cfe0
cmp edi, 0xffffffff
je 0x433dca
lea ecx, [esp + 0x430]
push 0xe48
push ecx
push ebp
call fcn.00614bf0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x433de1
mov eax, dword [ebx + 0x17ec]
mov ecx, dword [esp + 0x10]
sub eax, 0xe48
push eax
push ecx
push ebp
call fcn.00614bf0
add esp, 0xc
mov edi, eax
jmp 0x433df8
mov edx, dword [ebx + 0x1610]
push esi
push str.ERROR:_retval___1_on__read_of_buf___srchandle__d
push 3
push edx
call fcn.005fa2b0
add esp, 0x10
mov edx, dword [ebx + 0x1610]
push ebp
push str.ERROR:_retval___1_on__write_of_header___tgthandle__d
push 3
push edx
call fcn.005fa2b0
add esp, 0x10
push esi
call fcn.006145cc
push ebp
call fcn.006145cc
lea eax, [esp + 0x12c]
push eax
call fcn.00613488
mov ecx, dword [0x6833d0]
add esp, 0xc
call fcn.00424210
lea esi, [ebx + 0x26d0]
test eax, eax
push esi
je 0x433e31
push 0x66d060
jmp 0x433e40
mov edx, dword [0x6833d0]
mov eax, dword [edx + 0x28]
add eax, 0xc3f
push eax
lea ecx, [esp + 0x12c]
push 0x66a7b8
push ecx
call fcn.00613634
add esp, 0x10
lea edx, [esp + 0x20]
lea eax, [esp + 0x124]
push edx
push eax
call fcn.00615cc0
add esp, 8
test eax, eax
je 0x433e7a
mov ecx, dword [0x683320]
push esi
call fcn.0043d640
cmp edi, 0xffffffff
je 0x433ea9
mov ecx, dword [ebx + 0x17f4]
lea edx, [esp + 0x228]
mov dword [ebx + 0x20fc], ecx
push 0
push edx
mov ecx, ebx
call fcn.00435a40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1268
ret 4
mov eax, dword [ebx + 0x1610]
push ebp
push str.ERROR:_retval___1_on__write_of_buf___tgthandle__d
push 3
push eax
call fcn.005fa2b0
lea ecx, [esp + 0x30]
mov dword [ebx + 0x20fc], 0
push ecx
call fcn.00613488
mov ecx, dword [0x6833d0]
add esp, 0x14
mov edx, dword [ecx]
push 0
push 0
push 0xffffffffffffffff
push 0x2331
call dword [edx + 0x24]
mov ecx, dword [0x683328]
push eax
push 0x6819d0
call fcn.004255c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1268
ret 4
mov ecx, dword [0x683318]
push 2
push 0x66cf60
push str.ReceivingFile
push edi
call fcn.004c5050
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1268
ret 4