joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45da78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor eax, eax
push 3
pop esi
inc eax
mov dword [ebp - 0x10c], 0x104
mov dword [ebp - 0x110], eax
mov ebx, ecx
lea eax, [ebp - 0x11c]
xor ecx, ecx
push eax
push 0x20019
push ecx
push 0x6d2a78
push closesocket
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
call edi
test eax, eax
jne 0x45dc33
push ebx
push 0x6d2ac8
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push 0x103
push eax
call fcn.0045aeaa
add esp, 0x14
lea eax, [ebp - 0x118]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x11c]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x45dc2b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0x6d2ad8
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x45dc23
push 0x104
push eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x110], 1
push eax
mov dword [ebp - 0x10c], 0x103
call fcn.00638f20
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0x6d2ae8
push dword [ebp - 0x118]
call ebx
test eax, eax
jne 0x45dc23
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x45dc1a
mov ebx, 0x6d2af8
push ebx
call fcn.0063c700
push eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0064e650
add esp, 0x10
test eax, eax
jne 0x45dbe9
xor esi, esi
jmp 0x45dc23
mov eax, dword [ebp - 0x114]
cmp eax, 1
jne 0x45dc1a
push ebx
call fcn.0063c700
push eax
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0064e650
add esp, 0x10
test eax, eax
je 0x45dc14
push 2
pop esi
jmp 0x45dc23
mov eax, dword [ebp - 0x114]
cmp eax, 2
push 1
pop eax
cmove esi, eax
push dword [ebp - 0x118]
call edi
push dword [ebp - 0x11c]
call edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00620181
mov esp, ebp
pop ebp
ret
Function at 0x45de6c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
mov dword [ebp - 0x18], edx
push edi
mov dword [ebp - 0x20], eax
push dword [esi]
call ebx
push dword [esi + 4]
mov dword [ebp - 0x1c], eax
call ebx
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x14]
xor esi, esi
sub edi, eax
lea eax, [edi + esi*4]
push dword [ebp + eax - 0x14]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi*4 - 0x14], eax
inc esi
cmp esi, 4
jl 0x45dea8
mov edi, dword [ebp - 0x1c]
xor edx, edx
push 0x10
pop esi
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x14]
shr eax, 5
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 8]
shl eax, 4
add eax, dword [ebp - 0xc]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub esi, 1
jne 0x45dec7
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push edi
call esi
mov edi, dword [ebp - 0x20]
push ebx
mov dword [edi], eax
call esi
mov ecx, dword [ebp - 4]
mov dword [edi + 4], eax
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00620181
mov esp, ebp
pop ebp
ret
Function at 0x464e00
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x703034]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
mov esi, dword [ebp + 8]
lea ecx, [esp + 8]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0
push 0x6c3470
mov edx, esi
movups xmmword [esp + 0x24], xmm0
movups xmmword [esp + 0x34], xmm0
call fcn.004382cb
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x464e4a
mov eax, dword [esi]
jmp 0x464e4c
mov eax, esi
lea ecx, [esp + 0x20]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x464e73
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
cmp dword [esi + 0x14], 8
jb 0x464e89
mov esi, dword [esi]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [esp + 0x1c]
cmp eax, 8
jb 0x464ed2
mov ecx, dword [esp + 8]
inc eax
cmp eax, 0x7fffffff
ja 0x464ee4
add eax, eax
cmp eax, 0x1000
jb 0x464ec9
test cl, 0x1f
jne 0x464ee9
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x464eee
sub ecx, eax
cmp ecx, 4
jb 0x464ef3
cmp ecx, 0x23
ja 0x464ef8
mov ecx, eax
push ecx
call fcn.00476f40
add esp, 4
mov ecx, dword [esp + 0x44]
pop esi
xor ecx, esp
call fcn.00620181
mov esp, ebp
pop ebp
ret 4
call fcn.0063c6a1
call fcn.0063c6a1
call fcn.0063c6a1
call fcn.0063c6a1
call fcn.0063c6a1
int3

Function at 0x46af80
Capabilities:
Create directory

Disassembly:
cmp dword [ecx + 0x14], 0x10
jb 0x46af88
mov ecx, dword [ecx]
push ebx
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
sete bl
test bl, bl
je 0x46afa0
mov al, 1
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 3
je 0x46afbd
sub eax, 2
je 0x46afbd
sub eax, 0xb2
jne 0x46afbf
mov bl, 1
mov al, bl
pop ebx
ret
xor bl, bl
mov al, bl
pop ebx
ret
Function at 0x46b8a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.0046b870
cmp dword [eax + 0x14], 0x10
jb 0x46b8b6
mov eax, dword [eax]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov eax, dword [ebp - 4]
cmp eax, 0x10
jb 0x46b8f7
mov ecx, dword [ebp - 0x18]
inc eax
cmp eax, 0x1000
jb 0x46b8ee
test cl, 0x1f
jne 0x46b909
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x46b90e
sub ecx, eax
cmp ecx, 4
jb 0x46b913
cmp ecx, 0x23
ja 0x46b918
mov ecx, eax
push ecx
call fcn.00476f40
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
mov esp, ebp
pop ebp
ret
call fcn.0063c6a1
call fcn.0063c6a1
call fcn.0063c6a1
call fcn.0063c6a1
int3

Function at 0x473c50
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x473cab
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x10000
push eax
push 0x1002
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 8]
push eax
push 0x1001
push 0xffff
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov eax, edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00620181
mov esp, ebp
pop ebp
ret
Function at 0x473cc0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x473cf5
cmp byte [eax], 0
jne 0x473cf5
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00620181
mov esp, ebp
pop ebp
ret 8
call fcn.00473c50
mov ecx, eax
mov dword [esi], ecx
cmp ecx, 0xffffffff
je 0x473ce2
push 4
lea eax, [esi + 0x10]
push eax
push 0x1006
push 0xffff
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 0x8004667e
push dword [esi]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x473ce2
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
mov eax, 2
mov word [ebp - 0x20], ax
mov ax, word [ecx + 4]
mov word [ebp - 0x1e], ax
mov eax, dword [ecx]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push 0x10
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x473ce2
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x8004667e
push dword [esi]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x473ce2
mov eax, dword [esi]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x124], 1
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x228], 1
push eax
push 0
push 0
mov dword [ebp - 0x10], 0
call dword [sym.imp.WS2_32.dll_select]
lea eax, [ebp - 0x124]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
setne al
mov byte [esi + 4], al
test al, al
jne 0x473e0a
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x473e00
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi], 0xffffffff
mov byte [esi + 4], 0
mov ecx, dword [ebp - 4]
mov al, byte [esi + 4]
xor ecx, ebp
pop esi
call fcn.00620181
mov esp, ebp
pop ebp
ret 8

Function at 0x473e20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
cmp byte [ebx + 4], 0
je 0x473e99
mov edx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov esi, edx
test edx, edx
jle 0x473e8f
nop dword [eax]
mov eax, dword [ebx + 8]
test eax, eax
je 0x473e4c
cmp byte [eax], 0
je 0x473e82
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
je 0x473e76
mov eax, dword [ebp + 8]
push 0
sub eax, esi
push esi
add eax, edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
test edi, edi
jle 0x473e79
mov edx, dword [ebp + 0xc]
sub esi, edi
test esi, esi
jle 0x473e82
jmp 0x473e40
or edi, 0xffffffff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, dword [ebp + 0xc]
test edi, edi
jle 0x473e8f
pop edi
pop esi
mov eax, edx
pop ebx
pop ebp
ret 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
pop ebp
ret 8
or eax, 0xffffffff
pop ebx
pop ebp
ret 8
Function at 0x473eb0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], 1
mov eax, dword [edi + 8]
test eax, eax
je 0x473ed4
cmp byte [eax], 0
jne 0x473ed4
or esi, 0xffffffff
jmp 0x473f13
mov ecx, dword [edi]
cmp ecx, 0xffffffff
je 0x473ef6
push 0
push 0x200
lea eax, [edi + 0x14]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
cmp esi, 0xffffffff
jne 0x473efb
jmp 0x473ef9
or esi, 0xffffffff
call ebx
test esi, esi
jle 0x473f11
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x14]
push esi
push eax
call fcn.0042390f
mov cl, byte [ebp - 1]
jmp 0x473f28
je 0x473f37
call ebx
push eax
push str.recv_failed_with_error:__d_n
call fcn.00474190
add esp, 8
xor cl, cl
mov byte [ebp - 1], cl
test esi, esi
jg 0x473ec3
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x473f60
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66fcbb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x234], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x23c], eax
mov eax, dword [0x7168a4]
test al, 1
jne 0x473fda
push 0xa8
or eax, 1
push 0
push 0x7168b0
mov dword [0x7168a4], eax
call fcn.00638f20
add esp, 0xc
call fcn.00465bf0
push 0x67c7b0
call fcn.006206b5
add esp, 4
mov al, byte [0x7168b2]
mov ecx, 0x7a120
test al, al
mov edx, 0x2dc6c0
mov eax, dword [0x7168a4]
cmovne ecx, edx
mov dword [ebp - 0x238], ecx
test al, 1
jne 0x47402b
push 0xa8
or eax, 1
push 0
push 0x7168b0
mov dword [0x7168a4], eax
call fcn.00638f20
add esp, 0xc
call fcn.00465bf0
push 0x67c7b0
call fcn.006206b5
add esp, 4
mov al, byte [0x7168b2]
mov ecx, 0xbb8
test al, al
mov esi, 0x1f4
push 0x218
lea eax, [ebp - 0x228]
cmovne esi, ecx
push 0
push eax
call fcn.00638f20
mov eax, dword [ebp - 0x234]
add esp, 0xc
mov dword [ebp - 0x228], 0xffffffff
mov byte [ebp - 0x224], 0
mov dword [ebp - 0x218], esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x220], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x21c], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x230], 0
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebx + 0x14], 0x10
mov word [ebp - 0x22c], ax
jb 0x4740b0
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x4740c8
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x230], eax
push ecx
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x228]
call fcn.00473cc0
test al, al
je 0x474122
cmp dword [edi + 0x14], 0x10
mov esi, dword [edi + 0x10]
jb 0x4740ea
mov edi, dword [edi]
push esi
push edi
lea ecx, [ebp - 0x228]
call fcn.00473e20
cmp eax, esi
jne 0x474122
push 1
push dword [ebp - 0x228]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x228]
call fcn.00473eb0
test al, al
je 0x474122
mov bl, 1
jmp 0x474124
xor bl, bl
mov eax, dword [ebp - 0x228]
cmp eax, 0xffffffff
je 0x474136
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00620181
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4747a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x667070
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x703034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x31], 0
jne 0x474820
push dword [esi + 0x1c]
call fcn.0049f3b0
add esp, 4
cmp eax, 0x64
jne 0x4747ef
mov byte [esi + 0x30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0x65
jne 0x47480a
mov word [esi + 0x30], 0x100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov word [esi + 0x30], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x15
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x47a2f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x70a848], 0
je 0x47a347
mov eax, dword [0x715a80]
test eax, eax
je 0x47a320
push eax
call dword [0x70a898]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.00477560
mov eax, dword [0x715a80]
test eax, eax
je 0x47a342
push eax
call dword [0x70a8a0]
mov esi, dword [ebp - 4]
jmp 0x47a351
mov esi, dword [ebp - 4]
jmp 0x47a354
push 0x14
call dword [0x70a868]
mov esi, eax
add esp, 4
test esi, esi
jne 0x47a362
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [0x70a84c], 0
mov ebx, dword [ebp + 8]
je 0x47a3ac
mov eax, dword [0x70a93c]
test eax, eax
je 0x47a385
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x47a3ac
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x47a2c0
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.0064ea68
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x47a3b9
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x47a3d2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x485220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push esi
push edi
mov esi, dword [ebx + 0x88]
test esi, esi
je 0x48525e
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [eax], esi
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x88], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x10], 0
movq qword [eax], xmm0
jmp 0x4852e2
movzx eax, word [ebx + 0x8c]
cdq
mov edi, eax
add edi, 0x28
mov ecx, edi
adc edx, 0
or ecx, edx
je 0x485292
push edx
push edi
call fcn.00477650
mov esi, eax
add esp, 8
test esi, esi
je 0x485294
push edi
push 0
push esi
call fcn.00638f20
add esp, 0xc
jmp 0x485294
xor esi, esi
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test esi, esi
jne 0x4852d2
push dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x98]
dec ecx
mov esi, dword [ebx + 0x3c]
push 0
cdq
push ecx
mov edi, dword [esi]
push edx
push eax
call fcn.006210e0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0x28]
mov dword [esi + 0x1c], 0x10020
mov dword [esi + 8], eax
mov dword [esi + 0x14], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esi + 4], eax
pop edi
mov dword [esi + 0x18], ecx
inc dword [ebx + 0x78]
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b76f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 8]
mov edi, edx
mov ebx, ecx
push edi
push 0x705dfc
push edi
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 ebx
call fcn.004bcc80
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x4b772b
push edi
push 0x705e28
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 ebx
call fcn.004bcc80
add esp, 0x10
pop edi
pop ebx
pop ebp
ret

Function at 0x4bce40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x4bceca
nop word [eax + eax]
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 8], ecx
test edi, edi
je 0x4bce98
mov edx, ecx
mov eax, edi
mov ecx, dword [ebp - 4]
add edx, edx
mov ecx, dword [ecx + 0x10]
mov edi, dword [ecx + edx*8]
sub edi, dword [ebp + 8]
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x4bcf02
test edx, edx
jne 0x4bcf14
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add ecx, ecx
push 0
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.0047c650
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4bcf69
mov eax, dword [ebp - 4]
inc esi
mov edi, dword [ebp + 8]
cmp esi, dword [eax + 0x14]
jl 0x4bce60
mov edx, 0x706a04
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4bcf1a
test ecx, ecx
jne 0x4bcf2c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4bcf2f
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4bcf67
mov eax, dword [ebp - 4]
mov ebx, 0x706a2c
jmp 0x4bce53
movzx ecx, byte [ecx + 0x6c5f00]
movzx edx, byte [edx + 0x6c5f00]
sub edx, ecx
jne 0x4bcebe
inc eax
jmp 0x4bce86
movzx eax, byte [eax + 0x6c5f00]
movzx ecx, byte [ecx + 0x6c5f00]
sub ecx, eax
jne 0x4bcf67
inc ebx
jmp 0x4bced1
test ecx, ecx
je 0x4bcf67
mov esi, ecx
mov edx, edi
sub esi, edi
nop dword [eax]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4bcf52
test ecx, ecx
je 0x4bcef5
inc edx
jmp 0x4bcf40
movzx eax, byte [eax + 0x6c5f00]
movzx ecx, byte [ecx + 0x6c5f00]
sub ecx, eax
jne 0x4bcef1
inc edx
jmp 0x4bcf40
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
push edi
xor ebx, ebx
mov dword [ebp - 0xc], esi
xor edi, edi
cmp dword [esi + 0x14], ebx
jle 0x4bd1b9
mov edx, dword [ebp + 8]
nop dword [eax]
mov esi, dword [esi + 0x10]
mov eax, edi
xor eax, 1
mov ecx, edi
cmp edi, 2
cmovl ecx, eax
add ecx, ecx
mov eax, dword [esi + ecx*8 + 0xc]
mov dword [ebp - 4], eax
test edx, edx
je 0x4bd196
mov esi, dword [esi + ecx*8]
mov eax, edx
sub esi, edx
movzx edx, byte [eax]
movzx ecx, byte [esi + eax]
cmp edx, ecx
jne 0x4bd1c2
test edx, edx
jne 0x4bd1d4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea ecx, [eax + 0x18]
push 0
call fcn.0047c650
add esp, 4
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x4bd1b9
mov esi, dword [ebp - 0xc]
inc edi
mov edx, dword [ebp + 8]
cmp edi, dword [esi + 0x14]
jl 0x4bd160
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
movzx ecx, byte [ecx + 0x6c5f00]
movzx edx, byte [edx + 0x6c5f00]
sub edx, ecx
jne 0x4bd1ad
inc eax
jmp 0x4bd184
Function at 0x4c0680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x703034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add edx, edx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
push edi
mov eax, dword [esi]
mov dword [ebp - 0x24], esi
mov eax, dword [eax + 0x10]
mov edi, dword [eax + edx*8]
mov eax, 1
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], eax
nop dword [eax]
push eax
push str.sqlite_stat_d
lea eax, [ebp - 0x1c]
push eax
push 0x18
call fcn.00479f90
mov eax, dword [esi]
lea ebx, [ebp - 0x1c]
add esp, 0x10
mov dword [ebp - 0x20], eax
nop dword [eax]
xor esi, esi
cmp dword [eax + 0x14], esi
jle 0x4c075b
mov eax, esi
mov ecx, esi
xor eax, 1
cmp esi, 2
cmovl ecx, eax
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x4c0729
mov edx, ecx
mov eax, edi
mov ecx, dword [ebp - 0x20]
add edx, edx
mov ecx, dword [ecx + 0x10]
mov edi, dword [ecx + edx*8]
sub edi, dword [ebp - 0x28]
nop dword [eax]
movzx edx, byte [eax]
movzx ecx, byte [edi + eax]
cmp edx, ecx
jne 0x4c0797
test edx, edx
jne 0x4c07a9
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add ecx, ecx
push 0
mov edx, ebx
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
call fcn.0047c650
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x4c07f7
mov eax, dword [ebp - 0x20]
inc esi
mov edi, dword [ebp - 0x28]
cmp esi, dword [eax + 0x14]
jl 0x4c06e7
mov edx, 0x706a04
sub edx, ebx
movzx ecx, byte [ebx]
movzx eax, byte [edx + ebx]
cmp ecx, eax
jne 0x4c07af
test ecx, ecx
jne 0x4c07c1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x10]
test edi, edi
jne 0x4c07c4
neg ecx
sbb ecx, ecx
test ecx, ecx
jne 0x4c0815
mov eax, dword [ebp - 0x20]
mov ebx, 0x706a2c
jmp 0x4c06e0
movzx ecx, byte [ecx + 0x6c5f00]
movzx edx, byte [edx + 0x6c5f00]
sub edx, ecx
jne 0x4c074f
inc eax
jmp 0x4c0710
movzx eax, byte [eax + 0x6c5f00]
movzx ecx, byte [ecx + 0x6c5f00]
sub ecx, eax
jne 0x4c0815
inc ebx
jmp 0x4c0762
test ecx, ecx
je 0x4c0815
mov esi, ecx
mov edx, edi
sub esi, edi
nop
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4c07e2
test ecx, ecx
je 0x4c078a
inc edx
jmp 0x4c07d0
movzx eax, byte [eax + 0x6c5f00]
movzx ecx, byte [ecx + 0x6c5f00]
sub ecx, eax
jne 0x4c0782
inc edx
jmp 0x4c07d0
push dword [ebp - 0x34]
mov esi, dword [ebp - 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x38]
push eax
push edi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push esi
call fcn.004bcc80
add esp, 0x18
jmp 0x4c0818
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x4c06c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00620181
mov esp, ebp
pop ebp
ret