Function at 0x4057f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x42f00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
test edi, edi
je 0x405a06
cmp byte [edi], 0
je 0x405a06
mov eax, dword [0x430520]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
push ebx
push esi
mov dword [ebp - 0x40], eax
xor eax, eax
push str.0xKhTmLbOuNdArY
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
push str.Content_Type:_multipart_form_data__boundary_s
push eax
mov dword [ebp - 0x44], 0x100
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
call fcn.004069f0
mov eax, dword [0x430520]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], eax
xor eax, eax
push str.0xKhTmLbOuNdArY
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x28]
push str.___s_r_n
push eax
mov dword [ebp - 0x20], 0x800
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
call fcn.004069f0
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
add esp, 0x18
lea eax, [ebx + 0x44]
push eax
call fcn.00406ba0
test al, al
jne 0x4058b8
xor eax, eax
mov byte [eax], al
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
add esi, ebx
cmp eax, ebx
jbe 0x4058d4
sub eax, ebx
push eax
lea eax, [esi + 0x44]
push esi
push eax
call fcn.0040f240
add esp, 0xc
push 0x44
lea eax, [ebx + 0x44]
push str.Content_Disposition:_form_data__name_file___filename_test.bin__r_n_r_n
push esi
mov dword [ebp - 0x28], eax
call fcn.0041f3e0
mov esi, edi
add esp, 0xc
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4058f0
sub esi, ecx
je 0x405945
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
lea eax, [ebx + esi]
push eax
call fcn.00406ba0
test al, al
jne 0x405912
xor eax, eax
mov byte [eax], al
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
add ecx, ebx
mov dword [ebp - 0x50], ecx
cmp eax, ebx
jbe 0x405934
sub eax, ebx
push eax
push ecx
lea eax, [ecx + esi]
push eax
call fcn.0040f240
mov ecx, dword [ebp - 0x50]
add esp, 0xc
push esi
lea eax, [ebx + esi]
push edi
push ecx
mov dword [ebp - 0x28], eax
call fcn.0041f3e0
add esp, 0xc
mov esi, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
lea ebx, [esi + 2]
push ebx
call fcn.00406ba0
test al, al
jne 0x40595c
xor eax, eax
mov byte [eax], al
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x28]
add edi, esi
cmp eax, esi
jbe 0x405978
sub eax, esi
push eax
lea eax, [edi + 2]
push edi
push eax
call fcn.0040f240
add esp, 0xc
mov ax, word [0x42a710]
mov dword [ebp - 0x28], ebx
push str.0xKhTmLbOuNdArY
mov word [edi], ax
lea eax, [ebp - 0x28]
push str._r_n___s___r_n
push eax
call fcn.004069f0
push str.SendCrashInfo___finished
call fcn.00405580
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
add esp, 0x10
pop esi
pop ebx
cmp edx, eax
je 0x4059c7
mov ecx, dword [ebp - 8]
push edx
test ecx, ecx
jne 0x4059c2
call fcn.004130f2
add esp, 4
jmp 0x4059c7
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
cmp ecx, eax
je 0x405a11
mov edx, dword [ebp - 0x2c]
push ecx
test edx, edx
jne 0x4059f0
call fcn.004130f2
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e38c
mov esp, ebp
pop ebp
ret
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040e38c
mov esp, ebp
pop ebp
ret
push str.SendCrashInfo__:_s_is_empty
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0040e38c
mov esp, ebp
pop ebp
ret