joyce8/EMBER2024-capa huggingface dataset:
Function at 0x134041e0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x134c6737
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8d0
push ebx
push ebp
push esi
mov esi, 1
push edi
mov ebx, ecx
xor edi, edi
push esi
push 0x13512980
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.13451330
mov eax, dword [0x135129a4]
mov dword [esp + 0x8e8], edi
cmp eax, edi
jle 0x134043d9
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8e8], ebp
call fcn.13451390
push esi
push 0x13512980
lea ecx, [esp + 0x24]
call fcn.13451330
mov edx, dword [0x135129a0]
mov eax, dword [0x135129a4]
mov dword [esp + 0x8e8], esi
mov ecx, 0x22e
mov esi, edx
lea edi, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax - 1]
test ecx, ecx
je 0x13404295
mov eax, ecx
shl eax, 5
sub eax, ecx
lea ecx, [eax + eax*8]
lea eax, [edx + 0x8b8]
shl ecx, 3
push ecx
push eax
push edx
call fcn.1342b4c0
add esp, 0xc
mov eax, dword [0x135129a4]
dec eax
test eax, eax
mov dword [0x135129a4], eax
jg 0x134042ac
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8e8], ebp
call fcn.13451390
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x13512a78
call fcn.1343e6e0
sub esp, 0x8b8
mov ecx, 0x22e
lea esi, [esp + 0x8e4]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov dword [esp + 0x11a4], ebp
call fcn.13404460
mov ecx, dword [0x13512a78]
push 0x13511a80
push ecx
call fcn.1342c4a9
add esp, 8
test eax, eax
je 0x134043f0
mov edx, dword [0x13512a78]
push edx
call fcn.13463ec0
add esp, 4
test eax, eax
je 0x134043f0
mov eax, dword [0x13512a78]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
mov ecx, dword [0x13512a78]
mov edi, 0x134f58cc
xor eax, eax
mov edx, dword [ecx - 8]
mov ecx, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, ecx
mov ecx, 0x13512a78
push edx
lea edx, [esp + 0x18]
push edx
call fcn.13441730
mov eax, dword [0x13511b00]
mov ebx, 3
test eax, eax
mov dword [esp + 0x8e8], ebx
je 0x134043b1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.13443b90
mov ecx, dword [eax]
mov byte [esp + 0x8e8], 4
push ecx
push str.AnalysBufferData_strLeave:_s
push str.winncap
push ebp
push 0x13511a94
call fcn.13426d30
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x8e8], bl
call fcn.13444490
mov edx, dword [esp + 0x14]
push edx
call esi
push 0x13511a80
mov ecx, 0x13512a78
call fcn.1343f370
lea ecx, [esp + 0x14]
mov dword [esp + 0x8e8], ebp
call fcn.1343f110
jmp 0x134043f0
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x8e8], ebp
call fcn.13451390
mov eax, dword [0x13511b00]
test eax, eax
je 0x1340441e
mov eax, dword [0x1351295c]
mov ecx, dword [0x1351296c]
push eax
push ecx
push str.AnalysBufferData___d__d_
push str.Combine
push ebp
push 0x13511a94
call fcn.13426d30
add esp, 0x18
mov eax, dword [0x1351296c]
test eax, eax
jg 0x13404430
mov eax, dword [0x1351295c]
test eax, eax
jle 0x13404435
call fcn.133d4fd0
mov ecx, dword [esp + 0x8e0]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8dc
ret
Function at 0x134096f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x134c6e7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
mov edx, eax
mov ebx, dword [esp + 0x18]
shl edx, 4
add edx, eax
mov eax, dword [ecx]
push ebp
push esi
mov ecx, dword [eax + edx*4]
lea ebp, [eax + edx*4]
push edi
mov dword [ebx], ecx
lea esi, [ebp + 4]
lea edi, [ebx + 4]
mov ecx, 6
lea edx, [ebp + 0x1c]
rep movsd dword es:[edi], dword [esi]
push edx
lea ecx, [ebx + 0x1c]
mov dword [esp + 0x14], 0
call fcn.13443a90
lea eax, [ebp + 0x20]
mov esi, 1
push eax
lea ecx, [ebx + 0x20]
mov dword [esp + 0x20], esi
call fcn.13443a90
lea ecx, [ebp + 0x24]
mov byte [esp + 0x1c], 2
push ecx
lea ecx, [ebx + 0x24]
call fcn.13443a90
lea edx, [ebp + 0x28]
lea ecx, [ebx + 0x28]
push edx
mov byte [esp + 0x20], 3
call fcn.13443a90
lea eax, [ebp + 0x2c]
lea ecx, [ebx + 0x2c]
push eax
mov byte [esp + 0x20], 4
call fcn.13443a90
lea ecx, [ebp + 0x30]
mov byte [esp + 0x1c], 5
push ecx
lea ecx, [ebx + 0x30]
call fcn.13443a90
lea edx, [ebp + 0x34]
lea ecx, [ebx + 0x34]
push edx
mov byte [esp + 0x20], 6
call fcn.13443a90
lea eax, [ebp + 0x38]
lea ecx, [ebx + 0x38]
push eax
mov byte [esp + 0x20], 7
call fcn.13443a90
lea ecx, [ebp + 0x3c]
mov byte [esp + 0x1c], 8
push ecx
lea ecx, [ebx + 0x3c]
call fcn.1343e6e0
mov edx, dword [ebp + 0x40]
mov byte [esp + 0x1c], 9
mov dword [ebx + 0x40], edx
mov byte [esp + 0x1c], 0
mov dword [esp + 0x10], esi
pop edi
mov eax, ebx
pop esi
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x1340cc20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x134c73db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8e0
push ebx
mov ebx, ecx
push ebp
push esi
push edi
lea eax, [ebx + 0x1c]
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.13451330
mov ebp, dword [esp + 0x900]
mov edx, dword [esp + 0x904]
sub esp, 0x10
mov eax, dword [esp + 0x918]
mov ecx, esp
xor edi, edi
mov dword [esp + 0x908], edi
mov dword [esp + 0x20], 1
mov dword [ecx], ebp
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x91c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov ecx, ebx
call fcn.1340c3c0
mov esi, eax
cmp esi, edi
jne 0x1340cd6c
mov edx, dword [esp + 0x90c]
mov ecx, 0x233
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x904]
mov ecx, dword [esp + 0x908]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x910]
mov ecx, 0x22e
lea esi, [esp + 0x914]
lea edi, [esp + 0x38]
mov dword [esp + 0x34], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebx + 4]
test edx, edx
jne 0x1340cd1a
push 0x8d8
call fcn.1342ad5a
mov edx, eax
add esp, 4
test edx, edx
je 0x1340cda8
jmp 0x1340cd26
mov eax, dword [ebx + 0x14]
mov ecx, dword [edx]
dec eax
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x14], eax
mov dword [edx + 4], 0
mov dword [edx], esi
mov ecx, dword [ebx + 0x10]
lea ebp, [edx + 8]
inc ecx
xor eax, eax
mov dword [ebx + 0x10], ecx
mov ecx, 0x234
mov edi, ebp
test edx, edx
rep stosd dword es:[edi], eax
je 0x1340cda8
mov ecx, 0x234
lea esi, [esp + 0x20]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 4]
test eax, eax
je 0x1340cd64
mov dword [eax + 4], edx
mov dword [ebx + 4], edx
jmp 0x1340cda8
mov dword [ebx + 8], edx
mov dword [ebx + 4], edx
jmp 0x1340cda8
mov edx, dword [esp + 0x910]
mov dword [esp + 0x10], edi
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x11ac]
mov edx, dword [esp + 0x11b4]
mov dword [esi], eax
mov eax, dword [esp + 0x938]
mov dword [esi + 0x3c], eax
push ecx
add esi, 0x18
push edx
push esi
call fcn.1341a030
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x8f8], 0xffffffff
call fcn.13451390
mov ecx, dword [esp + 0x8f0]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x8ec
ret 0x8cc
Function at 0x1340ee60
Capabilities:
Get session user name

Disassembly:
sub esp, 0x64
xor eax, eax
push ebx
mov ebx, dword [esp + 0x70]
mov ecx, ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
mov edx, ecx
push edi
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.13457ca0
test eax, eax
je 0x1340ef24
push 0x41
push 0
push 1
push str.default
call dword [0x1350de00]
mov esi, eax
test esi, esi
jne 0x1340eeaf
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0x1340efc0
push esi
call dword [0x1350dde4]
push esi
call dword [0x1350dddc]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jb 0x1340eef6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x84], 0x64
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov esi, eax
test esi, esi
je 0x1340efa2
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jb 0x1340ef74
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, 1
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4dd
jne 0x1340efb4
mov esi, 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
Function at 0x13410520
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x134c7408
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
test ebp, ebp
je 0x1341069e
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1341069e
push ebp
lea ecx, [esp + 0x10]
call fcn.1343e7e0
push 3
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
call fcn.134401f0
push 2
push 0x134f6408
push ebp
mov esi, eax
call fcn.1342d02e
add esp, 0xc
test eax, eax
jne 0x1341059d
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.134401f0
mov esi, eax
push 0x13511a80
lea ecx, [esp + 0x28]
call fcn.1343e7e0
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ebp, 0xffffffff
cmp esi, ebp
mov byte [esp + 0x1c], 1
je 0x1341061e
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.13441730
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.1343f290
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.1343f110
mov ecx, dword [esp + 0x24]
push ecx
call edi
cmp eax, ebp
jne 0x13410607
mov edx, dword [esp + 0x24]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x13410683
jmp 0x1341060b
test al, 0x10
je 0x13410683
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.134401f0
mov esi, eax
cmp esi, ebp
jne 0x134105bd
mov esi, dword [esp + 0xc]
call fcn.13474d90
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
mov eax, dword [esp + 0x24]
push eax
call edi
mov ecx, dword [esp + 0x28]
mov edx, ecx
or edx, 0x10
cmp eax, edx
je 0x13410651
mov eax, dword [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.1343f110
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], ebp
call fcn.1343f110
pop edi
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.1343f110
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], ebp
call fcn.1343f110
mov ecx, dword [esp + 0x14]
pop edi
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x13412da0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x134c7698
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
test ebx, ebx
jne 0x13412dcc
test ebp, ebp
jbe 0x13412e7e
mov eax, dword [esp + 0x24]
push esi
lea edx, [esp + 0x20]
push eax
push edx
call fcn.13415570
mov eax, dword [esp + 0x20]
push 0
push 0
push 4
push 0
push 3
push 0xc0000000
push eax
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x13412e31
push 2
push 0
push 0
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea ecx, [esp + 0x24]
push 0
push ecx
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
mov dword [esp + 0x10], eax
push 0
lea edx, [esp + 0x30]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push 0
push 0
push 0
push esi
mov ecx, 0x13512ba8
call fcn.13412560
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.1343f110
pop esi
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x13416620
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x134c7adf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push esi
mov dword [esp + 8], 0
call fcn.13415fb0
add esp, 4
test eax, eax
jne 0x1341667a
mov esi, dword [esp + 0x18]
push 0x13512ab0
mov ecx, esi
call fcn.13443cf0
mov dword [esp + 4], 1
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [0x134d0d90]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x10], 1
dec ecx
jne 0x134166da
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x30]
mov esi, dword [eax + 4]
push ecx
push edx
push ecx
push esi
mov esi, dword [eax + 0x34]
push esi
mov esi, dword [eax + 0x2c]
push esi
push edx
mov edx, dword [eax + 0x28]
push edx
mov edx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push edx
mov edx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push edx
mov edx, dword [eax + 0x14]
push edx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
push edx
push eax
push ecx
lea ecx, [esp + 0x5c]
push str.SELECT__s__s__s__s__s__s__s__s__s__s__s__s_FROM__s_WHERE__s____1_OR__s____2_ORDER_BY__s_DESC
push ecx
call fcn.13447410
add esp, 0x48
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.13443a90
lea ecx, [esp + 0x1c]
mov dword [esp + 4], 1
mov byte [esp + 0x10], 0
call fcn.13444490
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x13416720
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x134c7b0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push esi
mov dword [esp + 8], 0
call fcn.13415fb0
add esp, 4
test eax, eax
jne 0x1341677a
mov esi, dword [esp + 0x18]
push 0x13512ab0
mov ecx, esi
call fcn.13443cf0
mov dword [esp + 4], 1
mov eax, esi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [0x134d0d90]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x10], 1
dec ecx
jne 0x134167b7
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0x38]
mov esi, dword [eax + 0x34]
push ecx
push ecx
push edx
push edx
mov edx, dword [eax + 4]
push esi
push esi
push edx
push ecx
lea eax, [esp + 0x3c]
push str.SELECT__s_FROM__s_WHERE____s______AND__s___1__OR___s______AND__s___2___AND__s____3_ORDER_BY__s_DESC
push eax
call fcn.13447410
add esp, 0x28
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.13443a90
lea ecx, [esp + 0x1c]
mov dword [esp + 4], 1
mov byte [esp + 0x10], 0
call fcn.13444490
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x13416850
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x134c7b3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x134d0d90]
push esi
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], 1
push esi
call fcn.134167f0
mov ecx, esi
add esp, 4
dec ecx
jne 0x134168b2
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
lea ecx, [esp + 0x10]
push str.SELECT__s_FROM__s_WHERE__s___1
push ecx
call fcn.13447410
add esp, 0x14
mov esi, dword [esp + 0x1c]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.13443a90
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.13444490
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x13416a30
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x134c7b8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push 1
mov dword [esp + 0xc], 0
call fcn.13416a10
add esp, 4
test eax, eax
jne 0x13416a89
mov esi, dword [esp + 0x1c]
push 0x13512ab0
mov ecx, esi
call fcn.13443cf0
mov dword [esp + 8], 1
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov ecx, dword [0x134d0d90]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 1
dec ecx
jne 0x13416ac8
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0xc]
push ecx
push edx
lea eax, [esp + 0x18]
push str.SELECT__s__s__s_FROM__s_WHERE__s___1
push eax
call fcn.13447410
add esp, 0x1c
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.13443a90
lea ecx, [esp + 4]
mov dword [esp + 8], 1
mov byte [esp + 0x14], 0
call fcn.13444490
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x134177a0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x134c7d17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push 0x13512ab0
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.13443cf0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
test eax, eax
je 0x134178e3
mov esi, dword [esp + 0x24]
test esi, esi
je 0x134178e3
mov eax, dword [eax + 4]
push eax
call fcn.13415fb0
add esp, 4
test eax, eax
je 0x134178e3
mov ecx, dword [0x134d0d90]
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x38]
push ecx
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push str.SELECT__s_FROM__s_WHERE__s___1_ORDER_BY__s_DESC
push ecx
mov byte [esp + 0x2c], 2
call fcn.13447410
mov eax, dword [esp + 0x3c]
add esp, 0x18
lea edx, [esp + 0x20]
mov ecx, 0x13511a28
push 0
push edx
push 0xffffffffffffffff
push eax
push esi
mov dword [esp + 0x34], 0
call fcn.133b2260
test eax, eax
jne 0x134178b1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push ecx
push edx
push 1
push eax
mov ecx, 0x13511a28
call fcn.133b2290
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, 0x13511a28
call fcn.133b22f0
cmp eax, 0x64
jne 0x134178a0
mov edx, dword [esp + 0x20]
push 0
push edx
mov ecx, 0x13511a28
call fcn.133b2340
push eax
lea ecx, [esp + 8]
call fcn.13444710
mov eax, dword [esp + 0x20]
mov ecx, 0x13511a28
push eax
call fcn.133b24a0
jmp 0x134178d5
mov ecx, dword [0x13511b00]
test ecx, ecx
je 0x134178d5
push eax
push str.MailMasterGetSentIdFromMailId_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x13511a94
call fcn.13426d30
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call fcn.13444490
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.13443a90
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.13444490
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x13418f20
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x134c7efe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x134d0d90]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi + 0x28], eax
mov ecx, dword [0x134d0d90]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], ecx
mov edx, dword [0x134d0d90]
mov byte [esp + 0x14], 1
mov dword [esi + 0x30], edx
mov eax, dword [0x134d0d90]
mov byte [esp + 0x14], 2
mov dword [esi + 0x34], eax
mov ecx, dword [0x134d0d90]
mov byte [esp + 0x14], 3
mov dword [esi + 0x38], ecx
mov edx, dword [0x134d0d90]
mov byte [esp + 0x14], 4
mov dword [esi + 0x3c], edx
mov eax, dword [0x134d0d90]
mov byte [esp + 0x14], 5
mov dword [esi + 0x40], eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 6
call fcn.13449e10
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 7
call fcn.13449e10
lea ecx, [esi + 0x64]
mov byte [esp + 0x14], 8
call fcn.134504d0
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x14], 9
mov dword [esi + 0x18], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi], 0x134cd878
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x74], 1
mov dword [esi + 0xc], edi
mov dword [esi + 0x14], edi
mov dword [esp + 0x14], 0xffffffff
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x13419030
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x134c7f7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x134cd878
lea edi, [esi + 0x44]
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x24], 9
call fcn.13449e80
lea ebx, [esi + 0x54]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.13449e80
lea ebp, [esi + 0x64]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.134504f0
mov ecx, ebp
mov byte [esp + 0x1c], 8
call fcn.134504e0
mov ecx, ebx
mov byte [esp + 0x1c], 7
call fcn.13449e20
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.13449e20
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 5
call fcn.13444490
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 4
call fcn.13444490
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 3
call fcn.13444490
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.13444490
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.13444490
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.13444490
lea ecx, [esi + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.13444490
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x1341aa10
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
cmp dword [esi], 0
jne 0x1341aa20
pop edi
xor eax, eax
pop esi
ret
cmp dword [esi + 0xc], 0xffffffff
je 0x1341aa7f
mov eax, dword [esi + 8]
test eax, eax
je 0x1341aa36
push eax
call fcn.1342a2fe
add esp, 4
mov eax, dword [esi]
push eax
call fcn.1342a3e7
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 8], edi
jne 0x1341aa4d
pop edi
pop esi
ret
mov ecx, dword [esi]
xor eax, eax
mov edx, ecx
push 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0xc]
push eax
call fcn.1342beee
mov ecx, dword [esi]
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
push ecx
push edx
push eax
call fcn.1342c26b
add esp, 0x18
mov eax, dword [esi + 8]
pop edi
pop esi
ret