Function at 0x43fef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4d8c20]
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 0x44047e
call fcn.00440620
mov dword [ebp - 0x228], eax
test eax, eax
jne 0x43ff6a
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004751dc
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x43ff73
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.0043fb20
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x440412
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x22c], ecx
or edi, dword [ebp - 0x218]
je 0x43ffce
push 0x4c0478
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0043fb20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4403ef
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.0043fb20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4403ef
push str.Content_Disposition:_form_data__name_
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0043fb20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4403ef
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.0043f9c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4403ef
push 0x4c04ac
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x210]
push eax
call fcn.0043fb20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4403ef
cmp dword [ebx + 0x24], eax
je 0x4400bf
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x440084
push eax
call dword [0x4dc04c]
add esp, 4
call fcn.00440620
mov edi, eax
mov dword [ebp - 0x220], edi
test edi, edi
je 0x4403bc
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.0043fb20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4403f5
mov edi, ebx
mov dword [ebp - 0x224], edi
cmp dword [ebx + 0x24], 0
je 0x44010b
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.0043fb20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4403ef
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
mov eax, edi
jmp 0x44012c
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x44013e
cmp dword [ebx + 0x2c], 0
jne 0x44011c
test al, 1
je 0x440136
lea edx, [ebp - 0x21c]
lea eax, [ebp - 0x210]
push edx
push eax
mov eax, ebx
call fcn.0043fe20
mov esi, eax
add esp, 8
test esi, esi
jne 0x4403ef
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x44016b
push eax
push str._r_nContent_Type:__s
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.0043fb20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4403ef
mov edi, dword [edi + 0x20]
test edi, edi
je 0x4401a3
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.0043fb20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4403ef
mov edi, dword [edi + 4]
test edi, edi
jne 0x440172
jmp 0x4401ab
test esi, esi
jne 0x4403ef
push str._r_n_r_n
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.0043fb20
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4403ef
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x44024e
test al, 0x10
je 0x440200
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.0043f9c0
add esp, 0xc
mov esi, eax
jmp 0x440358
test al, 0x40
je 0x440229
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.0043f9c0
add esp, 0xc
mov esi, eax
jmp 0x440358
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.0043f9c0
add esp, 0xc
mov esi, eax
jmp 0x440358
mov edi, dword [ebp - 0x224]
mov edx, dword [edi + 0xc]
push edx
push 0x4c042c
call sym.kometabrowsercmd.exe_curl_strequal
add esp, 8
test eax, eax
je 0x440270
call fcn.0047650e
jmp 0x440281
mov eax, dword [edi + 0xc]
push 0x4c00b0
push eax
call fcn.004a2747
add esp, 8
mov edi, eax
test edi, edi
je 0x440325
call fcn.0047650e
push edi
cmp edi, eax
je 0x4402c6
call fcn.004772da
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.0043f9c0
add esp, 0xc
mov esi, eax
jmp 0x440358
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.004a31aa
add esp, 0x10
test eax, eax
je 0x440358
push eax
lea ecx, [ebp - 0x210]
push 1
push ecx
lea ecx, [ebp - 0x21c]
lea edx, [ebp - 0x20c]
call fcn.0043f9c0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x440358
push edi
push 0x200
lea edx, [ebp - 0x20c]
push 1
push edx
call fcn.004a31aa
add esp, 0x10
test eax, eax
jne 0x4402e4
jmp 0x440358
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x440347
mov ecx, dword [ebp - 0x224]
mov edx, dword [ecx + 0xc]
push edx
push str.couldnt_open_file___s_
push eax
call fcn.0044b120
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 0x44037a
test esi, esi
jne 0x4403ef
mov edi, eax
jmp 0x4400c7
test esi, esi
jne 0x4403ef
cmp dword [ebx + 0x24], esi
je 0x4403ab
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.0043fb20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4403ef
mov ebx, dword [ebx]
test ebx, ebx
je 0x4403c3
mov edi, dword [ebp - 0x21c]
jmp 0x43ffa1
mov esi, 0x1b
jmp 0x4403f5
test esi, esi
jne 0x4403ef
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.0043fb20
mov esi, eax
add esp, 0x10
test esi, esi
je 0x440435
mov edi, dword [ebp - 0x220]
lea edx, [ebp - 0x22c]
push edx
call fcn.0043fb80
add esp, 4
test edi, edi
je 0x440412
push edi
call dword [0x4dc04c]
add esp, 4
mov eax, dword [ebp - 0x228]
push eax
call dword [0x4dc04c]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004751dc
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 0x440460
push eax
call dword [0x4dc04c]
add esp, 4
mov eax, dword [ebp - 0x228]
push eax
call dword [0x4dc04c]
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.004751dc
mov esp, ebp
pop ebp
ret