Function at 0x4303c0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1268
call fcn.005fc4b0
push ebx
push ebp
mov ebx, ecx
push esi
push edi
xor edi, edi
cmp dword [ebx + 0x4760], edi
je 0x4303f3
call fcn.0042fdf0
mov ecx, ebx
call fcn.00430b40
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.004bf420
mov eax, dword [ebx + 0x17e8]
mov dword [ebx + 0x1bc0], edi
mov edx, dword [esi + 8]
push edi
push edx
push eax
call fcn.005fc0f3
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x17e8]
lea edx, [esi + 0xc]
push ecx
push edx
push eax
call fcn.005fc18d
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 0x43050b
mov eax, dword [ebx + 0x17f8]
mov esi, 1
cmp eax, esi
jne 0x430495
mov eax, dword [0x6633d4]
lea edx, [ebx + 0x1658]
push edx
lea edx, [esp + 0x128]
mov ecx, dword [eax + 0x28]
add ecx, 0xd44
push ecx
push 0x64c6a0
push edx
call fcn.005faef4
add esp, 0x10
jmp 0x4304ac
lea eax, [ebx + 0x1658]
lea ecx, [esp + 0x124]
push eax
push ecx
call fcn.005faef4
add esp, 8
lea edx, [esp + 0x124]
push edx
call fcn.005fad48
mov ecx, dword [ebx + 0x1e4c]
add esp, 4
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 0x5e
push esi
push edi
push edi
push 0xc
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0x2d], 0x32
call fcn.00427610
mov ecx, ebx
call fcn.0042fdf0
mov ecx, ebx
call fcn.00430b40
push 0x17c9
mov ecx, ebx
call fcn.00428520
mov dword [ebx + 0x4760], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1268
ret 4
mov edx, dword [ebx + 0x10e0]
mov ecx, ebx
push edx
push 0x17a8
call fcn.00428530
mov eax, dword [ebx + 0x17fc]
mov ecx, dword [ebx + 0x17ec]
cmp eax, ecx
jne 0x430953
mov ecx, dword [ebx + 0x17e8]
push ecx
call fcn.005fbb69
add esp, 4
mov ecx, ebx
call fcn.0042fdf0
mov eax, dword [ebx + 0x1e4c]
push 1
push edi
push edi
lea edx, [esp + 0x20]
push 0xc
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x2c], 0x5e
mov byte [esp + 0x2d], 0x33
call fcn.00427610
mov eax, dword [ebx + 0x17f8]
cmp eax, 2
jne 0x43057c
mov dword [ebx + 0x26a8], edi
cmp eax, 1
jne 0x430593
push 0x17c7
mov ecx, ebx
mov dword [ebx + 0x3530], edi
call fcn.00428520
mov ecx, dword [ebx + 0x10e0]
push ecx
push 0x17aa
mov ecx, ebx
call fcn.00428530
mov edx, dword [ebx + 0x1610]
push str.Done_receiving_file.
push 3
push edx
call fcn.004bf420
mov eax, dword [ebx + 0x17f8]
mov ecx, dword [ebx + 0x1610]
push eax
push str.Filetype___d
push 3
push ecx
call fcn.004bf420
mov eax, dword [ebx + 0x17f8]
add esp, 0x1c
cmp eax, 2
jne 0x43093b
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 + 0x124]
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 [0x6633d4]
call fcn.004216f0
test eax, eax
je 0x43067f
lea ecx, [esp + 0x32c]
lea edx, [esp + 0x20]
push ecx
push 0x64ee98
push 0x64c6a0
push edx
call fcn.005faef4
lea eax, [esp + 0x134]
lea ecx, [esp + 0x238]
push eax
push 0x64ee98
push 0x64c6a0
push ecx
jmp 0x4306ca
mov eax, dword [0x6633d4]
lea edx, [esp + 0x32c]
push edx
lea edx, [esp + 0x24]
mov ecx, dword [eax + 0x28]
add ecx, 0xc3f
push ecx
push 0x64c6a0
push edx
call fcn.005faef4
mov ecx, dword [0x6633d4]
lea eax, [esp + 0x134]
push eax
lea eax, [esp + 0x23c]
mov edx, dword [ecx + 0x28]
add edx, 0xc3f
push edx
push 0x64c6a0
push eax
call fcn.005faef4
mov edx, dword [ebx + 0x1610]
add esp, 0x20
lea ecx, [esp + 0x20]
push ecx
push str.sourcefile__s
push 3
push edx
call fcn.004bf420
mov ecx, dword [ebx + 0x1610]
lea eax, [esp + 0x238]
push eax
push str.targetfile__s
push 3
push ecx
call fcn.004bf420
push 0x180
lea edx, [esp + 0x44]
push 0x8002
push edx
call fcn.005fbe12
mov esi, eax
push 0x180
lea eax, [esp + 0x258]
push 0x8102
push eax
call fcn.005fbe12
push 0
push 0
push esi
mov ebp, eax
call fcn.005fc0f3
add esp, 0x44
push 0
push 0
push ebp
call fcn.005fc0f3
mov ecx, dword [ebx + 0x17ec]
push ecx
push 1
call fcn.005fab6a
lea edx, [esp + 0x444]
push 0xe48
push edx
push esi
mov dword [esp + 0x30], eax
call fcn.005fbc1c
mov edi, eax
add esp, 0x20
cmp edi, 0xffffffff
je 0x430798
mov eax, dword [ebx + 0x17ec]
mov ecx, dword [esp + 0x10]
sub eax, 0xe48
push eax
push ecx
push esi
call fcn.005fbc1c
add esp, 0xc
mov edi, eax
jmp 0x4307af
mov edx, dword [ebx + 0x1610]
push esi
push str.ERROR:_retval___1_on__read_of_headerinfo___srchandle__d
push 3
push edx
call fcn.004bf420
add esp, 0x10
mov ecx, dword [0x66331c]
lea eax, [esp + 0x430]
push eax
call fcn.00439500
cmp edi, 0xffffffff
je 0x430802
lea ecx, [esp + 0x430]
push 0xe48
push ecx
push ebp
call fcn.005fc18d
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x430819
mov eax, dword [ebx + 0x17ec]
mov ecx, dword [esp + 0x10]
sub eax, 0xe48
push eax
push ecx
push ebp
call fcn.005fc18d
add esp, 0xc
mov edi, eax
jmp 0x430830
mov edx, dword [ebx + 0x1610]
push esi
push str.ERROR:_retval___1_on__read_of_buf___srchandle__d
push 3
push edx
call fcn.004bf420
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.004bf420
add esp, 0x10
push esi
call fcn.005fbb69
push ebp
call fcn.005fbb69
lea eax, [esp + 0x28]
push eax
call fcn.005fad48
mov ecx, dword [0x6633d4]
add esp, 0xc
call fcn.004216f0
lea esi, [ebx + 0x26d0]
test eax, eax
push esi
je 0x430866
push 0x64ee98
jmp 0x430875
mov edx, dword [0x6633d4]
mov eax, dword [edx + 0x28]
add eax, 0xc3f
push eax
lea ecx, [esp + 0x28]
push 0x64c6a0
push ecx
call fcn.005faef4
add esp, 0x10
lea edx, [esp + 0x228]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.005fd5a0
add esp, 8
test eax, eax
je 0x4308ac
mov ecx, dword [0x66331c]
push esi
call fcn.00439b60
cmp edi, 0xffffffff
je 0x4308db
mov ecx, dword [ebx + 0x17f4]
lea edx, [esp + 0x124]
mov dword [ebx + 0x20fc], ecx
push 0
push edx
mov ecx, ebx
call fcn.00432400
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.004bf420
lea ecx, [esp + 0x238]
mov dword [ebx + 0x20fc], 0
push ecx
call fcn.005fad48
mov ecx, dword [0x6633d4]
add esp, 0x14
mov edx, dword [ecx]
push 0
push 0xffffffffffffffff
push 0x2331
call dword [edx + 0x24]
mov ecx, dword [0x663334]
push eax
push 0x6619f0
call fcn.00422b60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1268
ret 4
mov ecx, dword [0x66332c]
push 2
push 0x64ed98
push str.ReceivingFile
push edi
call fcn.004be480
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1268
ret 4