Function at 0x140067660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400c1010]
xor rax, rsp
mov qword [rbp + 0xa8], rax
mov rax, qword [0x1400c6040]
xor r14d, r14d
mov qword [rsp + 0x70], rcx
mov r15d, 0xffffff
mov qword [rsp + 0x48], rdx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x38], r14
mov rdx, rsp
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x40], r14
mov dword [rbp + 0x98], r15d
mov qword [rsp + 0x60], r8
mov dword [rbp + 0x90], 0xff
mov dword [rbp + 0x94], 0xff00
mov dword [rbp + 0x9c], 0xffff
mov dword [rbp + 0xa0], 0xffff00
mov dword [rbp + 0xa4], 0xff00ff
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x70]
mov qword [0x1400c6040], rax
call sub.VCRUNTIME140.dll___intrinsic_setjmp
test eax, eax
je 0x140067784
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14006772c
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14006773b
call fcn.1400a31c4
mov ecx, 1
call fcn.14000fc54
test eax, eax
je 0x14006774e
call fcn.14000fc24
mov rax, qword [rsp + 0x30]
mov qword [0x1400c6040], rax
mov rcx, qword [rbp + 0xa8]
xor rcx, rsp
call fcn.1400af450
mov rbx, qword [rsp + 0x208]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [0x1400c7ba0]
mov edx, 0x25b
lea r8d, [rdx - 3]
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x140067a15
mov rcx, qword [0x1400c7ba0]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x140067a15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
je 0x140067a15
mov edx, 0x400
mov ecx, reloc.ODBC32.dll_SQLProcedureColumns
call fcn.1400a3110
mov r12, rax
test rax, rax
je 0x140067a1e
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov r8, qword [0x1400c7d60]
mov rcx, rsi
mov qword [rsp + 0x40], rax
lea r13, [rbx + 0xc]
mov rdx, r13
call qword [sym.imp.USER32.dll_FillRect]
mov edx, r15d
mov rcx, rsi
call fcn.1400a1808
xor edx, edx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SetBkColor]
mov rdx, qword [0x1400c7d40]
xor r9d, r9d
mov rcx, rsi
lea r8d, [r9 + 3]
call fcn.1400a0ffc
add dword [rbx + 0x18], 0xfffffffc
mov ebx, r14d
mov qword [rsp + 0x50], 6
mov r15d, 0xc8
mov rcx, rsi
test bl, 1
je 0x140067878
mov r8, qword [0x1400c7d60]
mov rdx, r13
call qword [sym.imp.USER32.dll_FillRect]
jmp 0x14006789a
mov r9, r13
mov dword [rsp + 0x20], reloc.ODBC32.dll_SQLDriverConnect
or r8d, 0xffffffff
lea rdx, [0x1400c7bc0]
call qword [sym.imp.USER32.dll_DrawTextA]
mov r15d, 0x2bc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea r14d, [r15 + rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, r14d
jb 0x1400678a4
inc ebx
cmp ebx, 6
jl 0x140067858
mov r9, r13
mov dword [rsp + 0x20], reloc.ODBC32.dll_SQLDriverConnect
or r8d, 0xffffffff
lea rdx, [0x1400c7bc0]
mov rcx, rsi
call qword [sym.imp.USER32.dll_DrawTextA]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [rax + 0x7d0]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, ebx
jb 0x1400678e1
mov r8, qword [0x1400c7d60]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
mov ecx, 1
call fcn.14000fc54
test eax, eax
je 0x140067911
call fcn.14000fc24
mov rcx, qword [rsp + 0x48]
call fcn.140067a24
xor r14d, r14d
lea r15, [r12 + 1]
mov al, byte [rdi]
mov rbx, r12
sub al, 0x19
mov byte [r12], al
jmp 0x140067939
mov al, byte [rdi]
inc rbx
sub al, 0x19
mov byte [rbx], al
inc rdi
cmp al, 0xa
jne 0x140067930
cmp dword [0x1400c7e80], 0
mov qword [rbp - 0x80], rdi
je 0x140067974
movabs rax, 0xaaaaaaaaaaaaaaab
mul r14
mov rax, r14
shr rdx, 2
lea rcx, [rdx + rdx*2]
add rcx, rcx
sub rax, rcx
mov edx, dword [rbp + rax*4 + 0x90]
jmp 0x140067979
mov edx, 0xffffff
mov rcx, rsi
call fcn.1400a1808
mov edx, 0x20
mov rcx, rbx
lea r8d, [rdx + 0x1c]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x3c]
mov rbx, r15
cmp r15, rax
jae 0x1400679f3
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, ebx
mov dword [rsp + 0x20], reloc.ODBC32.dll_SQLGetConnectOption
sub r8d, r12d
mov r9, r13
mov rdx, r12
mov rcx, rsi
lea r15d, [rax + 0x7d]
call qword [sym.imp.USER32.dll_DrawTextA]
mov rcx, qword [rsp + 0x48]
call fcn.140067a24
test eax, eax
jne 0x1400679ea
add rbx, 2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, r15d
jb 0x1400679da
cmp rbx, rdi
jb 0x1400679a1
mov rdi, qword [rbp - 0x80]
lea r15, [r12 + 1]
mov r8, qword [0x1400c7d60]
mov rdx, r13
mov rcx, rsi
call qword [sym.imp.USER32.dll_FillRect]
inc r14
sub qword [rsp + 0x50], 1
jne 0x140067923
or ecx, 0xffffffff
call fcn.140015988
int3
call fcn.140015964
int3