joyce8/EMBER2024-capa huggingface dataset:
Function at 0x59059ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59154cc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
xor eax, eax
lea ecx, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x14], eax
push ecx
mov dword [esp + 0x1c], eax
call dword [0x591a8aa4]
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
call fcn.590cbcc0
add esp, 8
mov dword [esp + 0x28], 1
call fcn.59001210
push eax
lea ecx, [esp + 8]
call fcn.590a0590
push 0x59187450
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 2
call fcn.590a1ad0
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call fcn.590a1b30
push 0x5918f008
lea ecx, [esp + 8]
call fcn.590a1ad0
mov esi, dword [esp + 0x30]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.590a0490
mov dword [esp + 0x1c], 1
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call fcn.590a0ec0
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.590a0ec0
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x5905aad0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x59154e57
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 0x591ad598
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edi
call fcn.590b48a0
mov eax, dword [0x591ad5bc]
mov dword [esp + 0x8e8], edi
cmp eax, edi
jle 0x5905acc9
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8e8], ebp
call fcn.590b4900
push esi
push 0x591ad598
lea ecx, [esp + 0x24]
call fcn.590b48a0
mov edx, dword [0x591ad5b8]
mov eax, dword [0x591ad5bc]
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 0x5905ab85
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.59088c50
add esp, 0xc
mov eax, dword [0x591ad5bc]
dec eax
test eax, eax
mov dword [0x591ad5bc], eax
jg 0x5905ab9c
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x8e8], ebp
call fcn.590b4900
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x591ad6f8
call fcn.590a0490
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.5905ad40
mov ecx, dword [0x591ad6f8]
push 0x591ac690
push ecx
call fcn.59089c79
add esp, 8
test eax, eax
je 0x5905ace0
mov edx, dword [0x591ad6f8]
push edx
call fcn.590c6870
add esp, 4
test eax, eax
je 0x5905ace0
mov eax, dword [0x591ad6f8]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push eax
call esi
mov ecx, dword [0x591ad6f8]
mov edi, 0x591879e4
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, 0x591ad6f8
push edx
lea edx, [esp + 0x18]
push edx
call fcn.590a34e0
mov eax, dword [0x591ac718]
mov ebx, 3
test eax, eax
mov dword [esp + 0x8e8], ebx
je 0x5905aca1
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
call fcn.590a5940
mov ecx, dword [eax]
mov byte [esp + 0x8e8], 4
push ecx
push str.AnalysBufferData_strLeave:_s
push str.winncap
push ebp
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x8e8], bl
call fcn.590a6240
mov edx, dword [esp + 0x14]
push edx
call esi
push 0x591ac690
mov ecx, 0x591ad6f8
call fcn.590a1120
lea ecx, [esp + 0x14]
mov dword [esp + 0x8e8], ebp
call fcn.590a0ec0
jmp 0x5905ace0
or ebp, 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x8e8], ebp
call fcn.590b4900
mov eax, dword [0x591ad584]
mov ecx, dword [0x591ad574]
test eax, eax
jg 0x5905acf3
test ecx, ecx
jle 0x5905ad1c
mov edx, dword [0x591ac718]
test edx, edx
je 0x5905ad17
push ecx
push eax
push str.AnalysBufferData___d__d_
push str.Combine
push ebp
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x18
call fcn.5902a680
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 0x59060110
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5915558a
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.590a5840
lea eax, [ebp + 0x20]
mov esi, 1
push eax
lea ecx, [ebx + 0x20]
mov dword [esp + 0x20], esi
call fcn.590a5840
lea ecx, [ebp + 0x24]
mov byte [esp + 0x1c], 2
push ecx
lea ecx, [ebx + 0x24]
call fcn.590a5840
lea edx, [ebp + 0x28]
lea ecx, [ebx + 0x28]
push edx
mov byte [esp + 0x20], 3
call fcn.590a5840
lea eax, [ebp + 0x2c]
lea ecx, [ebx + 0x2c]
push eax
mov byte [esp + 0x20], 4
call fcn.590a5840
lea ecx, [ebp + 0x30]
mov byte [esp + 0x1c], 5
push ecx
lea ecx, [ebx + 0x30]
call fcn.590a5840
lea edx, [ebp + 0x34]
lea ecx, [ebx + 0x34]
push edx
mov byte [esp + 0x20], 6
call fcn.590a5840
lea eax, [ebp + 0x38]
lea ecx, [ebx + 0x38]
push eax
mov byte [esp + 0x20], 7
call fcn.590a5840
lea ecx, [ebp + 0x3c]
mov byte [esp + 0x1c], 8
push ecx
lea ecx, [ebx + 0x3c]
call fcn.590a0490
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 0x590637c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x59155b1b
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.590b48a0
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.59062f60
mov esi, eax
cmp esi, edi
jne 0x5906390c
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 0x590638ba
push 0x8d8
call fcn.5913d2d0
mov edx, eax
add esp, 4
test edx, edx
je 0x5906394a
jmp 0x590638c6
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 0x5906394a
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 0x59063904
mov dword [eax + 4], edx
mov dword [ebx + 4], edx
jmp 0x5906394a
mov dword [ebx + 8], edx
mov dword [ebx + 4], edx
jmp 0x5906394a
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]
push edi
mov dword [esi + 0x3c], eax
push edi
push ecx
add esi, 0x18
push edx
push esi
call fcn.59070f70
add esp, 0x14
lea ecx, [esp + 0x14]
mov dword [esp + 0x8f8], 0xffffffff
call fcn.590b4900
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 0x59065a00
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.590bb210
test eax, eax
je 0x59065ac4
push 0x41
push 0
push 1
push str.default
call dword [0x591a8a08]
mov esi, eax
test esi, esi
jne 0x59065a4f
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 0x59065b60
push esi
call dword [0x591a89e4]
push esi
call dword [0x591a8a14]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jb 0x59065a96
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 0x59065b42
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, ebx
jb 0x59065b14
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 0x59065b54
mov esi, 1
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
Function at 0x590670c0
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59155b48
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 0x5906723e
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5906723e
push ebp
lea ecx, [esp + 0x10]
call fcn.590a0590
push 3
push 0x5c
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
call fcn.590a1fa0
push 2
push 0x5918fd10
push ebp
mov esi, eax
call fcn.5908a80e
add esp, 0xc
test eax, eax
jne 0x5906713d
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.590a1fa0
mov esi, eax
push 0x591ac690
lea ecx, [esp + 0x28]
call fcn.590a0590
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ebp, 0xffffffff
cmp esi, ebp
mov byte [esp + 0x1c], 1
je 0x590671be
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x14]
call fcn.590a34e0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 2
call fcn.590a1040
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.590a0ec0
mov ecx, dword [esp + 0x24]
push ecx
call edi
cmp eax, ebp
jne 0x590671a7
mov edx, dword [esp + 0x24]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x59067223
jmp 0x590671ab
test al, 0x10
je 0x59067223
inc esi
lea ecx, [esp + 0xc]
push esi
push 0x5c
call fcn.590a1fa0
mov esi, eax
cmp esi, ebp
jne 0x5906715d
mov esi, dword [esp + 0xc]
call fcn.590da1f0
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 0x590671f1
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.590a0ec0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], ebp
call fcn.590a0ec0
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.590a0ec0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], ebp
call fcn.590a0ec0
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 0x59069940
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x59155dd8
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 0x5906996c
test ebp, ebp
jbe 0x59069a1e
mov eax, dword [esp + 0x24]
push esi
lea edx, [esp + 0x20]
push eax
push edx
call fcn.5906c110
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 0x590699d1
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, 0x591ad828
call fcn.59069100
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.590a0ec0
pop esi
mov ecx, dword [esp + 0xc]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x5906d1c0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5915621f
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.5906cb50
add esp, 4
test eax, eax
jne 0x5906d21a
mov esi, dword [esp + 0x18]
push 0x591ad730
mov ecx, esi
call fcn.590a5aa0
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 [0x59162880]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x10], 1
dec ecx
jne 0x5906d27a
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.590a91c0
add esp, 0x48
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
call fcn.590a5840
lea ecx, [esp + 0x1c]
mov dword [esp + 4], 1
mov byte [esp + 0x10], 0
call fcn.590a6240
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5906d2c0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5915624f
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.5906cb50
add esp, 4
test eax, eax
jne 0x5906d31a
mov esi, dword [esp + 0x18]
push 0x591ad730
mov ecx, esi
call fcn.590a5aa0
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 [0x59162880]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov dword [esp + 0x10], 1
dec ecx
jne 0x5906d357
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.590a91c0
add esp, 0x28
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.590a5840
lea ecx, [esp + 0x1c]
mov dword [esp + 4], 1
mov byte [esp + 0x10], 0
call fcn.590a6240
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5906d3f0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5915627f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x59162880]
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.5906d390
mov ecx, esi
add esp, 4
dec ecx
jne 0x5906d452
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.590a91c0
add esp, 0x14
mov esi, dword [esp + 0x1c]
lea edx, [esp + 4]
push edx
mov ecx, esi
call fcn.590a5840
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.590a6240
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5906d5d0
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x591562cf
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.5906d5b0
add esp, 4
test eax, eax
jne 0x5906d629
mov esi, dword [esp + 0x1c]
push 0x591ad730
mov ecx, esi
call fcn.590a5aa0
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 [0x59162880]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 1
dec ecx
jne 0x5906d668
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.590a91c0
add esp, 0x1c
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.590a5840
lea ecx, [esp + 4]
mov dword [esp + 8], 1
mov byte [esp + 0x14], 0
call fcn.590a6240
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5906e370
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x59156467
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push 0x591ad730
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.590a5aa0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], 1
test eax, eax
je 0x5906e4b3
mov esi, dword [esp + 0x24]
test esi, esi
je 0x5906e4b3
mov eax, dword [eax + 4]
push eax
call fcn.5906cb50
add esp, 4
test eax, eax
je 0x5906e4b3
mov ecx, dword [0x59162880]
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.590a91c0
mov eax, dword [esp + 0x3c]
add esp, 0x18
lea edx, [esp + 0x20]
mov ecx, 0x591ac638
push 0
push edx
push 0xffffffffffffffff
push eax
push esi
mov dword [esp + 0x34], 0
call fcn.59002260
test eax, eax
jne 0x5906e481
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, 0x591ac638
call fcn.59002290
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, 0x591ac638
call fcn.590022f0
cmp eax, 0x64
jne 0x5906e470
mov edx, dword [esp + 0x20]
push 0
push edx
mov ecx, 0x591ac638
call fcn.59002340
push eax
lea ecx, [esp + 8]
call fcn.590a64c0
mov eax, dword [esp + 0x20]
mov ecx, 0x591ac638
push eax
call fcn.590024a0
jmp 0x5906e4a5
mov ecx, dword [0x591ac718]
test ecx, ecx
je 0x5906e4a5
push eax
push str.MailMasterGetSentIdFromMailId_sqlite3_prepare16_v2__Failed__nSqlRet:__d_
push str.History
push 0xffffffffffffffff
push 0x591ac6ac
call fcn.59083dc0
add esp, 0x14
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call fcn.590a6240
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.590a5840
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.590a6240
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5906fb10
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5915664e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x59162880]
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi + 0x28], eax
mov ecx, dword [0x59162880]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], ecx
mov edx, dword [0x59162880]
mov byte [esp + 0x14], 1
mov dword [esi + 0x30], edx
mov eax, dword [0x59162880]
mov byte [esp + 0x14], 2
mov dword [esi + 0x34], eax
mov ecx, dword [0x59162880]
mov byte [esp + 0x14], 3
mov dword [esi + 0x38], ecx
mov edx, dword [0x59162880]
mov byte [esp + 0x14], 4
mov dword [esi + 0x3c], edx
mov eax, dword [0x59162880]
mov byte [esp + 0x14], 5
mov dword [esi + 0x40], eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x14], 6
call fcn.590abbc0
lea ecx, [esi + 0x54]
mov byte [esp + 0x14], 7
call fcn.590abbc0
lea ecx, [esi + 0x64]
mov byte [esp + 0x14], 8
call fcn.590b3a40
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], 0x5915da10
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 0x5906fc20
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x591566ce
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], 0x5915da10
lea edi, [esi + 0x44]
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x24], 9
call fcn.590abc30
lea ebx, [esi + 0x54]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.590abc30
lea ebp, [esi + 0x64]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.590b3a60
mov ecx, ebp
mov byte [esp + 0x1c], 8
call fcn.590b3a50
mov ecx, ebx
mov byte [esp + 0x1c], 7
call fcn.590abbd0
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.590abbd0
lea ecx, [esi + 0x40]
mov byte [esp + 0x1c], 5
call fcn.590a6240
lea ecx, [esi + 0x3c]
mov byte [esp + 0x1c], 4
call fcn.590a6240
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 3
call fcn.590a6240
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 2
call fcn.590a6240
lea ecx, [esi + 0x30]
mov byte [esp + 0x1c], 1
call fcn.590a6240
lea ecx, [esi + 0x2c]
mov byte [esp + 0x1c], 0
call fcn.590a6240
lea ecx, [esi + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.590a6240
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret