Function at 0x406180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f2a8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5c84bc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea edi, [esi + 0x20]
push 0
mov dword [ebp - 0xac], eax
mov ecx, edi
mov eax, dword [ebp + 0xc]
push 0x5bbcb8
mov dword [ebp - 0xb4], eax
mov byte [ebp - 0xa5], 0
call fcn.00401530
push 0
lea ecx, [esi + 0x38]
push 0x5bbcb8
call fcn.00401530
lea eax, [esi + 4]
push 0
push 0x5bbcb8
mov ecx, eax
mov dword [ebp - 0xb0], eax
call fcn.00401530
push 0x400
lea eax, [esi + 0x50]
push 0
push eax
call fcn.005346b0
add esp, 0xc
cmp dword [esi + 0x1c], 0
je 0x40638b
push str.Content_Type:application_json
push 0
call fcn.004176b0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40638b
push ebx
push 0x2727
push dword [esi + 0x1c]
call fcn.00417580
add esp, 0xc
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0
push 0x5bbcb8
call fcn.00401530
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
push dword [ebp - 0xac]
call fcn.00403210
lea ecx, [ebp - 0x2c]
call fcn.004070e0
add esp, 0x18
test eax, eax
js 0x40633c
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x2712
push dword [esi + 0x1c]
call fcn.00417580
push 0x406710
push 0x4e2b
push dword [esi + 0x1c]
call fcn.00417580
push edi
push 0x2711
push dword [esi + 0x1c]
call fcn.00417580
lea eax, [esi + 0x38]
push eax
push 0x272d
push dword [esi + 0x1c]
call fcn.00417580
lea eax, [esi + 0x50]
push eax
push 0x271a
push dword [esi + 0x1c]
call fcn.00417580
push 0xa
push 0xd
push dword [esi + 0x1c]
call fcn.00417580
add esp, 0x48
push dword [esi + 0x1c]
call fcn.004144f0
add esp, 4
test eax, eax
je 0x4063af
push eax
call fcn.00417840
mov esi, eax
add esp, 4
mov edx, esi
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x406326
sub edx, ecx
mov ecx, dword [ebp - 0xb0]
push edx
push esi
call fcn.00401530
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406370
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406441
push edx
push ecx
call fcn.00532001
add esp, 8
push ebx
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
call fcn.004176f0
add esp, 4
mov al, byte [ebp - 0xa5]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00531ff3
mov esp, ebp
pop ebp
ret 0xc
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4063b9
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xa4]
call fcn.00521bd0
mov byte [ebp - 4], 5
cmp dword [esi + 0x30], 0
je 0x406404
push 1
push dword [ebp - 0xb4]
lea ecx, [ebp - 0xa4]
push edi
call fcn.00528610
test al, al
je 0x406404
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0xa5], 1
call fcn.00406450
jmp 0x40633c
lea ecx, [ebp - 0xa4]
call fcn.00406450
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406370
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x406366
call fcn.005375cf
int3