joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433a30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov ecx, dword [eax + 0x18]
inc dword [ecx + 0x78]
mov dword [eax + 8], 0xfffffade
mov byte [eax + 0x6a], 1
mov ecx, dword [esp + 0x1c]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
call fcn.004339f0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 3
call fcn.0042f950
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x38]
cmp dword [eax], ecx
jbe 0x433c16
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ecx, [0x450010]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
mov dword [esp], ecx
call fcn.00450c00
movzx eax, byte [0xc08588]
test al, al
jne 0x433bef
lea eax, [0xbfdf84]
mov dword [esp], eax
call fcn.00402430
mov eax, dword [esp + 4]
test eax, eax
jne 0x433bc8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
test byte [ecx], al
mov ecx, dword [ecx + 0x11d0]
test ecx, ecx
jne 0x433b9d
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 0x54]
mov edx, dword [edx + 0x10]
mov dword [ecx + 0x164], edx
mov byte [eax + 0x6c], 1
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0xbc], 0
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x54]
mov dword [ecx + 0x2c], 0
mov edx, dword [eax + 0x18]
mov ebx, ecx
mov dword [edx + 0x5c], ecx
mov ecx, dword [eax + 0x18]
mov dword [ecx + 0x54], 0
lea ecx, [ebx + 4]
mov dword [esp], ecx
mov dword [esp + 4], 2
call fcn.00402610
mov eax, dword [0xbfdf78]
test eax, eax
jne 0x433b79
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x18]
dec dword [eax + 0x78]
add esp, 0x18
ret
lea eax, [0x924700]
mov dword [esp], eax
call fcn.00450c00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004339f0
jmp 0x433b6b
lea eax, [0x924804]
mov dword [esp], eax
call fcn.00450c00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004339f0
mov eax, dword [esp + 0xc]
jmp 0x433b0f
lea eax, [0x924704]
mov dword [esp], eax
call fcn.00450c00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004339f0
jmp 0x433af5
lea eax, [0x924850]
mov dword [esp], eax
call fcn.00450c00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.004339f0
jmp 0x433adb
cmp dword [eax + 4], ecx
jb 0x433aa2
jmp 0x433acc
Function at 0x446e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x447031
sub esp, 0x48
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x4c]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x78]
add ebx, 1
mov edx, dword [edx + 0x54]
mov ebp, dword [ecx + 0x7c]
mov dword [ecx + 0x78], ebx
adc ebp, 0
mov dword [ecx + 0x7c], ebp
mov ebx, edx
mov ebp, dword [edx + 0x950]
cmp ecx, ebp
jne 0x446f65
mov dword [esp + 0x44], ecx
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.0045285a
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x50]
mov ebp, dword [ecx + 0x54]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebp
mov ebx, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov eax, dword [edx + 0x954]
cmp eax, 3
jae 0x447026
lea ecx, [0xc105f4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov byte [esp], 0x29
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.00445f00
add esp, 0x48
ret
cmp dword [ecx + 0x80], ebx
jne 0x446fb6
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov eax, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov byte [esp], 0x26
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x14]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.00445f00
jmp 0x446f61
mov dword [ecx + 0x80], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov eax, dword [ecx + 0x50]
mov edx, dword [ecx + 0x54]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0x7c]
mov ecx, dword [ecx + 0x78]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
mov byte [esp], 0xe
mov dword [esp + 4], 0xffffffff
lea eax, [esp + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.00445f00
jmp 0x446f61
mov ecx, 3
call fcn.00452630
nop
call fcn.00450d20
jmp fcn.00446e90
Function at 0x449b20
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x449bbf
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00452857
lea ecx, [0x450690]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00450c00
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00450d20
jmp fcn.00449b20
Function at 0x452200
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x452240
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0xc10b00]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45227b
je 0x4522ca
cmp ebx, 0x20
jbe 0x4522d0
cmp ebx, 0x40
jbe 0x45230e
jmp 0x45239f
test ebx, ebx
je 0x4522c0
add eax, 0x10
test ax, 0xff0
je 0x4522ac
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x9a25a0]
aesenc xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x9a26a0]
jmp 0x452298
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x452298
pxor xmm1, xmmword [0xc10b10]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
aesenc xmm2, xmm0
aesenc xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xc10b10]
pxor xmm2, xmmword [0xc10b20]
pxor xmm3, xmmword [0xc10b30]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0xc10b10]
pxor xmm2, xmmword [0xc10b20]
pxor xmm3, xmmword [0xc10b30]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x4523fe
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
Function at 0x4532a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x1bc
mov dword [esp], esp
mov dword [esp + 4], 0x1bc
call fcn.00452d80
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xd8
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xd8
call fcn.00452d80
lea ebx, [esp + 0xd8]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4533a0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xb70
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.00452150
call fcn.00430480
ret
Function at 0x761bd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movsx ecx, byte [eax + 0x44]
xor edx, edx
and byte [eax + 1], 0xf9
mov word [eax + 0x32], dx
mov edx, ecx
movzx ecx, word [eax + ecx*2 + 0x46]
sub edx, 1
mov byte [eax + 0x44], dl
movsx edx, dl
mov edx, dword [eax + edx*4 + 0x78]
mov word [eax + 0x46], cx
mov ecx, dword [eax + 0x74]
mov dword [eax + 0x74], edx
mov eax, dword [ecx + 0x48]
jmp fcn.00761530
Function at 0x76a150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
mov eax, dword [esp]
xor esi, esi
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x76a1d5
lea esi, [esi]
mov ebp, esi
mov eax, dword [esp]
xor ebp, 1
cmp esi, 2
cmovge ebp, esi
shl ebp, 4
add ebp, dword [eax + 0x10]
test ebx, ebx
je 0x76a1b2
mov edi, dword [ebp]
xor eax, eax
jmp 0x76a1a2
movzx ecx, byte [ecx + 0xbfad00]
cmp byte [edx + 0xbfad00], cl
jne 0x76a1ca
add eax, 1
movzx edx, byte [ebx + eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x76a190
test edx, edx
jne 0x76a19f
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 4]
xor ecx, ecx
add eax, 8
call fcn.00760b50
mov edx, dword [eax + 8]
test edx, edx
jne 0x76a230
mov eax, dword [esp]
add esi, 1
cmp dword [eax + 0x14], esi
jg 0x76a170
xor edx, edx
mov eax, 0x73
mov esi, dword [esp + 4]
jmp 0x76a1fb
movzx eax, byte [eax + 0xbfad00]
cmp byte [ecx + 0xbfad00], al
jne 0x76a23e
movzx eax, byte [edx + 0xbeb87d]
add edx, 1
movzx ecx, byte [esi + edx]
cmp ecx, eax
jne 0x76a1e2
test ecx, ecx
jne 0x76a1f1
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + 0x10]
test ebx, ebx
je 0x76a23a
test edx, edx
je 0x76a230
mov eax, ebx
call fcn.0076a0e0
test eax, eax
jne 0x76a23e
mov dword [esp + 4], str.sqlite_temp_master
jmp 0x76a160
add esp, 8
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
test edx, edx
je 0x76a223
add esp, 8
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x776010
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x2c
movzx edi, byte [eax + 4]
mov eax, edi
test al, al
je 0x776044
movzx eax, byte [esi + 0x11]
cmp al, 3
jbe 0x77602f
cmp al, 5
jne 0x776044
mov eax, esi
call fcn.0076c140
mov edi, eax
test eax, eax
jne 0x77612a
movzx edi, byte [esi + 4]
mov ecx, dword [esi + 0xdc]
mov edx, dword [esi + 0xa4]
mov dword [esi + 0xd8], 0
mov eax, dword [esi + 0xa0]
mov ebp, dword [esi + 0x3c]
mov dword [esp + 8], ecx
mov ecx, dword [esi]
mov dword [esp + 4], edx
mov edx, dword [ecx + 4]
mov dword [esp], eax
mov dword [esp + 0xc], ecx
lea eax, [edx + 0x78]
xor edx, edx
call fcn.00767610
mov ebx, eax
test eax, eax
je 0x776190
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 4]
lea eax, [eax + 0x78]
mov dword [eax - 0x78], ecx
mov dword [ebx + 0x14], edx
mov edx, 0x101
mov word [ebx + 0x30], dx
mov edx, edi
mov dword [esp + 0xc], eax
test dl, dl
mov edx, 2
mov dword [ebx + 8], eax
mov eax, 0xffffffff
cmovne edi, edx
sub esp, 0xc
mov word [ebx + 0x28], ax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], 0x80006
mov edx, edi
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0x14]
mov byte [ebx + 0x2b], dl
lea edx, [esp + 0x28]
mov dword [ebx + 4], ebp
mov dword [ebx + 0x6c], eax
push edx
push 0x80006
push dword [esp + 0x20]
push eax
push ecx
call dword [ecx + 0x18]
mov edi, eax
add esp, 0x20
test eax, eax
jne 0x776150
test byte [esp + 0x1c], 1
jne 0x776182
sub esp, 0xc
mov eax, dword [ebp]
push ebp
call dword [eax + 0x30]
add esp, 0x10
test ah, 4
je 0x77611b
mov byte [ebx + 0x30], 0
test ah, 0x10
je 0x776124
mov byte [ebx + 0x31], 0
mov dword [esi + 0xd8], ebx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x77613f
cmp dword [eax], 2
jle 0x77613f
mov eax, esi
call fcn.00775f90
add esp, 0x2c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
xor edx, edx
call fcn.0076c5a0
mov ebp, dword [ebx + 8]
mov eax, dword [ebp]
test eax, eax
je 0x776174
sub esp, 0xc
push ebp
call dword [eax + 4]
mov dword [ebp], 0
add esp, 0x10
sub esp, 0xc
push ebx
call fcn.007677d0
add esp, 0x10
jmp 0x77612a
mov byte [ebx + 0x2e], 1
jmp 0x776105
mov edi, 7
jmp 0x77612a

Function at 0x778f90
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [eax + 0x30]
test ebx, ebx
je 0x778fc0
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x778fb0
mov ecx, eax
mov eax, dword [ebx]
mov edx, 0x7790e0
pop ebx
jmp fcn.007676d0
pop ebx
jmp fcn.00778e50
xor eax, eax
pop ebx
ret
Function at 0x790360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, ecx
test edx, edx
je 0x790383
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 0x24]
or dword [edx + 4], 0x200800
test ecx, ecx
je 0x790380
pop ebx
ret
pop ebx
jmp fcn.00790320
test ecx, ecx
je 0x790378
mov eax, dword [eax]
mov edx, ebx
mov ecx, 1
pop ebx
jmp fcn.00776a00
Function at 0x797ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x38]
movzx esi, byte [ebx]
mov eax, esi
cmp al, 0xae
je 0x797f60
mov eax, esi
cmp al, 0xa4
je 0x797f77
mov edi, ecx
mov esi, edx
or edi, edx
je 0x797f93
add esi, 0xffffffff
mov edi, ecx
adc edi, 0xffffffff
mov eax, esi
xor esi, esi
and eax, edx
and edi, ecx
or eax, edi
je 0x797f40
add esp, 0x1c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x30], ebp
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00797e20
sub edi, 0x36
cmp edi, 3
ja 0x797f16
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx + 4]
movzx esi, byte [ebx]
mov eax, esi
cmp al, 0xa4
jne 0x797f16
mov eax, dword [ebx + 0x1c]
mov esi, 1
mov dword [ebp], eax
movsx eax, word [ebx + 0x20]
mov dword [ebp + 4], eax
add esp, 0x1c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0x1c
xor esi, esi
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x7efe70
Capabilities:
Reference sql statements

Disassembly:
push edi
mov edi, eax
push esi
mov esi, ecx
push ebx
mov ebx, edx
sub esp, 8
push ecx
push edx
push str.sqlite_master
push edx
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
push eax
call fcn.007ec880
add esp, 0x20
test esi, esi
je 0x7efea0
pop ebx
pop esi
pop edi
ret
push ebx
push str.sqlite_master
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
push edi
call fcn.007ec880
add esp, 0x10
pop ebx
pop esi
pop edi
ret
Function at 0x809610
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0xc14680]
test esi, esi
jle 0x809720
mov edi, dword [0xc14684]
xor ebx, ebx
lea edx, [edi + 0xc]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x809644
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x8096c5
add ebx, 1
add edx, 0x14
cmp ebx, esi
jne 0x809630
mov dword [esp], eax
mov ebx, eax
call fcn.00809f00
test eax, eax
mov edi, eax
je 0x809747
mov eax, dword [0xc14684]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.0080a000
add eax, dword [edi + 0xc]
mov edx, dword [0xc14684]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp], eax
mov dword [esp + 4], edx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x809727
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x8096be
sub eax, 4
and eax, 0xfffffffb
jne 0x8096d0
add dword [0xc14680], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
add ebx, dword [0xc14684]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x8096be
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.0080af94
lea esi, [esi]
xor esi, esi
jmp 0x80964e
mov eax, dword [0xc14684]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.0080af94
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.0080af94
lea esi, [esi]
nop

Function at 0x809b80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0xc14698
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
mov ebx, dword [0xc14690]
sub esp, 4
test ebx, ebx
je 0x809bd5
mov ebp, dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x809bce
test esi, esi
je 0x809bce
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x809bb0
mov dword [esp], 0xc14698
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x80af94
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.0080ae10
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.0080ae10
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop
nop
jmp fcn.004014e0
Function at 0x418852
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x418861
pop dword [ebp - 0x2c]
mov eax, 0x64bcd3cb
sub eax, 0x647b4b6a
sub dword [ebp - 0x2c], eax
push 0x40
push 0x1000
push 0x439b4
push 0
mov eax, 0xadd4a75f
add eax, 0x526daab9
add eax, dword [ebp - 0x2c]
call dword [eax]
mov ecx, 0xbcf7ec71
add ecx, 0x43087271
mov edi, eax
mov ebx, 0x435400
add ebx, dword [ebp - 0x2c]
mov esi, 0xa866da97
xor dword [ebp - 0x1c], 0x9abe1098
mov edx, dword [ebx]
add dword [ebp - 0x1c], esi
sub edx, esi
xor dword [ebp - 0x20], edx
mov dword [edi], edx
sub dword [ebp - 0x24], ebx
add edi, 0x71c86725
sub edi, 0x71c86721
add ebx, 4
loop 0x4188b4
add eax, 0xa699ee15
add eax, 0x59678046
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe2a928c4
sub ecx, 0xe26928c4
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x53e360
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11b000]
push edi
jmp 0x53e37a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53e381
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e370
mov eax, 1
add ebx, ebx
jne 0x53e393
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53e3a4
jne 0x53e3c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e3c3
dec eax
add ebx, ebx
jne 0x53e3b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53e388
add ebx, ebx
jne 0x53e3bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53e415
xor ecx, ecx
sub eax, 3
jb 0x53e3db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53e44a
sar eax, 1
mov ebp, eax
jmp 0x53e3e6
add ebx, ebx
jne 0x53e3e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e3b4
inc ecx
add ebx, ebx
jne 0x53e3f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53e3b4
add ebx, ebx
jne 0x53e401
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53e3f6
jne 0x53e412
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53e3f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53e434
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53e426
jmp 0x53e376
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53e434
add edi, ecx
jmp 0x53e376
pop esi
mov edi, esi
mov ecx, 0x11d1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53e452
cmp byte [edi], 0xa
jne 0x53e452
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x53e457
lea edi, [esi + 0x139000]
mov eax, dword [edi]
or eax, eax
je 0x53e4cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14f148]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14f28c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53e484
mov ecx, edi
jns 0x53e4b3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x14f294]
or eax, eax
je 0x53e4c9
mov dword [ebx], eax
add ebx, 4
jmp 0x53e4a1
call dword [esi + 0x14f290]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x53e500
cmp al, 0xef
ja 0x53e4f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53e4d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53e4e2
mov ebp, dword [esi + 0x14f298]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x53e534
sub esp, 0xffffff80
jmp 0x41e43a