Function at 0x10058280
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x102db074]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0xf
mov byte [esp + 0x4c], 0
call fcn.1005b3a0
mov edi, eax
test edi, edi
je 0x10058592
push str.Content_Type:application_json_charsetUTF_8
push 0
call fcn.1005b6b0
add esp, 8
mov dword [esp + 0x14], eax
test ebx, ebx
je 0x100582f4
push ebx
push eax
call fcn.1005b6b0
add esp, 8
mov dword [esp + 0x14], eax
push eax
push 0x2727
push edi
call fcn.1005eb90
add esp, 0xc
push dword [esp + 0x18]
push 0x2712
push edi
call fcn.1005eb90
add esp, 0xc
push dword [esp + 0x10]
push 0x271f
push edi
call fcn.1005eb90
add esp, 0xc
push 0x100581b0
push 0x4e2b
push edi
call fcn.1005eb90
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push 0x2711
push edi
call fcn.1005eb90
add esp, 0xc
push dword [ebp + 0x14]
push 0x2f
push edi
call fcn.1005eb90
add esp, 0xc
push 0xf
push 0xd
push edi
call fcn.1005eb90
add esp, 0xc
push 1
push 0x63
push edi
call fcn.1005eb90
add esp, 0xc
push 0
push 0x40
push edi
call fcn.1005eb90
add esp, 0xc
push 0
push 0x51
push edi
call fcn.1005eb90
add esp, 0xc
push 1
push 0x3a
push edi
call fcn.1005eb90
add esp, 0xc
push 1
push 0x34
push edi
call fcn.1005eb90
add esp, 0xc
push edi
call fcn.1005b3e0
add esp, 4
test eax, eax
je 0x10058557
push eax
call fcn.1005f330
mov edx, eax
mov dword [esp + 0x48], 0
mov ecx, edx
mov dword [esp + 0x4c], 0xf
add esp, 4
mov byte [esp + 0x34], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100583e0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.10057f30
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
add eax, 8
mov dword [esp + 0x2c], 0
push eax
mov dword [esp + 0x34], 0xf
mov byte [esp + 0x20], 0
call fcn.10058710
mov edx, dword [esp + 0x30]
mov eax, edx
mov ecx, dword [esp + 0x2c]
sub eax, ecx
push 8
push 0x102d6f6c
cmp eax, 8
jb 0x10058456
cmp edx, 0x10
lea esi, [esp + 0x24]
lea eax, [ecx + 8]
cmovae esi, dword [esp + 0x24]
add esi, ecx
mov dword [esp + 0x34], eax
push esi
call fcn.102153d0
add esp, 0xc
mov byte [esi + 8], 0
jmp 0x1005846a
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x24]
push dword [esp + 0x18]
push 8
call fcn.10057d90
cmp dword [esp + 0x48], 0x10
lea ecx, [esp + 0x34]
mov esi, dword [esp + 0x30]
mov eax, esi
cmovae ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
sub eax, edx
push ebx
push ecx
cmp ebx, eax
ja 0x100584b3
lea eax, [edx + ebx]
cmp esi, 0x10
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
cmovae eax, dword [esp + 0x24]
lea esi, [eax + edx]
push esi
call fcn.102153d0
add esp, 0xc
mov byte [ebx + esi], 0
jmp 0x100584c6
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x24]
push dword [esp + 0x18]
push ebx
call fcn.10057d90
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
call fcn.1004db60
mov edx, dword [esp + 0x30]
cmp edx, 0x10
jb 0x1005850a
mov ecx, dword [esp + 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10058500
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100585db
push edx
push ecx
call fcn.1005a226
add esp, 8
cmp dword [esp + 0x48], 0x10
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [esp + 0x48]
cmp edx, 0x10
jb 0x1005857d
mov ecx, dword [esp + 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1005854b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100585e0
push edx
push ecx
call fcn.1005a226
add esp, 8
jmp 0x1005857d
cmp dword [esp + 0x5c], 0
je 0x1005857d
test esi, esi
je 0x1005857d
cmp dword [esp + 0x60], 0x10
lea eax, [esp + 0x4c]
push dword [ebp + 0x1c]
cmovae eax, dword [esp + 0x50]
push eax
push esi
call fcn.10213e00
add esp, 0xc
push edi
call fcn.1005b360
add esp, 4
push dword [esp + 0x14]
call fcn.1005b6f0
add esp, 4
mov edx, dword [esp + 0x60]
cmp edx, 0x10
jb 0x100585c4
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100585ba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100585e5
push edx
push ecx
call fcn.1005a226
add esp, 8
mov ecx, dword [esp + 0x64]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1005a1f2
mov esp, ebp
pop ebp
ret 0x18
call fcn.102179fc
call fcn.102179fc
call fcn.102179fc
int3