Function at 0x4678f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004d3ef0
mov eax, dword [0x51df40]
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 0x467bf4
test ecx, ecx
je 0x467bf4
mov dword [edi + 0x53c], ebx
push esi
cmp ebx, 0xc7
jle 0x46794b
cmp ebx, 0xcc
je 0x46794b
cmp ebx, 0x130
je 0x46794b
mov esi, 1
jmp 0x467963
xor esi, esi
cmp dword [edi + 0x524], esi
jne 0x4679d0
mov eax, dword [edi + 0x4a8]
cmp dword [eax + 0x7ca8], esi
je 0x4679d0
push edx
push 0
push ecx
lea eax, [ebp - 0x1004]
push 0x1000
push eax
call fcn.00401400
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 0x46799d
cmp eax, 0x1000
jb 0x4679c8
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.0040c9b0
add esp, 0x1c
mov eax, 0xfff
mov byte [ebp + eax - 0x1004], 0
cmp dword [edi + 0x524], 0
jne 0x467a18
mov eax, dword [edi + 0x4a8]
cmp dword [eax + 0x7ca8], 0
je 0x467a18
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 0x467be1
lea eax, [ebx - 0x64]
mov dword [edi + 0x51c], 1
cmp eax, 0x383
ja 0x467a53
cmp dword [edi], 1
jne 0x467a53
cmp dword [edi + 4], 1
je 0x467a53
cmp dword [edi + 8], 0
jne 0x467a53
push edi
mov dword [edi + 0x53c], ebx
mov dword [edi + 8], 1
call fcn.004636b0
add esp, 4
push edi
call fcn.0046b420
push edi
call fcn.0046b220
push edi
call fcn.0046b390
add esp, 0xc
test esi, esi
je 0x467b9a
cmp dword [edi], 1
jne 0x467b9a
cmp dword [edi + 4], 1
je 0x467b9a
cmp dword [edi + 8], 1
jne 0x467b9a
mov eax, dword [edi + 0x2a0]
mov dword [ebp - 0x100c], eax
cmp eax, 0x40
jge 0x467b9a
push 0xd
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x467ada
mov esi, str.Content_Type
mov edx, 0xd
mov ecx, eax
sub esi, eax
cmp edx, 1
jbe 0x467ad7
mov al, byte [esi + ecx]
dec edx
mov byte [ecx], al
inc ecx
cmp byte [esi + ecx], 0
jne 0x467ac5
mov byte [ecx], 0
mov eax, dword [ebp - 0x100c]
mov ecx, dword [ebp - 0x1008]
push 0x1a
mov dword [edi + eax*8 + 0x2a4], ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x467b2b
mov esi, str.text_plain__charsetutf_8
mov edx, 0x1a
mov ecx, eax
sub esi, eax
cmp edx, 1
jbe 0x467b22
mov al, byte [esi + ecx]
dec edx
mov byte [ecx], al
inc ecx
cmp byte [esi + ecx], 0
jne 0x467b10
mov eax, dword [ebp - 0x1008]
mov byte [ecx], 0
mov ecx, dword [ebp - 0x100c]
lea edx, [ecx + 0x55]
mov ecx, dword [edi + ecx*8 + 0x2a4]
mov dword [edi + edx*8], eax
lea edx, [edi + edx*8]
mov dword [ebp - 0x1008], edx
test ecx, ecx
je 0x467b60
test eax, eax
je 0x467b60
inc dword [edi + 0x2a0]
push edi
call fcn.004676f0
add esp, 4
jmp 0x467ba7
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push ecx
call esi
mov eax, dword [ebp - 0x100c]
push dword [edi + eax*8 + 0x2a8]
mov dword [edi + eax*8 + 0x2a4], 0
call esi
mov eax, dword [ebp - 0x1008]
push edi
mov dword [eax], 0
call fcn.004676f0
add esp, 0xc
jmp 0x467ba7
push edi
call fcn.004676f0
add esp, 4
test esi, esi
je 0x467be1
push ebx
push edi
call fcn.00466390
push eax
push ebx
push str.Error__d:__s_n
push edi
call fcn.00467190
lea ecx, [ebp - 0x1004]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x467bc7
sub ecx, edx
lea eax, [ebp - 0x1004]
push ecx
push eax
push edi
call fcn.004691a0
add esp, 0xc
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004d3ed5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xfffffffe
pop edi
xor ecx, ebp
pop ebx
call fcn.004d3ed5
mov esp, ebp
pop ebp
ret