Function at 0x4b6c70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x56adc0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0xc]
mov ebx, edx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x220], edi
mov dword [eax], edi
cmp ebx, edi
je 0x4b71fe
call fcn.004b73a0
mov dword [ebp - 0x228], eax
test eax, eax
jne 0x4b6cea
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f6bad
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4b6cf3
mov esi, str.Content_Type:_multipart_form_data
push eax
push esi
push str._s__boundary_s_r_n
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.004b68a0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4b7192
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x22c], ecx
or edi, dword [ebp - 0x218]
je 0x4b6d4e
push 0x55111c
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.004b68a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b716f
mov ecx, dword [ebp - 0x228]
push ecx
push str.___s_r_n
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.004b68a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4b716f
push str.Content_Disposition:_form_data__name_
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004b68a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b716f
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
push eax
lea ecx, [ebp - 0x210]
push esi
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004b6740
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b716f
push 0x54b04c
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.004b68a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b716f
cmp dword [ebx + 0x24], eax
je 0x4b6e3f
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4b6e04
push eax
call dword [0x56e84c]
add esp, 4
call fcn.004b73a0
mov edi, eax
mov dword [ebp - 0x220], edi
test edi, edi
je 0x4b713c
push edi
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004b68a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4b7175
mov edi, ebx
mov dword [ebp - 0x224], edi
cmp dword [ebx + 0x24], 0
je 0x4b6e8b
mov eax, dword [ebp - 0x220]
push eax
push str._r_n___s_r_nContent_Disposition:_attachment
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004b68a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4b716f
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov eax, edi
jmp 0x4b6eac
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x4b6ebe
cmp dword [ebx + 0x2c], 0
jne 0x4b6e9c
test al, 1
je 0x4b6eb6
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x210]
push edx
push eax
mov eax, ebx
call fcn.004b6ba0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4b716f
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4b6eeb
push eax
push str._r_nContent_Type:__s
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004b68a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4b716f
mov edi, dword [edi + 0x20]
test edi, edi
je 0x4b6f23
mov eax, dword [edi]
push eax
push str._r_n_s
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004b68a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4b716f
mov edi, dword [edi + 4]
test edi, edi
jne 0x4b6ef2
jmp 0x4b6f2b
test esi, esi
jne 0x4b716f
push str._r_n_r_n
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004b68a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b716f
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x4b6fce
test al, 0x10
je 0x4b6f80
mov edx, dword [ebx + 0x18]
push edx
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0x210]
push 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.004b6740
add esp, 0xc
mov esi, eax
jmp 0x4b70d8
test al, 0x40
je 0x4b6fa9
mov ecx, dword [ebx + 0x10]
push ecx
lea edx, [ebp - 0x210]
push 2
push edx
mov edx, dword [ebx + 0x30]
lea ecx, [ebp - 0x21c]
call fcn.004b6740
add esp, 0xc
mov esi, eax
jmp 0x4b70d8
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
push eax
lea ecx, [ebp - 0x210]
push 1
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004b6740
add esp, 0xc
mov esi, eax
jmp 0x4b70d8
mov edi, dword [ebp - 0x224]
mov edx, dword [edi + 0xc]
push edx
push 0x54d0d4
call sym.kometabrowsercmd.exe_curl_strequal
add esp, 8
test eax, eax
je 0x4b6ff0
call fcn.004f8241
jmp 0x4b7001
mov eax, dword [edi + 0xc]
push 0x550d58
push eax
call fcn.00528da3
add esp, 8
mov edi, eax
test edi, edi
je 0x4b70a5
call fcn.004f8241
push edi
cmp edi, eax
je 0x4b7046
call fcn.004f8dd9
mov edx, dword [ebp - 0x224]
mov edx, dword [edx + 0xc]
add esp, 4
push 0
lea ecx, [ebp - 0x210]
push 3
push ecx
lea ecx, [ebp - 0x21c]
call fcn.004b6740
add esp, 0xc
mov esi, eax
jmp 0x4b70d8
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.0052910a
add esp, 0x10
test eax, eax
je 0x4b70d8
push eax
lea ecx, [ebp - 0x210]
push 1
push ecx
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x20c]
call fcn.004b6740
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4b70d8
push edi
push 0x200
lea edx, [ebp - 0x20c]
push 1
push edx
call fcn.0052910a
add esp, 0x10
test eax, eax
jne 0x4b7064
jmp 0x4b70d8
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4b70c7
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0xc]
push edx
push str.couldnt_open_file___s_
push eax
call fcn.004c1e70
add esp, 0xc
mov eax, dword [ebp - 0x230]
mov dword [eax], 0
mov esi, 0x1a
mov ecx, dword [ebp - 0x224]
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x4b70fa
test esi, esi
jne 0x4b716f
mov edi, eax
jmp 0x4b6e47
test esi, esi
jne 0x4b716f
cmp dword [ebx + 0x24], esi
je 0x4b712b
mov edx, dword [ebp - 0x220]
push edx
push str._r_n___s__
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004b68a0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4b716f
mov ebx, dword [ebx]
test ebx, ebx
je 0x4b7143
mov edi, dword [ebp - 0x21c]
jmp 0x4b6d21
mov esi, 0x1b
jmp 0x4b7175
test esi, esi
jne 0x4b716f
mov edx, dword [ebp - 0x228]
push edx
push str._r_n___s___r_n
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004b68a0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4b71b5
mov edi, dword [ebp - 0x220]
lea edx, [ebp - 0x22c]
push edx
call fcn.004b6900
add esp, 4
test edi, edi
je 0x4b7192
push edi
call dword [0x56e84c]
add esp, 4
mov eax, dword [ebp - 0x228]
push eax
call dword [0x56e84c]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004f6bad
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x21c]
mov edx, dword [ebp - 0x218]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4b71e0
push eax
call dword [0x56e84c]
add esp, 4
mov eax, dword [ebp - 0x228]
push eax
call dword [0x56e84c]
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x230]
add esp, 4
mov dword [edx], ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004f6bad
mov esp, ebp
pop ebp
ret