joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10088f60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e766
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x10182f40]
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 - 0x250], edx
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebp - 0x21c]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10088fd0
mov ecx, 0x12
mov esi, str.TencentQQBrowserUser_DataDefault
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x21c]
movsw word es:[edi], word [esi]
call fcn.10076eb0
lea ecx, [ebp - 0x21c]
add ecx, 0xfffffffe
nop
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x10089000
mov eax, dword [str.Bookmarks]
sub esp, 0x18
mov dword [ecx], eax
mov edx, esp
mov eax, dword [0x1016dc34]
mov dword [ecx + 4], eax
mov eax, dword [0x1016dc38]
mov dword [ecx + 8], eax
mov eax, dword [0x1016dc3c]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1016dc40]
mov dword [ecx + 0x10], eax
mov ax, word [0x1016dc44]
mov word [ecx + 0x14], ax
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1008905a
mov eax, dword [edx]
jmp 0x1008905c
mov eax, edx
mov byte [eax], 0
cmp byte [ebx], 0
jne 0x10089068
xor ecx, ecx
jmp 0x10089079
mov ecx, ebx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10089070
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.1006f560
lea ecx, [ebp - 0x234]
call fcn.10076270
add esp, 0x18
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x1008909f
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.10076600
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x220]
cmp eax, 8
jb 0x100890ce
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x220], 7
cmp dword [ebp - 0x238], 0x10
lea edx, [ebp - 0x24c]
push ecx
push dword [ebp - 0x250]
cmovae edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
call fcn.1006e7d0
add esp, 8
test eax, eax
jne 0x1008911c
xor esi, esi
jmp 0x10089129
lea ecx, [ebp - 0x21c]
call fcn.10088d90
mov esi, eax
mov ecx, dword [ebp - 0x238]
cmp ecx, 0x10
jb 0x10089147
inc ecx
push ecx
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x24c]
call fcn.1006d540
mov eax, esi
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.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x10089170
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x630
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x624], 0x100
push 0
push eax
mov esi, ecx
call fcn.10118ce0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.10118ce0
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.10118ce0
xor eax, eax
mov dword [ebp - 0x620], 0x100
add esp, 0x24
mov word [esi], ax
lea eax, [ebp - 0x620]
mov dword [ebp - 0x62c], 0x100
mov dword [ebp - 0x628], 0x100
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x100892a2
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089214
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 0x620], eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
je 0x100892a2
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x100892a2
lea eax, [ebp - 0x624]
mov edx, esi
push eax
lea ecx, [ebp - 0x414]
call fcn.1008a470
add esp, 4
test eax, eax
je 0x100892a2
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x100892c0
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x110], 0
push edi
mov edi, 2
lea esi, [ebp - 0x100]
add edx, edi
mov dword [ebx], 0xc
nop dword [eax + eax]
movzx ecx, byte [edx + 1]
lea edx, [edx + 8]
movzx eax, byte [edx - 8]
lea esi, [esi + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 5]
mov dword [esi - 0xc], ecx
movzx ecx, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl eax, 0x18
or eax, ecx
mov dword [esi - 8], eax
sub edi, 1
jne 0x10089300
mov dword [ebx + 4], 0xb7e15163
mov ecx, 1
nop dword [eax + eax]
mov eax, dword [ebx + ecx*4]
sub eax, 0x61c88647
mov dword [ebx + ecx*4 + 4], eax
inc ecx
cmp ecx, 0x1a
jl 0x10089360
xor edi, edi
mov dword [ebp - 0x10c], 0x4e
xor edx, edx
xor esi, esi
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
add esi, edx
lea eax, [ebp + eax*4 - 0x104]
add esi, dword [ebx + edi*4 + 4]
rol esi, 3
mov dword [ebp - 0x108], eax
mov eax, dword [eax]
add eax, esi
mov dword [ebx + edi*4 + 4], esi
lea ecx, [esi + edx]
add edx, eax
and ecx, 0x1f
je 0x100893bf
and ecx, 0x1f
rol edx, cl
jmp 0x100893c6
neg ecx
and ecx, 0x1f
ror edx, cl
mov ecx, dword [ebp - 0x108]
inc edi
mov eax, dword [ebp - 0x110]
inc eax
mov dword [ebp - 0x108], 0
mov dword [ecx], edx
xor ecx, ecx
cmp edi, 0x1a
cmovge edi, ecx
mov ecx, dword [ebp - 0x10c]
dec ecx
cmp eax, 4
mov dword [ebp - 0x10c], ecx
cmovge eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
test ecx, ecx
jne 0x10089390
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x10089bf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov edx, edi
lea ecx, [edx + 2]
nop word [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10089c00
sub edx, ecx
xor eax, eax
sar edx, 1
xor esi, esi
lea ebx, [edx + edx]
test ebx, ebx
jle 0x10089c38
nop word [eax + eax]
movzx edx, byte [esi + edi]
inc esi
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10170028]
cmp esi, ebx
jl 0x10089c20
pop edi
pop esi
not eax
pop ebx
ret
Function at 0x1008a7b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf013f
push 0
mov esi, edx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1008a7fc
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1008a825
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008a825
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
je 0x1008a82c
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1008a840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 8], edx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1008a853
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push edi
sub esi, ecx
push 0x80000001
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1008a898
lea eax, [ebp - 4]
push eax
push edi
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1008a8c5
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1008a8c5
lea eax, [esi*2 + 2]
push eax
push dword [ebp + 8]
push 1
push 0
push dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
je 0x1008a8cd
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1008a8e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push str.SoftwarePPStreammain
push 0x80000001
mov esi, edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1008a92e
lea eax, [ebp - 4]
push eax
push str.SoftwarePPStreammain
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1008a954
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008a954
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
je 0x1008a95b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008a970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
lea ecx, [esi + 2]
nop
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1008a980
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
sub esi, ecx
push 0x80000002
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1008a9cd
lea eax, [ebp - 4]
push eax
push str.SOFTWAREPoliciesMicrosoftWindowsSaferCodeIdentifiers0Paths13283283_0000_0000_0000_210505232252
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1008a9f8
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1008a9f8
lea eax, [esi*2 + 2]
push eax
push dword [ebp + 8]
push 1
push 0
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
je 0x1008aa00
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1008aa20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
mov esi, ecx
mov edi, edx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1008aa60
lea eax, [ebp - 4]
push eax
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1008aa86
mov eax, dword [ebp - 4]
test eax, eax
je 0x1008aa86
push 4
lea ecx, [ebp + 8]
push ecx
push 4
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
je 0x1008aa8e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1008db60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov ax, word [ebp - 0x28]
cmp ax, 9
je 0x1008db98
cmp ax, 6
je 0x1008db98
push 1
mov edx, str.PreventFirstRunPage
mov ecx, str.SOFTWAREPoliciesMicrosoftMicrosoftEdge
call fcn.1008aa20
add esp, 4
mov esp, ebp
pop ebp
ret
push 4
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push eax
push str.PreventFirstRunPage
mov edx, str.SOFTWAREPoliciesMicrosoftMicrosoftEdge
call fcn.1008a7b0
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x1008dbc0
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e822
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x10182f40]
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 dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], 0
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x1008dc5a
mov eax, dword [esi]
jmp 0x1008dc5c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x218], cx
je 0x1008dc82
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008dc73
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.100734f0
push 0xe
mov dword [ebp - 4], 0
mov ecx, esi
push str.SogouExplorer
mov dword [ebp - 0x21c], 1
call fcn.10073e70
cmp dword [esi + 0x14], 8
jb 0x1008dcba
mov eax, dword [esi]
jmp 0x1008dcbc
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xe
push str._favorite3.dat
mov ecx, esi
call fcn.10073e70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x1008dcf0
Capabilities:
Delete file
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013e858
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x38], edi
push 0x1016e5fc
push 0x85
mov dword [ebp - 4], edi
push dword [0x10188cc0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov dword [ebp - 0x34], esi
test esi, esi
je 0x1008dd5e
push esi
push dword [0x10188cc0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
xor eax, eax
test edi, edi
mov dword [ebp - 0x38], edi
cmove esi, eax
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x28]
call fcn.1008dbc0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x1016e570
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
call fcn.1011cce8
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x1008ddf6
test edi, edi
jne 0x1008ddaa
xor ebx, ebx
jmp 0x1008ddb3
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test esi, esi
jne 0x1008ddc4
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, dword [ebp - 0x38]
jmp 0x1008ddd8
push esi
push dword [0x10188cc0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x34], 0
test ebx, ebx
je 0x1008ddeb
push dword [ebp - 0x2c]
push eax
push 1
push ebx
call fcn.101212e9
add esp, 0x10
push dword [ebp - 0x2c]
call fcn.1011c569
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x1008de0b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1006f7f0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
test edi, edi
je 0x1008de2a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101149a0
mov esp, ebp
pop ebp
ret

Function at 0x1008de50
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10182f40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.10118ce0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x1008debf
xor ecx, ecx
jmp 0x1008dedf
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008ded0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.100734f0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.101149a0
mov esp, ebp
pop ebp
ret
Function at 0x100952a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [edi], 0
cmp dword [0x10185008], 0
je 0x100952f7
mov eax, dword [0x10188cf8]
test eax, eax
je 0x100952d0
push eax
call dword [0x10185060]
add esp, 4
lea edx, [ebp - 4]
mov ecx, 0x14
call fcn.10092980
mov eax, dword [0x10188cf8]
test eax, eax
je 0x100952f2
push eax
call dword [0x10185068]
mov esi, dword [ebp - 4]
jmp 0x10095301
mov esi, dword [ebp - 4]
jmp 0x10095304
push 0x14
call dword [0x10185030]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10095312
lea eax, [esi + 7]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x1018500c], 0
mov ebx, dword [ebp + 8]
je 0x1009535c
mov eax, dword [0x10185110]
test eax, eax
je 0x10095335
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x1009535c
mov eax, dword [ebp - 8]
mov dword [esi + 8], eax
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x10095270
push 0
push 0
mov dword [esi + 0xc], ebx
call fcn.10129821
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x10095369
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
cmp dword [esi + 8], 0
jne 0x10095382
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebx
mov dword [esi + 4], eax
call dword [ebp - 8]
add esp, 4
mov dword [esi + 0x10], eax
mov dword [edi], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b5660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
mov ecx, ebx
call fcn.100a8790
mov edi, dword [ebx + 0x18]
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
movsx eax, byte [ebx + 0x44]
mov dword [ebp - 0x14], esi
mov esi, dword [ebx + 0x1c]
mov eax, dword [ebx + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [ebx + 0x20]
sub ecx, edi
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
ja 0x100b56b1
mov eax, 0x1010
mov dword [ebp - 0x24], edi
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x28], esi
jmp 0x100b56d0
lea eax, [ebp - 0x34]
xor edx, edx
push eax
push esi
mov ecx, ebx
call fcn.100b04a0
add esp, 8
test eax, eax
jne 0x100b5791
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
mov al, byte [edi]
cmp al, 0x80
jae 0x100b56db
movzx ebx, al
jmp 0x100b56e8
lea edx, [ebp - 8]
mov ecx, edi
call fcn.10096c80
mov ebx, dword [ebp - 8]
cmp ebx, 3
jb 0x100b5757
cmp ebx, esi
jg 0x100b5757
lea ecx, [edi - 1]
add ecx, ebx
mov al, byte [ecx]
cmp al, 0x80
jae 0x100b5701
movzx edx, al
jmp 0x100b570c
lea edx, [ebp - 8]
call fcn.10096c80
mov edx, dword [ebp - 8]
lea eax, [edx - 1]
cmp eax, 8
ja 0x100b5757
cmp edx, 7
je 0x100b5757
movzx ecx, byte [edx + 0x101724a8]
lea eax, [ecx + ebx]
cmp esi, eax
jb 0x100b5757
sub esi, ecx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [edi + esi]
call fcn.100b42c0
mov ecx, dword [ebp + 8]
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x34]
call fcn.100afc00
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test dword [ebp - 0x2c], 0x2460
jne 0x100b5766
cmp dword [ebp - 0x1c], 0
je 0x100b576e
lea ecx, [ebp - 0x34]
call fcn.100afb60
push 0x10176ae8
push 0x1273c
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
call fcn.100950a0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b57a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, dword [edx + 0x28]
mov ebx, ecx
mov ecx, edi
call fcn.100a8790
mov esi, dword [edi + 0x1c]
xor eax, eax
mov edx, esi
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x100b5861
jb 0x100b57d8
cmp edx, 0x7ffffffe
ja 0x100b5861
xor eax, eax
mov dword [ebp - 8], ebx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x10], eax
movsx eax, byte [edi + 0x44]
mov edx, dword [edi + 0x18]
mov eax, dword [edi + eax*4 + 0x78]
mov ecx, dword [eax + 0x3c]
movzx eax, word [edi + 0x20]
sub ecx, edx
cmp eax, ecx
cmovb ecx, eax
cmp esi, ecx
ja 0x100b5812
mov eax, 0x1010
mov dword [ebp - 0x18], edx
mov word [ebp - 0x20], ax
mov dword [ebp - 0x1c], esi
jmp 0x100b582d
lea eax, [ebp - 0x28]
xor edx, edx
push eax
push esi
mov ecx, edi
call fcn.100b04a0
add esp, 8
test eax, eax
jne 0x100b588d
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
push 0
push dword [ebp + 8]
mov ecx, esi
call fcn.100b4c10
mov ecx, dword [ebp + 0xc]
add esp, 8
test dword [ebp - 0x20], 0x2460
mov dword [ecx], eax
jne 0x100b5850
cmp dword [ebp - 0x10], 0
je 0x100b5858
lea ecx, [ebp - 0x28]
call fcn.100afb60
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
push 0x10176ae8
push 0x1275d
push str.database_corruption
push str._s_at_line__d_of___.10s_
push 0xb
mov dword [eax], 0
call fcn.100950a0
add esp, 0x14
mov eax, 0xb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c7020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 0
mov ebx, ecx
mov dword [esp + 0x18], eax
test edi, edi
je 0x100c718a
push 0
push 0x44
mov ecx, ebx
call fcn.10093150
mov esi, eax
add esp, 8
test esi, esi
je 0x100c717f
push dword [ebp + 8]
mov edx, dword [edi]
mov ecx, ebx
call fcn.100c6a80
add esp, 4
mov dword [esi], eax
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c6ca0
add esp, 4
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x20]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c6a50
add esp, 4
mov dword [esi + 0x20], eax
mov edx, dword [edi + 0x24]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c6a80
add esp, 4
mov dword [esi + 0x24], eax
mov edx, dword [edi + 0x28]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c6a50
add esp, 4
mov dword [esi + 0x28], eax
mov edx, dword [edi + 0x2c]
mov ecx, ebx
push dword [ebp + 8]
call fcn.100c6a80
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x2c], eax
mov ecx, ebx
mov al, byte [edi + 4]
lea edi, [esi + 0x30]
mov byte [esi + 4], al
mov eax, dword [esp + 0x1c]
push dword [ebp + 8]
mov dword [esi + 0x34], eax
mov dword [edi], 0
mov edx, dword [edx + 0x38]
call fcn.100c6a50
mov dword [esi + 0x38], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, ebx
push dword [ebp + 8]
mov edx, dword [eax + 0x3c]
call fcn.100c6a50
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov eax, dword [ecx + 8]
and eax, 0xffffffdf
mov dword [esi + 8], eax
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x18], 0xffffffff
mov ax, word [ecx + 6]
mov word [esi + 6], ax
mov edx, dword [ecx + 0x40]
mov ecx, ebx
call fcn.100c6910
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
mov dword [eax], esi
mov edi, dword [edi + 0x30]
mov dword [esp + 0x10], edi
test edi, edi
jne 0x100c7054
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret