Function at 0x4800f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0054f750
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4803f1
test ecx, ecx
je 0x4803f1
mov dword [edi + 0x53c], ebx
push esi
cmp ebx, 0xc7
jle 0x48014b
cmp ebx, 0xcc
je 0x48014b
cmp ebx, 0x130
je 0x48014b
mov esi, 1
jmp 0x480163
xor esi, esi
cmp dword [edi + 0x524], esi
jne 0x4801d0
mov eax, dword [edi + 0x4a8]
cmp dword [eax + 0x7ca8], esi
je 0x4801d0
push edx
push 0
push ecx
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.00401440
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf]
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x48019d
cmp eax, 0x1000
jb 0x4801c8
lea eax, [ebp - 0x1004]
push eax
push 0xc8
push str.truncating_vsnprintf_buffer:___.s_
push 0xcb4
push str.mg_vsnprintf
push 0
push edi
call fcn.00417540
add esp, 0x1c
mov eax, 0xfff
mov byte [ebp + eax - 0x1004], 0
cmp dword [edi + 0x524], 0
jne 0x480218
mov eax, dword [edi + 0x4a8]
cmp dword [eax + 0x7ca8], 0
je 0x480218
lea ecx, [ebp - 0x1004]
mov dword [edi + 0x524], 1
mov eax, dword [eax + 0x7ca8]
push ecx
push ebx
push edi
call eax
add esp, 0xc
mov dword [edi + 0x524], 0
test eax, eax
je 0x4803de
lea eax, [ebx - 0x64]
mov dword [edi + 0x51c], 1
cmp eax, 0x383
ja 0x480253
cmp dword [edi], 1
jne 0x480253
cmp dword [edi + 4], 1
je 0x480253
cmp dword [edi + 8], 0
jne 0x480253
push edi
mov dword [edi + 0x53c], ebx
mov dword [edi + 8], 1
call fcn.0047be90
add esp, 4
push edi
call fcn.00483c60
push edi
call fcn.00483a60
push edi
call fcn.00483bd0
add esp, 0xc
test esi, esi
je 0x480397
cmp dword [edi], 1
jne 0x480397
cmp dword [edi + 4], 1
je 0x480397
cmp dword [edi + 8], 1
jne 0x480397
mov eax, dword [edi + 0x2a0]
mov dword [ebp - 0x1008], eax
cmp eax, 0x40
jge 0x480397
push 0xd
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x4802e0
mov esi, str.Content_Type
mov edx, 0xd
mov ecx, eax
sub esi, eax
cmp edx, 1
jbe 0x4802d7
mov al, byte [esi + ecx]
dec edx
mov byte [ecx], al
inc ecx
cmp byte [esi + ecx], 0
jne 0x4802c5
mov eax, dword [ebp - 0x100c]
mov byte [ecx], 0
mov ecx, dword [ebp - 0x1008]
push 0x1a
mov dword [edi + ecx*8 + 0x2a4], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x100c], eax
test eax, eax
je 0x48032b
mov esi, str.text_plain__charsetutf_8
mov edx, 0x1a
mov ecx, eax
sub esi, eax
cmp edx, 1
jbe 0x480322
mov al, byte [esi + ecx]
dec edx
mov byte [ecx], al
inc ecx
cmp byte [esi + ecx], 0
jne 0x480310
mov eax, dword [ebp - 0x100c]
mov byte [ecx], 0
mov ecx, dword [ebp - 0x1008]
mov dword [edi + ecx*8 + 0x2a8], eax
mov ecx, dword [edi + ecx*8 + 0x2a4]
test ecx, ecx
je 0x480358
test eax, eax
je 0x480358
inc dword [edi + 0x2a0]
push edi
call fcn.0047fef0
add esp, 4
jmp 0x4803a4
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ecx
call esi
mov eax, dword [ebp - 0x1008]
push dword [edi + eax*8 + 0x2a8]
mov dword [edi + eax*8 + 0x2a4], 0
call esi
mov ecx, dword [ebp - 0x1008]
push edi
mov dword [edi + ecx*8 + 0x2a8], 0
call fcn.0047fef0
add esp, 0xc
jmp 0x4803a4
push edi
call fcn.0047fef0
add esp, 4
test esi, esi
je 0x4803de
push ebx
push edi
call fcn.0047eba0
push eax
push ebx
push str.Error__d:__s_n
push edi
call fcn.0047f990
lea ecx, [ebp - 0x1004]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4803c4
sub ecx, edx
lea eax, [ebp - 0x1004]
push ecx
push eax
push edi
call fcn.00481930
add esp, 0xc
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
xor ecx, ebp
pop ebx
call fcn.0054f742
mov esp, ebp
pop ebp
ret