Function at 0x414120
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4345f5
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x445018]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x445018]
xor eax, esp
push eax
lea eax, [esp + 0x148]
mov dword fs:[0], eax
lea ecx, [esp + 0x128]
mov dword [esp + 0x150], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x12c]
push ecx
sub esp, 0x1c
mov byte [esp + 0x174], 6
lea edx, [esp + 0x17c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
lea esi, [esp + 0xfc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, esi
call fcn.00414720
xor ebx, ebx
add esp, 0x24
cmp al, bl
mov ebp, 0x10
je 0x4143e4
cmp dword [esp + 0xec], ebp
mov eax, dword [esp + 0xd8]
jae 0x414203
lea eax, [esp + 0xd8]
mov edi, dword [sym.imp.MSVCR80.dll_atol]
push eax
call edi
add esp, 4
test eax, eax
jle 0x4143e4
cmp dword [esp + 0x1c4], ebp
mov eax, dword [esp + 0x1b0]
jae 0x41422e
lea eax, [esp + 0x1b0]
push eax
call edi
add esp, 4
cmp dword [esp + 0xec], ebp
mov esi, eax
mov eax, dword [esp + 0xd8]
jae 0x41424d
lea eax, [esp + 0xd8]
push eax
call edi
add esp, 4
cmp esi, eax
jle 0x414381
call fcn.0041a590
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
cmp esi, dword [eax + 0x5c]
jge 0x4143e4
call fcn.00402130
call fcn.00429250
test al, 2
je 0x4142e5
push 1
push 2
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], str..FileUploadFileUploadUtility.cpp
mov dword [esp + 0x2c], str.yh_FileUpload::CFileUploadUtility::SetTestSpeedResult
mov dword [esp + 0x30], 0x27e
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push 0x439a94
lea edx, [esp + 0x3c]
mov byte [esp + 0x154], 8
push edx
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 6
call fcn.00428850
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x128]
mov byte [esp + 0x150], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x158]
mov byte [esp + 0x150], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x174]
mov byte [esp + 0x150], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x190]
mov byte [esp + 0x150], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x150], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
jmp 0x4146ec
call fcn.00402130
call fcn.00429250
test al, 2
je 0x4142e5
push 1
push 2
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], str..FileUploadFileUploadUtility.cpp
mov dword [esp + 0x2c], str.yh_FileUpload::CFileUploadUtility::SetTestSpeedResult
mov dword [esp + 0x30], 0x27b
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push 0x439a94
lea ecx, [esp + 0x3c]
mov byte [esp + 0x154], 7
push ecx
jmp 0x4142cc
cmp dword [esp + 0x170], 8
mov ebx, dword [esp + 0x15c]
jae 0x4143fc
lea ebx, [esp + 0x15c]
push 8
call fcn.00404e60
mov esi, eax
xor edi, edi
add esp, 4
cmp esi, edi
jne 0x414595
call fcn.00402130
mov esi, eax
mov eax, dword [esi + 4]
push edi
add eax, 0x14
push eax
lea ecx, [esp + 0x1c]
call fcn.004198b0
mov ecx, dword [esi + 4]
mov ebx, dword [ecx]
lea ecx, [esp + 0x14]
and ebx, 0x1f
call fcn.004021e0
test bl, 2
je 0x4144f8
lea edx, [esp + 0xb8]
push edx
lea ecx, [esp + 0x15c]
call fcn.00413e80
add esp, 4
mov esi, eax
push 1
mov bl, 9
mov byte [esp + 0x154], bl
push 2
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], str..FileUploadFileUploadUtility.cpp
mov dword [esp + 0x2c], str.yh_FileUpload::CFileUploadUtility::SetTestSpeedResult
mov dword [esp + 0x30], 0x289
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push str._file_open_failed.
push esi
lea eax, [esp + 0x40]
push str.SetTestSpeedResult__
push eax
mov byte [esp + 0x160], 0xa
call fcn.00401ae0
add esp, 8
push eax
call dword [sym.imp.MSVCP80.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___char__struct_std::char_traits_char___class_std::allocator_char___class_std::basic_ostream_char__struct_std::char_traits_char_____class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
call fcn.00401ae0
add esp, 8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], bl
call fcn.00428850
lea ecx, [esp + 0xb8]
mov byte [esp + 0x150], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x128]
mov byte [esp + 0x150], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x158]
mov byte [esp + 0x150], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x174]
mov byte [esp + 0x150], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x190]
mov byte [esp + 0x150], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x150], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
jmp 0x4146ec
lea ecx, [esp + 0x174]
push ecx
lea ecx, [esp + 0xf4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push 0x438444
lea ecx, [esp + 0xf4]
mov byte [esp + 0x154], 0xb
call dword [sym.imp.MSVCP80.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__]
lea edx, [esp + 0x190]
push edx
lea ecx, [esp + 0xf4]
call dword [sym.imp.MSVCP80.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__]
push 0x438444
lea ecx, [esp + 0xf4]
call dword [sym.imp.MSVCP80.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__]
lea eax, [esp + 0x1ac]
push eax
lea ecx, [esp + 0xf4]
call dword [sym.imp.MSVCP80.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__]
cmp dword [esp + 0x108], ebp
mov ecx, dword [esp + 0xf4]
jae 0x414617
lea ecx, [esp + 0xf4]
mov eax, dword [esi]
mov edx, dword [esp + 0x104]
push eax
push edx
push 1
push ecx
call dword [sym.imp.MSVCR80.dll_fwrite]
mov eax, dword [esi]
push eax
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 0x14
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0xf0]
mov byte [esp + 0x150], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0xd4]
mov byte [esp + 0x150], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x150], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x128]
mov byte [esp + 0x150], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x158]
mov byte [esp + 0x150], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x174]
mov byte [esp + 0x150], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x190]
mov byte [esp + 0x150], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x150], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x148]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00431147
add esp, 0x140
ret