Function at 0x100fc110
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x54], edx
mov ebp, ecx
xorps xmm0, xmm0
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x58], xmm0
push 0
push eax
mov edx, 0x1b
movlpd qword [esp + 0x68], xmm0
mov dword [esp + 0x34], 0
call fcn.100ee4e0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
mov esi, edi
mov dword [esp + 0x38], edi
test edi, edi
jne 0x100fc4dc
mov eax, dword [ebp + 0x120]
mov esi, dword [esp + 0x2c]
cdq
push edx
push eax
push 1
push esi
call fcn.10057670
mov eax, dword [ebp + 0x104]
cdq
push edx
push eax
push 2
push esi
call fcn.10057670
mov eax, dword [esp + 0x7c]
add esp, 0x20
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
nop
xor ebx, ebx
test esi, esi
je 0x100fc3e8
cmp dword [esi], ebx
jne 0x100fc1c2
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
lea eax, [ebx + 1]
jmp 0x100fc1c4
xor eax, eax
test eax, eax
jne 0x100fc3f7
mov eax, dword [esi]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fc1e3
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, esi
call fcn.10055c90
mov edi, eax
cmp edi, 0x11
jne 0x100fc233
mov eax, ebx
inc ebx
cmp eax, 0x32
jge 0x100fc22f
mov edi, dword [esi + 0x20]
mov ecx, esi
call fcn.1009fff0
mov ebp, eax
test ebp, ebp
jne 0x100fc2b3
push esi
call fcn.10054fa0
add esp, 4
test edi, edi
js 0x100fc221
mov byte [esi + 0x95], 0xfe
mov ecx, esi
call fcn.10055c90
mov edi, eax
cmp edi, 0x11
je 0x100fc1f1
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100fc248
push eax
call dword [0x10178a90]
add esp, 4
cmp edi, 0x64
jne 0x100fc417
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fc264
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x100fc276
xor eax, eax
cmp ax, word [esi + 0x90]
jb 0x100fc28e
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ecx, dword [esi]
mov ebx, eax
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100fc37e
test edx, edx
jne 0x100fc37e
xor eax, eax
jmp 0x100fc383
mov ebx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x124]
test ecx, ecx
jne 0x100fc2c5
xor edi, edi
jmp 0x100fc2f4
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100fc2e2
cmp byte [ecx + 0x12], 1
jne 0x100fc2e2
mov edi, dword [ecx + 8]
jmp 0x100fc2f4
test dl, 1
je 0x100fc2eb
xor edi, edi
jmp 0x100fc2f4
mov dl, 1
call fcn.1004f390
mov edi, eax
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x100fc302
mov ecx, ebx
call fcn.10027de0
cmp byte [ebx + 0x57], 0
jne 0x100fc366
test edi, edi
jne 0x100fc310
xor eax, eax
jmp 0x100fc34c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fc315
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, ebx
push eax
mov dword [esp + 0x58], eax
call fcn.10028280
add esp, 8
mov dword [esp + 0x4c], eax
test eax, eax
je 0x100fc34c
push dword [esp + 0x50]
push edi
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x58]
add esp, 0xc
mov edx, ebp
mov dword [esi + 0x7c], eax
mov ecx, ebx
call fcn.10028630
mov ebp, dword [esp + 0x14]
mov edi, eax
mov dword [esi + 0x24], edi
jmp 0x100fc237
mov ebp, dword [esp + 0x14]
mov edi, 7
mov dword [esi + 0x7c], 0
mov dword [esi + 0x24], edi
jmp 0x100fc237
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fc399
push eax
call dword [0x10178a90]
add esp, 4
xor edi, edi
cmp dword [ebp + 0x104], edi
jle 0x100fc3da
mov esi, dword [esp + 0x34]
lea eax, [esp + 0x38]
mov edx, ebx
push eax
push edi
mov ecx, ebp
call fcn.100fbed0
xor dword [esp + 0x38], eax
inc edi
add esp, 8
xor esi, edx
cmp edi, dword [ebp + 0x104]
jl 0x100fc3a7
mov edi, dword [esp + 0x38]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
jmp 0x100fc3de
mov edi, dword [esp + 0x10]
test edi, edi
je 0x100fc1a0
jmp 0x100fc41b
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
push 0x10167d54
push 0x160fd
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
jmp 0x100fc41b
mov edi, dword [esp + 0x10]
test esi, esi
je 0x100fc4d0
mov edi, dword [esi]
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100fc436
push eax
call dword [0x10178a88]
add esp, 4
cmp dword [esi + 0x8c], 0
jl 0x100fc453
jg 0x100fc44a
cmp dword [esi + 0x88], 0
jbe 0x100fc453
mov edx, esi
mov ecx, edi
call fcn.10054e00
mov ecx, esi
call fcn.10052a30
mov byte [esi + 0x97], 1
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov word [esi + 0x94], 0xff02
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x1c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
cmp byte [edi + 0x57], 0
jne 0x100fc4b0
test eax, eax
jne 0x100fc4b0
xor esi, esi
jmp 0x100fc4bb
mov edx, eax
mov ecx, edi
call fcn.10028630
mov esi, eax
mov eax, dword [edi + 0xc]
test eax, eax
je 0x100fc4cc
push eax
call dword [0x10178a90]
add esp, 4
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x100fcb1a
mov edi, esi
jmp 0x100fc4ec
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
test esi, esi
jne 0x100fcb1a
mov eax, dword [ebp + 0x24]
xor ebx, ebx
push dword [ebp + 0xe0]
mov dword [esp + 0x1c], ebx
push str.SELECT__s
mov eax, dword [eax]
mov dword [esp + 0x54], eax
call fcn.1002a830
mov esi, eax
add esp, 8
test esi, esi
jne 0x100fc536
mov eax, dword [esp + 0x60]
mov edi, 7
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
jmp 0x100fca59
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x18]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, esi
call fcn.1009fe60
add esp, 0x14
mov edi, eax
mov dword [esp + 0x10], edi
cmp dword [0x10178a38], ebx
je 0x100fc5a7
mov ecx, dword [0x1017bbe8]
test ecx, ecx
je 0x100fc575
push ecx
call dword [0x10178a88]
add esp, 4
push esi
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push esi
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100fc5b1
push eax
call dword [0x10178a90]
jmp 0x100fc5ae
push esi
call dword [0x10178a5c]
add esp, 4
mov eax, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
test edi, edi
jne 0x100fca59
mov dword [esp + 0x20], ebp
nop dword [eax]
xor edi, edi
test ebx, ebx
je 0x100fca24
cmp dword [ebx], edi
jne 0x100fc5f2
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
lea eax, [edi + 1]
jmp 0x100fc5f4
xor eax, eax
test eax, eax
jne 0x100fca33
mov ebp, dword [ebx]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100fc60f
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, ebx
call fcn.10055c90
mov esi, eax
cmp esi, 0x11
jne 0x100fc72c
mov ecx, edi
inc edi
cmp ecx, 0x32
jge 0x100fc72c
mov esi, dword [ebx + 0x20]
mov ecx, ebx
call fcn.1009fff0
mov ebx, eax
test ebx, ebx
jne 0x100fc668
mov ebx, dword [esp + 0x18]
push ebx
call fcn.10054fa0
add esp, 4
test esi, esi
js 0x100fc655
mov byte [ebx + 0x95], 0xfe
mov ecx, ebx
call fcn.10055c90
mov esi, eax
cmp esi, 0x11
je 0x100fc621
jmp 0x100fc72c
mov ecx, dword [ebp + 0x124]
test ecx, ecx
jne 0x100fc676
xor esi, esi
jmp 0x100fc6a5
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100fc693
cmp byte [ecx + 0x12], 1
jne 0x100fc693
mov esi, dword [ecx + 8]
jmp 0x100fc6a5
test dl, 1
je 0x100fc69c
xor esi, esi
jmp 0x100fc6a5
mov dl, 1
call fcn.1004f390
mov esi, eax
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x7c]
test edx, edx
je 0x100fc6b7
mov ecx, ebp
call fcn.10027de0
cmp byte [ebp + 0x57], 0
jne 0x100fc719
test esi, esi
jne 0x100fc6c5
xor edi, edi
jmp 0x100fc701
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fc6d0
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, ebp
push eax
mov dword [esp + 0x58], eax
call fcn.10028280
mov edi, eax
add esp, 8
test edi, edi
je 0x100fc701
push dword [esp + 0x50]
push esi
push edi
call fcn.1013c1a0
add esp, 0xc
mov eax, dword [esp + 0x18]
mov edx, ebx
mov ecx, ebp
mov dword [eax + 0x7c], edi
call fcn.10028630
mov ebx, dword [esp + 0x18]
mov esi, eax
jmp 0x100fc729
mov ebx, dword [esp + 0x18]
mov esi, 7
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x24], esi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100fc73d
push eax
call dword [0x10178a90]
add esp, 4
cmp esi, 0x64
jne 0x100fca51
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fc759
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, dword [ebx + 0x78]
test ecx, ecx
je 0x100fc76b
xor eax, eax
cmp ax, word [ebx + 0x90]
jb 0x100fc783
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ecx, dword [ebx]
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0x24]
mov dword [esp + 0x44], eax
cmp byte [ecx + 0x57], 0
jne 0x100fc7a3
test edx, edx
jne 0x100fc7a3
xor eax, eax
jmp 0x100fc7a8
call fcn.10028630
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fc7be
push eax
call dword [0x10178a90]
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], 0
cmp dword [eax + 0x2c], 0
je 0x100fc7e6
mov eax, dword [eax + 0x18]
inc eax
push eax
push ebx
call fcn.10056b70
mov dword [esp + 0x2c], eax
add esp, 8
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor ebp, ebp
mov esi, 0x28
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x50], esi
nop dword [eax]
cmp ebp, dword [eax + 0x18]
jge 0x100fc5d0
mov eax, dword [eax + 0x20]
cmp byte [eax + ebp], 0
jne 0x100fca0b
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fc829
push eax
call dword [0x10178a88]
add esp, 4
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x100fc84d
movzx eax, word [ebx + 0x90]
lea ecx, [ebp + 1]
cmp ecx, eax
jge 0x100fc84d
test ecx, ecx
js 0x100fc84d
lea ecx, [edx + esi]
test ecx, ecx
jne 0x100fc865
xor esi, esi
jmp 0x100fc894
mov ecx, dword [ebx]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100fc882
cmp byte [ecx + 0x12], 1
jne 0x100fc882
mov esi, dword [ecx + 8]
jmp 0x100fc894
test dl, 1
je 0x100fc88b
xor esi, esi
jmp 0x100fc894
mov dl, 1
call fcn.1004f390
mov esi, eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100fc8a7
test edx, edx
jne 0x100fc8a7
xor eax, eax
jmp 0x100fc8ac
call fcn.10028630
mov dword [ebx + 0x24], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fc8c2
push eax
call dword [0x10178a90]
add esp, 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0xffffffffffffffff
push esi
mov esi, dword [esp + 0x30]
mov edx, esi
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x34], 0
call fcn.100e9c10
mov edi, eax
add esp, 0xc
mov eax, dword [esp + 0x28]
test edi, edi
jne 0x100fc9ea
nop word [eax + eax]
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0
push ecx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], 0
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x60], 0
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], 0
push ecx
lea ecx, [esp + 0x58]
push ecx
push eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x14]
call eax
mov edi, eax
add esp, 0x18
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100fc9dc
push dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
push ebp
push dword [esp + 0x48]
mov ebp, dword [esp + 0x48]
mov edx, ebp
push dword [esp + 0x50]
push eax
push esi
call fcn.100fbe20
xor dword [esp + 0x34], eax
lea esi, [edi + 1]
mov eax, dword [esp + 0x2c]
add esp, 0x18
xor dword [esp + 0x20], edx
mov ebx, dword [eax + 0x104]
cmp ebx, esi
jle 0x100fc9d2
mov edi, dword [eax + 0x108]
add edi, 0x18
mov edx, dword [edi]
cmp edx, ebp
jg 0x100fc9c6
push dword [esp + 0x38]
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x30]
push dword [esp + 0x48]
push dword [esp + 0x50]
push esi
push dword [esp + 0x38]
call fcn.100fbe20
xor dword [esp + 0x34], eax
add esp, 0x18
xor dword [esp + 0x20], edx
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x100fc997
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
test edi, edi
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
je 0x100fc900
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x100fc9fb
push eax
mov eax, dword [esp + 0x50]
mov eax, dword [eax + 0x10]
call eax
add esp, 4
mov esi, dword [esp + 0x50]
xor eax, eax
cmp edi, 0x65
cmove edi, eax
mov dword [esp + 0x10], edi
inc ebp
add esi, 0x28
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x50], esi
test edi, edi
jne 0x100fca55
mov eax, dword [esp + 0x14]
jmp 0x100fc800
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
push 0x10167d54
push 0x160fd
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x20]
test ebx, ebx
je 0x100fca8d
mov esi, dword [ebx]
test esi, esi
jne 0x100fcab9
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
push 0x10167d54
push 0x15deb
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x1c
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], eax
jne 0x100fcb27
cmp dword [esp + 0x34], ebp
jne 0x100fcb27
mov eax, dword [esp + 0x54]
mov dword [eax], 1
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100fcaca
push eax
call dword [0x10178a88]
add esp, 4
cmp dword [ebx + 0x8c], 0
jl 0x100fcae7
jg 0x100fcade
cmp dword [ebx + 0x88], 0
jbe 0x100fcae7
mov edx, ebx
mov ecx, esi
call fcn.10054e00
mov ecx, ebx
call fcn.10052a30
mov ecx, ebx
mov edi, eax
call fcn.10052b10
cmp byte [esi + 0x57], 0
jne 0x100fcb01
test edi, edi
je 0x100fcb0a
mov edx, edi
mov ecx, esi
call fcn.10028630
mov ecx, esi
call fcn.100da2a0
mov edi, dword [esp + 0x10]
jmp 0x100fca8d
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
jmp 0x100fca91
mov eax, dword [esp + 0x54]
mov dword [eax], 0
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret