Function at 0x10004ecf
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
push edi
mov ebx, ecx
mov esi, edx
push 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x14], eax
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
xor ecx, ecx
cmp eax, ecx
je 0x10004f27
lea edx, [esp + 0x20]
mov dword [eax], edx
mov dword [esp + 0x20], eax
jmp 0x10004f2b
mov dword [esp + 0x20], ecx
lea edi, [esp + 0x20]
mov eax, esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call fcn.100052fe
test al, al
jne 0x10004f70
lea esi, [esp + 0x20]
call fcn.10003013
push dword [esp + 0x20]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
pop ecx
xor al, al
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10005901
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0xe8]
call fcn.10005492
cmp dword [esp + 0xfc], 0
jne 0x10004f99
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x10004f46
mov ecx, dword [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
mov dword [esp + 0x18], eax
mov eax, dword [ebx]
mov ebx, dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], 0
mov eax, dword [esp + 0x3c]
mov esi, dword [eax + 0x18]
mov eax, dword [eax]
je 0x10004fd4
cmp dword [esp + 0x14], eax
je 0x10004fda
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esp + 0x18], esi
je 0x10005105
mov esi, 0x10007654
push esi
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0xb8]
push 0x10007658
push eax
call ebx
add esp, 0xc
push eax
lea eax, [esp + 0x80]
push eax
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xb0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push esi
lea esi, [esp + 0x18]
call fcn.100055f5
mov esi, eax
add esi, 0x1c
lea ecx, [esp + 0x44]
call fcn.10005492
push eax
push str.__r_n_r_n
lea esi, [esp + 0x20]
call fcn.100055f5
mov esi, eax
lea ecx, [esp + 0x68]
call fcn.10005492
push eax
lea eax, [esp + 0xdc]
push str.Content_Disposition:_form_data__name_
push eax
call ebx
add esp, 0xc
push eax
lea eax, [esp + 0xa4]
push eax
call edi
add esp, 0xc
push eax
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
push eax
lea eax, [esp + 0xb8]
push eax
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0xb0]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xcc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea esi, [esp + 0x14]
call fcn.10005622
jmp 0x10004fbe
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x104]
call fcn.10005492
cmp dword [esp + 0x118], 0
jne 0x10005131
lea ecx, [esp + 0x104]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x10004f8a
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x120]
call fcn.10005492
cmp dword [esp + 0x134], 0
jne 0x1000518e
xor bl, bl
lea ecx, [esp + 0x120]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x104]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xe8]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea esi, [esp + 0x20]
call fcn.10003013
push dword [esp + 0x20]
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
pop ecx
mov al, bl
jmp 0x10004f5b
mov esi, 0x10007654
push esi
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x64]
push 0x10007658
push eax
call ebx
add esp, 0xc
push eax
lea eax, [esp + 0x48]
push eax
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x1000768c
lea eax, [esp + 0x108]
push eax
push str.___filename_
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0xa4]
push str.Content_Disposition:_form_data__name_
push eax
call ebx
add esp, 0xc
push eax
lea eax, [esp + 0xdc]
push eax
call edi
add esp, 0xc
push eax
lea eax, [esp + 0x68]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 0xc
push eax
lea eax, [esp + 0x48]
push eax
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xcc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x10]
push str.Content_Type:_application_octet_stream_r_n
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov ecx, dword [esp + 0x10]
push esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
je 0x100052a6
test eax, eax
ja 0x10005294
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x30]
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const___unsigned_int_]
mov ecx, dword [esp + 0x10]
push esi
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_char_const__]
push str.___r_n
lea eax, [esp + 0xec]
push eax
lea eax, [esp + 0x64]
push 0x10007658
push eax
call ebx
add esp, 0xc
push eax
lea eax, [esp + 0x48]
push eax
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov bl, 1
jmp 0x1000514d