Function at 0x100337c0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x268
mov eax, dword [0x1006cbfc]
xor eax, esp
mov dword [esp + 0x264], eax
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x27c]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x280]
push esi
mov esi, dword [esp + 0x278]
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [ecx], ebx
cmp eax, ebx
jne 0x1003383c
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.1005aa0a
add esp, 0x268
ret
push edi
push esi
call fcn.10027640
add esp, 4
push eax
push esi
call fcn.10027640
add esp, 4
push eax
push str._________________________08x_08x
call fcn.10011940
mov edi, eax
add esp, 0xc
mov dword [esp + 0x28], edi
test edi, edi
jne 0x10033870
lea eax, [edi + 0x1b]
jmp 0x10033e24
test ebp, ebp
jne 0x10033879
mov ebp, str.Content_Type:_multipart_form_data
push edi
push ebp
push str._s__boundary_s_r_n
push 0
lea esi, [esp + 0x20]
call fcn.10033320
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100338a5
push edi
call dword [0x1006cbe4]
add esp, 4
mov eax, esi
jmp 0x10033e24
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
lea ecx, [ecx]
or ebx, dword [esp + 0x18]
je 0x100338da
lea ecx, [esp + 0x14]
push 0x1005e0b8
push ecx
lea esi, [esp + 0x18]
call fcn.10033320
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10033dba
mov edi, dword [esp + 0x28]
push edi
lea edx, [esp + 0x18]
push str.___s_r_n
push edx
lea esi, [esp + 0x1c]
call fcn.10033320
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033dba
lea eax, [esp + 0x14]
push str.Content_Disposition:_form_data__name_
push eax
call fcn.10033320
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10033dba
lea ecx, [esp + 0x14]
push ecx
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov edx, esi
push edx
call fcn.100331d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033dba
lea eax, [esp + 0x14]
push 0x1006511c
push eax
call fcn.10033320
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10033dba
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x24], ebx
je 0x100339c9
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10033973
push eax
call dword [0x1006cbe4]
add esp, 4
mov esi, dword [esp + 0x2c]
push esi
call fcn.10027640
add esp, 4
push eax
push esi
call fcn.10027640
add esp, 4
push eax
push str._________________________08x_08x
call fcn.10011940
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x10033d8e
push eax
lea ecx, [esp + 0x18]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push ecx
lea esi, [esp + 0x1c]
call fcn.10033320
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033dba
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], eax
lea ecx, [ecx]
cmp dword [eax + 0x24], 0
je 0x10033a01
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x18]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea esi, [esp + 0x1c]
call fcn.10033320
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033dba
mov eax, dword [esp + 0x1c]
jmp 0x10033a14
mov ecx, dword [eax + 0x28]
test cl, 0x51
je 0x10033a30
cmp dword [eax + 0x2c], 0
jne 0x10033a14
test cl, 1
je 0x10033a28
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.10033510
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10033dba
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x10033a5c
push eax
lea ecx, [esp + 0x18]
push str._r_nContent_Type:__s
push ecx
lea esi, [esp + 0x1c]
call fcn.10033320
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033dba
mov edx, dword [esp + 0x1c]
mov edi, dword [edx + 0x20]
test edi, edi
je 0x10033a93
mov eax, dword [edi]
push eax
lea ecx, [esp + 0x18]
push str._r_n_s
push ecx
lea esi, [esp + 0x1c]
call fcn.10033320
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033dba
mov edi, dword [edi + 4]
test edi, edi
jne 0x10033a67
jmp 0x10033a9b
test ebx, ebx
jne 0x10033dba
lea edx, [esp + 0x14]
push str._r_n_r_n
push edx
lea esi, [esp + 0x18]
call fcn.10033320
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10033dba
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x28]
test cl, 3
jne 0x10033b5d
test cl, 0x10
je 0x10033aef
mov ebx, dword [eax + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x18]
mov edx, esi
push 1
push edx
call fcn.100331d0
add esp, 0xc
mov ebx, eax
jmp 0x10033d2d
test cl, 0x40
je 0x10033b3c
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0x30]
push 0x10
call dword [0x1006cbe0]
xor ebx, ebx
add esp, 4
cmp eax, ebx
jne 0x10033b15
mov ebx, 0x1b
jmp 0x10033d2d
mov ecx, dword [esp + 0x10]
mov dword [eax], ebx
mov dword [eax + 8], esi
mov dword [eax + 4], 2
mov dword [esp + 0x10], eax
cmp ecx, ebx
je 0x10033b2f
mov dword [ecx], eax
add dword [esp + 0x14], edi
adc dword [esp + 0x18], ebx
jmp 0x10033d2d
mov ebx, dword [eax + 0xc]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
lea edx, [esp + 0x14]
push 1
push edx
call fcn.100331d0
add esp, 0xc
mov ebx, eax
jmp 0x10033d2d
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xc]
push ecx
push 0x1005e69c
call fcn.1002d620
add esp, 8
test eax, eax
je 0x10033b7d
call sub.MSVCR120.dll___iob_func
jmp 0x10033b92
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0xc]
push 0x10065048
push eax
call sub.MSVCR120.dll_fopen
add esp, 8
mov ebp, eax
test ebp, ebp
je 0x10033d00
call sub.MSVCR120.dll___iob_func
push ebp
cmp ebp, eax
je 0x10033c4c
call sub.MSVCR120.dll_fclose
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx + 0xc]
push 0x10
call dword [0x1006cbe0]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10033bd1
mov ebx, 0x1b
jmp 0x10033d2d
mov eax, dword [esp + 0x10]
mov dword [esi], 0
mov dword [esi + 8], edi
mov dword [esi + 4], 3
mov dword [esp + 0x10], esi
test eax, eax
je 0x10033bef
mov dword [eax], esi
mov edx, dword [esi + 8]
push edx
push 0x1005e69c
call fcn.1002d620
add esp, 8
test eax, eax
jne 0x10033c3b
mov ecx, dword [esi + 8]
lea eax, [esp + 0x3c]
push eax
push ecx
call sub.MSVCR120.dll__stat64
add esp, 8
test eax, eax
jne 0x10033c42
mov edx, dword [esp + 0x42]
and edx, 0xf000
cmp edx, 0x4000
je 0x10033c42
mov eax, dword [esp + 0x54]
add dword [esp + 0x14], eax
mov ecx, dword [esp + 0x58]
adc dword [esp + 0x18], ecx
xor ebx, ebx
jmp 0x10033d2d
mov ebx, 0x2b
jmp 0x10033d2d
push 0x200
lea edx, [esp + 0x7c]
push 1
push edx
call sub.MSVCR120.dll_fread
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10033d2d
xor ebx, ebx
lea esp, [esp]
push 0x10
call dword [0x1006cbe0]
mov edi, eax
add esp, 4
test edi, edi
je 0x10033bc7
lea eax, [esi + 1]
push eax
mov dword [edi], ebx
call dword [0x1006cbe0]
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x10033cef
push esi
lea ecx, [esp + 0x78]
push ecx
push eax
call sub.ntdll.dll_memcpy
mov edx, dword [edi + 8]
add esp, 0xc
mov dword [edi + 0xc], esi
mov byte [esi + edx], bl
mov dword [edi + 4], 1
cmp dword [esp + 0x10], ebx
je 0x10033cc6
mov eax, dword [esp + 0x10]
mov dword [eax], edi
add dword [esp + 0x14], esi
push ebp
push 0x200
adc dword [esp + 0x20], ebx
lea ecx, [esp + 0x7c]
push 1
push ecx
mov dword [esp + 0x20], edi
call sub.MSVCR120.dll_fread
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033c70
jmp 0x10033d2d
push edi
call dword [0x1006cbe4]
add esp, 4
mov ebx, 0x1b
jmp 0x10033d2d
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10033d1e
mov edx, dword [esp + 0x1c]
mov ecx, dword [edx + 0xc]
push ecx
push str.couldnt_open_file___s_
push eax
call fcn.1000c590
add esp, 0xc
mov edx, dword [esp + 0x34]
mov dword [edx], 0
mov ebx, 0x1a
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10033d49
test ebx, ebx
jne 0x10033dba
mov eax, dword [esp + 0x20]
jmp 0x100339d0
test ebx, ebx
jne 0x10033dba
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x24], ebx
je 0x10033d77
mov ecx, dword [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push str._r_n___s__
push edx
lea esi, [esp + 0x1c]
call fcn.10033320
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x10033dba
mov eax, dword [edi]
mov dword [esp + 0x20], eax
test eax, eax
je 0x10033d95
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x28]
jmp 0x100338b0
mov ebx, 0x1b
jmp 0x10033dba
test ebx, ebx
jne 0x10033dba
mov edi, dword [esp + 0x28]
push edi
lea eax, [esp + 0x18]
push str._r_n___s___r_n
push eax
lea esi, [esp + 0x1c]
call fcn.10033320
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x10033deb
lea ecx, [esp + 0x30]
push ecx
call fcn.10033390
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x10033dd9
push eax
call dword [0x1006cbe4]
add esp, 4
mov edx, dword [esp + 0x28]
push edx
call dword [0x1006cbe4]
add esp, 4
mov eax, ebx
jmp 0x10033e24
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10033e0e
push eax
call dword [0x1006cbe4]
add esp, 4
push edi
call dword [0x1006cbe4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [esp + 0x274]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1005aa0a
add esp, 0x268
ret