Function at 0x4c2830
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x76c12c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x208], edi
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x220], edi
mov dword [eax], edi
cmp ebx, edi
je 0x4c2dfc
call fcn.004c2790
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x4c28a5
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4c28ae
mov esi, str.Content_Type:_multipart_form_data
push eax
push esi
push str._s__boundary_s_r_n
push 0
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4c28ee
mov edx, dword [ebp - 0x214]
push edx
call dword [0x75f004]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x21c], eax
lea ebx, [ebx]
or edi, dword [ebp - 0x20c]
je 0x4c292c
lea ecx, [ebp - 0x210]
push 0x693c5c
push ecx
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c2d1b
mov edx, dword [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push str.___s_r_n
push eax
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c2d1b
lea ecx, [ebp - 0x210]
push str.Content_Disposition:_form_data__name_
push ecx
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c2d1b
mov edx, dword [ebx + 8]
push edx
mov edx, dword [ebx + 4]
push eax
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x210]
call fcn.004c2300
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c2d1b
lea ecx, [ebp - 0x210]
push 0x713094
push ecx
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c2d1b
cmp dword [ebx + 0x24], eax
je 0x4c29fb
call fcn.004c2790
push eax
lea edx, [ebp - 0x210]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push edx
lea esi, [ebp - 0x208]
mov dword [ebp - 0x220], eax
call fcn.004c2430
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c2d1b
mov dword [ebp - 0x218], ebx
cmp dword [ebx + 0x24], 0
je 0x4c2a54
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x2c], 0
jne 0x4c2a1f
mov eax, dword [eax + 0xc]
call fcn.004c25a0
mov edi, eax
jmp 0x4c2a21
xor edi, edi
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x4c2a30
mov eax, edi
mov ecx, dword [ebp - 0x220]
push eax
push ecx
lea edx, [ebp - 0x210]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
push edx
lea esi, [ebp - 0x208]
call fcn.004c2430
add esp, 0x10
jmp 0x4c2a92
test byte [ebx + 0x28], 0x51
je 0x4c2aaa
cmp dword [ebx + 0x2c], 0
jne 0x4c2a6c
mov eax, dword [ebx + 0xc]
call fcn.004c25a0
mov edi, eax
jmp 0x4c2a6e
xor edi, edi
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x4c2a77
mov eax, edi
push eax
lea eax, [ebp - 0x210]
push str.__filename__s_
push eax
lea esi, [ebp - 0x208]
call fcn.004c2430
add esp, 0xc
mov esi, eax
test edi, edi
je 0x4c2aa2
push edi
call dword [0x75f004]
add esp, 4
test esi, esi
jne 0x4c2b95
mov ecx, dword [ebp - 0x218]
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4c2adc
push eax
lea edx, [ebp - 0x210]
push str._r_nContent_Type:__s
push edx
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c2b95
mov eax, dword [ebp - 0x218]
mov edi, dword [eax + 0x20]
test edi, edi
je 0x4c2b20
lea esp, [esp]
mov ecx, dword [edi]
push ecx
lea edx, [ebp - 0x210]
push str._r_n_s
push edx
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c2d1b
mov edi, dword [edi + 4]
test edi, edi
jne 0x4c2af0
jmp 0x4c2b28
test esi, esi
jne 0x4c2d1b
lea eax, [ebp - 0x210]
push str._r_n_r_n
push eax
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 8
test esi, esi
jne 0x4c2b95
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x4c2bd6
test al, 0x10
je 0x4c2b69
mov ecx, dword [ebx + 0x18]
push ecx
lea edx, [ebp - 0x208]
push 1
push edx
mov edx, dword [ebx + 0x14]
jmp 0x4c2b7d
test al, 0x40
je 0x4c2bc4
mov eax, dword [ebx + 0x10]
mov edx, dword [ebx + 0x30]
push eax
push 2
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 0x210]
call fcn.004c2300
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4c2c52
lea eax, [ebp - 0x21c]
push eax
call fcn.004c2490
mov ecx, dword [ebp - 0x214]
push ecx
call dword [0x75f004]
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x10]
push edx
mov edx, dword [ebx + 0xc]
push 1
lea eax, [ebp - 0x208]
push eax
jmp 0x4c2b7d
mov edi, dword [ebp - 0x218]
mov ecx, dword [edi + 0xc]
push ecx
push 0x691a9c
call fcn.004ac250
add esp, 8
test eax, eax
je 0x4c2bf8
call fcn.0058e039
jmp 0x4c2c09
mov edx, dword [edi + 0xc]
push 0x696b08
push edx
call fcn.00591eb3
add esp, 8
mov edi, eax
test edi, edi
je 0x4c2e0f
call fcn.0058e039
push edi
cmp edi, eax
je 0x4c2cb9
call fcn.0058eb79
mov edx, dword [ebp - 0x218]
mov edx, dword [edx + 0xc]
push 0
lea eax, [ebp - 0x208]
push 3
push eax
lea ecx, [ebp - 0x210]
call fcn.004c2300
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4c2d4a
mov eax, dword [ebp - 0x218]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x4c2a01
test esi, esi
jne 0x4c2b95
cmp dword [ebx + 0x24], esi
je 0x4c2ca4
mov edi, dword [ebp - 0x220]
push edi
lea ecx, [ebp - 0x210]
push str._r_n___s__
push ecx
lea esi, [ebp - 0x208]
call fcn.004c2430
push edi
mov esi, eax
call dword [0x75f004]
add esp, 0x10
test esi, esi
jne 0x4c2d1b
mov ebx, dword [ebx]
test ebx, ebx
je 0x4c2d79
mov edi, dword [ebp - 0x210]
jmp 0x4c2900
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.005905a1
add esp, 0x10
test eax, eax
je 0x4c2c52
push eax
lea ecx, [ebp - 0x208]
push 1
push ecx
lea ecx, [ebp - 0x210]
lea edx, [ebp - 0x204]
call fcn.004c2300
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4c2d4a
push edi
push 0x200
lea edx, [ebp - 0x204]
push 1
push edx
call fcn.005905a1
add esp, 0x10
test eax, eax
jne 0x4c2cd7
jmp 0x4c2c52
lea edx, [ebp - 0x21c]
push edx
call fcn.004c2490
mov eax, dword [ebp - 0x214]
push eax
call dword [0x75f004]
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004c2490
mov edx, dword [ebp - 0x214]
push edx
call dword [0x75f004]
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4c2d1b
mov edi, dword [ebp - 0x214]
push edi
lea ecx, [ebp - 0x210]
push str._r_n___s___r_n
push ecx
lea esi, [ebp - 0x208]
call fcn.004c2430
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4c2dcd
lea edx, [ebp - 0x21c]
push edx
call fcn.004c2490
push edi
call dword [0x75f004]
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x210]
mov edx, dword [ebp - 0x20c]
push edi
mov dword [eax], ecx
mov dword [eax + 4], edx
call dword [0x75f004]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x224]
add esp, 4
mov dword [ecx], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058cf08
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x21c]
push edx
call fcn.004c2490
mov eax, dword [ebp - 0x214]
push eax
call dword [0x75f004]
mov ecx, dword [ebp - 0x224]
add esp, 8
mov dword [ecx], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x1a
pop ebx
call fcn.0058cf08
mov esp, ebp
pop ebp
ret