joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b16e
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov dword [ebp - 4], 0
xor esi, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], 1
test ebx, ebx
je 0x401fde
mov al, byte [edx]
dec ebx
mov byte [ebp + esi - 0x14], al
inc edx
mov ah, byte [ebp - 0x12]
inc esi
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov byte [ebp - 0xe], ah
mov byte [ebp + 0xb], ch
mov byte [ebp - 0xd], cl
cmp esi, 3
jne 0x401f15
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, ch
shl cl, 4
shr al, 4
add cl, al
mov al, ah
mov byte [ebp - 0x17], cl
and ah, 0x3f
mov cl, ch
shr al, 6
and cl, 0xf
mov byte [ebp - 0x15], ah
shl cl, 2
add cl, al
xor esi, esi
mov byte [ebp - 0x16], cl
nop dword [eax]
cmp dword [0x577ba0], 0x10
mov ecx, 0x577b8c
movzx eax, byte [ebp + esi - 0x18]
cmovae ecx, dword [0x577b8c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00402aa0
inc esi
cmp esi, 4
jl 0x401ee0
mov edx, dword [ebp - 0x20]
xor esi, esi
mov ch, byte [ebp + 0xb]
mov cl, byte [ebp - 0xd]
test ebx, ebx
jne 0x401e84
mov dword [ebp + 8], esi
test esi, esi
je 0x401fde
mov eax, esi
cmp esi, 3
jge 0x401f4e
cmp eax, 3
jae 0x401ff2
mov byte [ebp + eax - 0x14], 0
inc eax
cmp eax, 3
jl 0x401f32
mov dl, byte [ebp - 0x12]
mov ch, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
jmp 0x401f51
mov dl, byte [ebp - 0xe]
mov al, cl
xor ebx, ebx
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov al, ch
shr al, 4
and ch, 0xf
shl cl, 4
add cl, al
shl ch, 2
mov al, dl
mov byte [ebp - 0x17], cl
shr al, 6
and dl, 0x3f
add ch, al
mov byte [ebp - 0x15], dl
lea eax, [esi + 1]
mov byte [ebp - 0x16], ch
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x401fbc
mov esi, eax
nop dword [eax]
cmp dword [0x577ba0], 0x10
mov ecx, 0x577b8c
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x577b8c]
movzx eax, byte [eax + ecx]
mov ecx, edi
push eax
call fcn.00402aa0
inc ebx
cmp ebx, esi
jl 0x401f90
mov esi, dword [ebp + 8]
cmp esi, 3
jge 0x401fde
mov ebx, 3
sub ebx, esi
nop dword [eax + eax]
push 0x3d
mov ecx, edi
call fcn.00402aa0
sub ebx, 1
jne 0x401fd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.005172b5
int3
Function at 0x408b60
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b9cd
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 8
jb 0x408b93
mov ecx, dword [ecx]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x408bb9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push 1
lea ecx, [ebp - 0x34]
call fcn.004083f0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.00403c40
cmp eax, 5
je 0x408bee
cmp eax, 0xb7
jne 0x408c14
push 0x22
lea ecx, [ebp - 0x58]
call fcn.004083f0
mov byte [ebp - 4], 2
jmp 0x408bfc
push 8
lea ecx, [ebp - 0x58]
call fcn.004083f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408c50
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00408480
push str.D:NeatForWindowsNeatDMNeatBaseNeatFileWindows.cpp
push 0x9c
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xd8]
push eax
call fcn.0051907e
int3

Function at 0x408d80
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ba4d
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x14], 8
jb 0x408db5
mov ecx, dword [ecx]
push 0
push 0
push 3
push 0
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x408dd5
xor eax, eax
xor edx, edx
jmp 0x408e48
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
jne 0x408e43
push 1
lea ecx, [ebp - 0x38]
call fcn.004083f0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0
jne 0x408e63
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x38], vtable.NeatError.0
cmp ecx, 0x10
jb 0x408e43
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x408e39
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408e8f
push ecx
push edx
call fcn.00517162
add esp, 8
mov edx, dword [ebp - 0x14]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret
push str.D:NeatForWindowsNeatDMNeatBaseNeatFileWindows.cpp
push 0x103
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xb8]
push eax
call fcn.0051907e
call fcn.0051eb64
int3
Function at 0x408ec0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53baa8
mov eax, dword fs:[0]
push eax
sub esp, 0x140
push ebx
push esi
push edi
mov eax, dword [0x577018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x20], 0xffffffff
je 0x408ef8
mov eax, dword [esi]
call dword [eax + 0xc]
mov eax, dword [ebp + 8]
lea edi, [esi + 8]
cmp edi, eax
je 0x408f17
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x408f0c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edi
call fcn.00408270
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x408f21
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x408f4b
test al, 0x10
jne 0x408ff9
mov ebx, dword [ebp + 0xc]
test ebx, 0x200
jne 0x409038
mov edx, 3
jmp 0x408f5f
mov ebx, dword [ebp + 0xc]
test ebx, 0x10c
je 0x409074
mov edx, 2
mov ecx, ebx
and ecx, 0xfffffffe
shl ecx, 0x1e
mov dword [ebp + 0xc], ecx
or dword [ebp + 0xc], 0x40000000
test bl, 0xc
mov eax, dword [ebp + 0xc]
cmove eax, ecx
mov ecx, ebx
shr ecx, 4
and ecx, 1
mov dword [ebp + 0xc], eax
mov dword [ebp + 8], ecx
or dword [ebp + 8], 2
test bl, 0x20
mov eax, dword [ebp + 8]
cmove eax, ecx
mov ecx, ebx
and ecx, 1
shl ecx, 0x1e
cmp dword [edi + 0x14], 8
jb 0x408fa5
mov edi, dword [edi]
push 0
push ecx
push edx
push 0
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0x20], eax
cmp eax, 0xffffffff
je 0x4090b0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
test bl, 8
je 0x408fe2
mov eax, dword [esi]
mov ecx, esi
push 2
push 0
push 0
call dword [eax + 0x1c]
mov dword [esi + 0x30], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0x2bc
lea ecx, [ebp - 0x30]
call fcn.00403a50
push str.D:NeatForWindowsNeatDMNeatBaseNeatFileWindows.cpp
push 0x13c
push 0
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 0
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xac]
push eax
call fcn.0051907e
push 0
push 0x1f
lea ecx, [ebp - 0x30]
call fcn.00403a50
push str.D:NeatForWindowsNeatDMNeatBaseNeatFileWindows.cpp
push 0x13f
push 0
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 1
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xac]
push eax
call fcn.0051907e
push 0
push 0x20
lea ecx, [ebp - 0x30]
call fcn.00403a50
push str.D:NeatForWindowsNeatDMNeatBaseNeatFileWindows.cpp
push 0x147
push 0
push eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 4], 2
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xac]
push eax
call fcn.0051907e
push 2
push 0x27
lea ecx, [ebp - 0xd0]
call fcn.00403a50
push str.D:NeatForWindowsNeatDMNeatBaseNeatFileWindows.cpp
push 0x169
push str.Unexpected_Error
push eax
lea ecx, [ebp - 0x14c]
mov dword [ebp - 4], 3
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0x14c]
push eax
call fcn.0051907e
int3
Function at 0x409100
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bae5
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push 0
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x409175
mov eax, dword [ebp - 0x14]
add dword [esi + 0x28], eax
adc dword [esi + 0x2c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 8
push 0x2bf
lea ecx, [ebp - 0x38]
call fcn.004083f0
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00403c40
cmp eax, 0x26
jne 0x4091bf
push 0x2bd
lea ecx, [ebp - 0x5c]
call fcn.004083f0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x38]
call fcn.00408c50
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00408480
push str.NeatFileWindows
push 0x186
push str.File_Read_Failed
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xd8]
push eax
call fcn.0051907e
int3

Function at 0x4091f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bb1d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push 0
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
push eax
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x409267
mov eax, dword [ebp - 0x14]
add dword [esi + 0x28], eax
adc dword [esi + 0x2c], 0
xor edx, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 8
push 0x2be
lea ecx, [ebp - 0x38]
call fcn.004083f0
push str.NeatFileWindows
push 0x196
push str.File_Write_Failed
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xb4]
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xb4]
push eax
call fcn.0051907e
int3
Function at 0x40b920
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bd6d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
mov edi, dword [ebp + 0xc]
jle 0x40b95a
mov eax, dword [esi]
call dword [eax + 4]
mov edx, dword [esi]
mov ecx, esi
movzx eax, word [edi]
push 0
push dword [ebp + 8]
push eax
call dword [edx + 0x18]
push 0x10
push edi
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
sete byte [ebp - 0x35]
test eax, eax
jne 0x40b9ae
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [esi + 0x10], eax
mov al, 1
mov dword [esi + 0x14], edx
mov dword [esi + 8], 2
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x40], xmm0
jmp 0x40ba5b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], vtable.NeatError.0
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00403c50
mov eax, dword [ebp - 0x2c]
cmp eax, 0x2733
je 0x40ba25
cmp eax, 0x8c
je 0x40ba25
cmp eax, 0xb
je 0x40ba25
cmp eax, 0x2734
je 0x40ba25
cmp eax, 0x70
je 0x40ba25
cmp eax, 0x2735
je 0x40ba25
cmp eax, 0x67
je 0x40ba25
cmp eax, 4
jne 0x40ba50
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 8], 1
movups xmm0, xmmword [edi]
mov byte [ebp - 0x35], 1
movups xmmword [esi + 0x40], xmm0
lea ecx, [ebp - 0x34]
call fcn.00403b90
mov al, byte [ebp - 0x35]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 8
Function at 0x40bab0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53bdb5
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x577018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
jle 0x40bb23
mov bl, byte [ebp + 8]
movzx eax, bl
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x8004667e
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x40bb5f
mov byte [esi + 0x68], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00517154
mov esp, ebp
pop ebp
ret 4
push 0
push 9
lea ecx, [ebp - 0x5c]
call fcn.00403a50
push str.D:NeatForWindowsNeatDMNeatBaseNeatSocket.cpp
push 0x75
push str.Cant_call_set_async_mode___on_a_Closed_Socket.
push eax
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], 1
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0x154]
push eax
call fcn.0051907e
push 1
lea ecx, [ebp - 0x38]
call fcn.004083f0
push str.D:NeatForWindowsNeatDMNeatBaseNeatSocket.cpp
push 0x70
push str.set_async_mode__
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0
call fcn.00407b80
push 0x574b4c
lea eax, [ebp - 0xd8]
push eax
call fcn.0051907e
int3

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
push dword [edi + 0xc]
call dword [sym.imp.WS2_32.dll_send]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [edi + 0x10], eax
mov eax, esi
mov dword [edi + 0x14], edx
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
Function at 0x4571c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov eax, ecx
mov ebx, edx
push edi
push 0
push 0x14
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
mov dword [eax], 0
call fcn.00423320
mov esi, eax
add esp, 8
test esi, esi
jne 0x4571f5
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x577a6c], 0
je 0x457240
mov eax, dword [0x577b6c]
test eax, eax
je 0x457215
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x457240
mov eax, dword [ebp + 8]
lea edi, [esi + 8]
mov dword [edi], ebx
lea ebx, [esi + 4]
push ebx
push 0
push esi
push 0x4274d0
push 0
push 0
mov dword [esi + 0xc], eax
call fcn.005261f8
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x457253
jmp 0x457246
lea edi, [esi + 8]
lea ebx, [esi + 4]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [edi], 0
jne 0x45726c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp + 8]
mov dword [ebx], eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464d40
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 str.sqlite_master
push edi
push 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
push ebx
call fcn.0046ad80
add esp, 0x18
cmp dword [ebp + 8], 0
jne 0x464d7b
push edi
push str.sqlite_master
push 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
push ebx
call fcn.0046ad80
add esp, 0x10
pop edi
pop ebx
pop ebp
ret
Function at 0x46ae80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, edx
mov dword [ebp - 8], ecx
push edi
mov dword [ebp - 0xc], ebx
xor edi, edi
cmp dword [ecx + 0x14], edi
jle 0x46af12
mov eax, dword [ebp + 8]
mov esi, edi
xor esi, 1
cmp edi, 2
cmovge esi, edi
test eax, eax
je 0x46af57
mov ecx, dword [ecx + 0x10]
mov edx, esi
add edx, edx
mov ecx, dword [ecx + edx*8]
mov dword [ebp - 4], ecx
mov ecx, eax
mov bl, byte [ecx]
movzx ecx, bl
movzx edx, byte [ecx + 0x554bc0]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ecx]
movzx ecx, byte [ecx + 0x554bc0]
sub edx, ecx
jne 0x46af06
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
test bl, bl
je 0x46af51
movzx ecx, byte [ecx + eax + 1]
inc eax
movzx edx, byte [ecx + 0x554bc0]
mov bl, byte [eax]
movzx ecx, bl
movzx ecx, byte [ecx + 0x554bc0]
sub ecx, edx
mov ecx, dword [ebp - 4]
je 0x46aee2
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
inc edi
cmp edi, dword [ecx + 0x14]
jl 0x46ae98
mov dl, byte [ebx]
movzx eax, dl
cmp byte [eax + 0x554bc0], 0x73
jne 0x46af48
mov esi, str.sqlite_master
sub esi, ebx
test dl, dl
je 0x46af78
movzx eax, byte [esi + ebx + 1]
inc ebx
movzx ecx, byte [eax + 0x554bc0]
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x554bc0]
sub eax, ecx
je 0x46af27
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x10]
add esi, esi
push 0
mov edx, ebx
mov ecx, dword [eax + esi*8 + 0xc]
add ecx, 8
call fcn.00429130
add esp, 4
mov eax, dword [eax + 8]
test eax, eax
jne 0x46af4a
jmp 0x46af09
mov ecx, dword [ebp - 8]
mov edi, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0x10]
test edi, edi
jne 0x46af8e
neg edx
sbb edx, edx
jmp 0x46afd6
test edx, edx
je 0x46af48
movzx eax, byte [edx]
mov esi, edi
mov bl, byte [edi]
movzx ecx, byte [eax + 0x554bc0]
movzx eax, bl
movzx eax, byte [eax + 0x554bc0]
sub eax, ecx
jne 0x46afd1
sub edx, edi
test bl, bl
je 0x46afd1
movzx eax, byte [edx + esi + 1]
inc esi
movzx ecx, byte [eax + 0x554bc0]
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x554bc0]
sub eax, ecx
je 0x46afb0
mov ecx, dword [ebp - 8]
mov edx, eax
test edx, edx
jne 0x46af48
mov ebx, str.sqlite_temp_master
mov dword [ebp - 0xc], ebx
jmp 0x46ae91
Function at 0x46b1f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, ecx
mov dword [ebp - 0x10], edx
xor edx, edx
mov dword [ebp - 0x14], eax
push edi
xor edi, edi
mov dword [ebp - 4], edx
cmp dword [eax + 0x14], edx
jle 0x46b2a5
push ebx
push esi
mov eax, dword [eax + 0x10]
mov ecx, edi
xor ecx, 1
cmp edi, 2
cmovge ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8 + 0xc]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp + 8]
test edx, edx
je 0x46b286
mov ebx, dword [eax + ecx*8]
mov esi, edx
mov al, byte [edx]
movzx ecx, byte [ebx]
movzx edx, byte [ecx + 0x554bc0]
movzx ecx, al
movzx ecx, byte [ecx + 0x554bc0]
sub ecx, edx
jne 0x46b271
sub ebx, esi
test al, al
je 0x46b286
movzx ecx, byte [ebx + esi + 1]
inc esi
movzx edx, byte [ecx + 0x554bc0]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x554bc0]
sub ecx, edx
je 0x46b250
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x46b211
pop esi
pop ebx
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
add ecx, 0x18
push 0
call fcn.00429130
add esp, 4
mov edx, dword [eax + 8]
mov dword [ebp - 4], edx
test edx, edx
jne 0x46b27d
jmp 0x46b274
mov eax, edx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4c6550
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fe31
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x577018]
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 esi, ecx
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
mov dword [ebp - 0xd4], esi
jle 0x4c659e
mov eax, dword [esi]
call dword [eax + 4]
mov edx, dword [esi]
mov ecx, esi
movzx eax, word [edi]
push 0
push 1
push eax
call dword [edx + 0x18]
push 0x10
push edi
push dword [esi + 0xc]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
sete cl
mov byte [ebp - 0xcd], cl
test eax, eax
jne 0x4c65f4
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov dword [esi + 8], 2
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x40], xmm0
jmp 0x4c66a5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], vtable.NeatError.0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00403c50
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x48]
cmp eax, 0x2733
je 0x4c6676
cmp eax, 0x8c
je 0x4c6676
cmp eax, 0xb
je 0x4c6676
cmp eax, 0x2734
je 0x4c6676
cmp eax, 0x70
je 0x4c6676
cmp eax, 0x2735
je 0x4c6676
cmp eax, 0x67
je 0x4c6676
cmp eax, 4
je 0x4c6676
lea ecx, [ebp - 0x50]
call fcn.00403b90
jmp 0x4c66ac
call fcn.00516ae0
push 0
push 0x2710
push edx
push eax
call fcn.0053aaa0
mov dword [esi + 0x10], eax
lea ecx, [ebp - 0x50]
mov dword [esi + 0x14], edx
mov dword [esi + 8], 1
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x40], xmm0
call fcn.00403b90
mov byte [ebp - 0xcd], 1
mov eax, dword [esi + 8]
cmp eax, 1
jne 0x4c66b7
push eax
jmp 0x4c66d0
cmp eax, 2
jne 0x4c66d7
mov ecx, dword [esi + 0x204]
push esi
mov ecx, dword [ecx + 0x568]
call fcn.004c9370
push 2
mov ecx, esi
call fcn.004c8620
mov al, byte [ebp - 0xcd]
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.00517154
mov esp, ebp
pop ebp
ret 4
Function at 0x4c72f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53febd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x577018]
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 esi, ecx
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x84]
mov ebx, dword [esi + 0x8c]
mov dword [ebp - 0x24], esi
mov ecx, dword [eax + 0x40]
sub ecx, dword [eax + 0x30]
mov edi, dword [eax + 0x44]
sbb edi, dword [eax + 0x34]
xor eax, eax
mov edx, dword [ebx + 0xc]
cmp eax, edi
jg 0x4c7356
jl 0x4c7351
cmp edx, ecx
jae 0x4c7356
mov dword [ebp - 0x28], eax
jmp 0x4c735b
mov edx, ecx
mov dword [ebp - 0x28], edi
mov ecx, dword [esi + 0x88]
push edx
push dword [ebx + 4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
push edx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x84]
push eax
call fcn.004ca0e0
test al, al
je 0x4c738b
mov ecx, esi
call fcn.004c7400
mov eax, dword [esi + 0x8c]
mov dword [eax + 0xc], 0
mov eax, dword [eax + 4]
mov byte [eax], 0
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.00517154
mov esp, ebp
pop ebp
ret