Function at 0x10013cf0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a85e
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.1001cfc0
mov eax, dword [0x10080704]
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 edi, edx
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
and dword [ebp - 0x10f4], 0xfffffe00
mov dword [ebp - 0x10b8], eax
mov dword [ebp - 0x10f0], ebx
mov dword [ebp - 4], 1
and dword [ebp - 0x10e4], 0xfffffe00
mov dword [ebp - 0x10e0], ebx
push 0x1007012c
lea ecx, [ebp - 0x10cc]
mov byte [ebp - 4], 3
call fcn.100097e0
lea eax, [ebp - 0x10cc]
mov byte [ebp - 4], 4
push eax
sub esp, 8
lea ecx, [ebp - 0x10fc]
push str.type
call fcn.1000a3e0
add esp, 4
mov ecx, eax
call fcn.10009bc0
lea ecx, [ebp - 0x10cc]
mov byte [ebp - 4], 3
call fcn.10009b00
push esi
lea ecx, [ebp - 0x10cc]
call fcn.100097e0
lea eax, [ebp - 0x10cc]
mov byte [ebp - 4], 5
push eax
sub esp, 8
lea ecx, [ebp - 0x10ec]
push str.file_id
call fcn.1000a3e0
add esp, 4
mov ecx, eax
call fcn.10009bc0
lea ecx, [ebp - 0x10cc]
mov byte [ebp - 4], 3
call fcn.10009b00
push edi
lea ecx, [ebp - 0x10cc]
call fcn.100097e0
lea eax, [ebp - 0x10cc]
mov byte [ebp - 4], 6
push eax
sub esp, 8
lea ecx, [ebp - 0x10ec]
push str.login_name
call fcn.1000a3e0
add esp, 4
mov ecx, eax
call fcn.10009bc0
lea ecx, [ebp - 0x10cc]
mov byte [ebp - 4], 3
call fcn.10009b00
lea eax, [ebp - 0x10ec]
push eax
sub esp, 8
lea ecx, [ebp - 0x10fc]
push str.data
call fcn.1000a3e0
add esp, 4
mov ecx, eax
call fcn.10009bc0
lea eax, [ebp - 0x102c]
push eax
lea ecx, [ebp - 0x10fc]
call fcn.1000a920
push 0x1000
push ebx
lea eax, [ebp - 0x1014]
mov byte [ebp - 4], 7
push eax
call fcn.10033470
add esp, 0xc
lea ecx, [ebp - 0x1014]
cmp dword [ebp - 0x1018], 0x10
lea eax, [ebp - 0x102c]
cmovae eax, dword [ebp - 0x102c]
push ebx
push 0x3e8
push 0x1000
push ecx
push dword [ebp - 0x101c]
push eax
push str.OperateAuthorizeFileSql
call fcn.10001020
push 0x10070130
mov esi, eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test esi, esi
je 0x1001405d
lea esi, [ebp - 0x1014]
lea ecx, [esi + 1]
nop word [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10013ee0
sub esi, ecx
jne 0x10013ef2
xor ebx, ebx
jmp 0x1001405d
and dword [ebp - 0x10d4], 0xfffffe00
mov dword [ebp - 0x10d0], 0
and dword [ebp - 0x10c4], 0xfffffe00
mov dword [ebp - 0x10c0], 0
lea ecx, [ebp - 0x10b4]
mov byte [ebp - 4], 0xb
call fcn.10005250
push ecx
lea eax, [ebp - 0x10dc]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x1014]
add eax, esi
lea ecx, [ebp - 0x10b4]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.10005400
test al, al
je 0x1001403c
push ecx
push str.error
lea ecx, [ebp - 0x10dc]
call fcn.1000a3e0
lea ecx, [ebp - 0x1044]
push ecx
mov ecx, eax
call fcn.10009e10
cmp dword [eax + 0x14], 0x10
jb 0x10013f7f
mov eax, dword [eax]
push eax
call fcn.10043020
mov edx, dword [ebp - 0x1030]
add esp, 4
mov esi, eax
cmp edx, 0x10
jb 0x10013fc4
mov ecx, dword [ebp - 0x1044]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10013fba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100140e2
push edx
push ecx
call fcn.1001bf11
add esp, 8
test esi, esi
jne 0x1001403c
push ecx
push str.data
lea ecx, [ebp - 0x10dc]
call fcn.1000a3e0
mov ecx, dword [ebp - 0x10b8]
push eax
call fcn.10009bc0
mov eax, dword [ebp - 0x1034]
and eax, 0xffffff01
mov dword [ebp - 0x1030], esi
or eax, 1
mov dword [ebp - 0x103c], esi
mov dword [ebp - 0x1034], eax
mov ecx, dword [ebp - 0x10b8]
lea eax, [ebp - 0x103c]
push eax
call fcn.10009c40
lea ecx, [ebp - 0x103c]
mov bl, al
call fcn.10009b00
xor eax, eax
test bl, bl
mov dword [ebp - 0x10b8], eax
mov eax, 1
mov ebx, dword [ebp - 0x10b8]
cmove ebx, eax
lea ecx, [ebp - 0x10b4]
call fcn.10007610
lea ecx, [ebp - 0x10cc]
call fcn.10009b00
lea ecx, [ebp - 0x10dc]
call fcn.10009b00
mov edx, dword [ebp - 0x1018]
cmp edx, 0x10
jb 0x10014093
mov ecx, dword [ebp - 0x102c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10014089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100140e7
push edx
push ecx
call fcn.1001bf11
add esp, 8
lea ecx, [ebp - 0x10ec]
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 0xf
mov byte [ebp - 0x102c], 0
call fcn.10009b00
lea ecx, [ebp - 0x10fc]
call fcn.10009b00
mov eax, ebx
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.1001bcd0
mov esp, ebp
pop ebp
ret
call fcn.10041b97
call fcn.10041b97
int3