joyce8/EMBER2024-capa huggingface dataset:
Function at 0x36eda4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x371b98]
mov dword [ebp - 8], 0xf78fb
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x36ee07
push esi
push edi
mov esi, dword [ecx + 0x34]
xor edx, edx
mov dword [ebp - 8], 0xd6dc4c
mov eax, dword [ebp - 8]
push 0x46
pop edi
div edi
mov edx, ecx
mov dword [ebp - 8], eax
xor dword [ebp - 8], 0xeba43
mov dword [ebp - 4], 0xdb3571
xor dword [ebp - 4], 0x1323c6ed
xor dword [ebp - 4], 0x13f02dea
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00370621
pop ecx
mov ecx, esi
test esi, esi
jne 0x36edbe
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002140
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x2c
mov esi, eax
lea eax, [esp + 0x10]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 8], 0x30
lea eax, [esp + 8]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0x10002130
mov dword [esp + 0x1c], esi
push eax
mov dword [esp + 0x34], 0x100d4e50
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x100021ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.RegisterClassEx_fail__code:__d_
push 3
push 0x68
push 0x100d4eb8
push 0x100d4e64
call fcn.100c3e10
add esp, 0x18
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0
push esi
push 0
push 0
push 0x64
push 0x64
push 0x64
push 0x64
push 0xcf0000
push 0x100d4ef8
push str.keyboard
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x1000221d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateWindowEx_fail__code:__d_
push 3
push 0x6e
push 0x100d4f60
push str.CreateWnd
call fcn.100c3e10
add esp, 0x18
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10005a20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x100f0614
mov byte [0x100f062c], 0
mov dword [0x100f0630], 0
mov dword [0x100f0634], 0
mov dword [0x100f0638], 0
mov dword [0x100f0650], 0xf
mov dword [0x100f064c], 0
mov byte [0x100f063c], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x100f0610
push 0x10005bc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x100f0610], eax
mov eax, 0x100f0610
mov esp, ebp
pop ebp
ret
Function at 0x100074f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], edi
call fcn.10007910
test eax, eax
jne 0x1000755b
cmp byte [edi + 8], al
je 0x10007516
mov byte [edi + 8], al
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
call fcn.10006e10
mov ecx, dword [ebp - 4]
cmp ecx, dword [edi]
je 0x1000755b
mov esi, dword [ebp + 8]
xor eax, eax
push 0xffffffffffffffff
add ecx, 0x14
push eax
push ecx
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.10001870
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
lea eax, [ebx - 0x30]
cmp eax, 9
ja 0x100075aa
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0xffffff00
and ax, cx
xor ecx, ecx
cmp cx, ax
jne 0x10007593
mov ecx, dword [ebp + 8]
mov dl, bl
call fcn.100073f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 8]
mov ecx, edi
push ebx
push esi
call fcn.100076e0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 0x41]
cmp eax, 0x19
ja 0x10007613
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
call esi
mov ecx, 0xffffff00
and ax, cx
push 0x12
movzx edi, ax
call esi
mov ecx, 0xffffff00
and ax, cx
xor ecx, ecx
movzx eax, ax
cmp cx, di
jne 0x100075fa
cmp cx, ax
jne 0x100075fa
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 8]
push ebx
push esi
call fcn.100076e0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x100d688c
call fcn.10002360
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 0x60]
cmp eax, 9
ja 0x10007632
mov ecx, dword [ebp + 8]
lea edx, [ebx - 0x30]
call fcn.100073f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 0x6a]
cmp eax, 5
ja 0x10007654
mov dl, byte [ebx + 0x100dea6a]
mov ecx, dword [ebp + 8]
call fcn.100073f0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 0x70]
cmp eax, 0x17
ja 0x1000767c
mov esi, dword [ebp + 8]
lea eax, [ebx - 0x6f]
push eax
push 0x100d68e4
push esi
call fcn.10008f30
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 0xba]
cmp eax, 6
jbe 0x10007593
lea eax, [ebx - 0xdb]
cmp eax, 4
jbe 0x10007593
cmp ebx, 0x20
jne 0x100076b8
mov ecx, dword [ebp + 8]
push 0x100d68ec
call fcn.10002360
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push 0x100d68f0
call fcn.10002360
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100076e0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x51c
mov eax, dword [0x100e7034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x514], ebx
push 0
mov dword [ebp - 0x518], edi
mov dword [ebp - 0x51c], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
mov byte [ebp - 0x104], 0
push 0xff
lea eax, [ebp - 0x103]
mov dword [ebp - 0x508], esi
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
mov esi, dword [ebp + 0xc]
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov dword [ebp - 0x50c], eax
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x304], ax
lea eax, [ebp - 0x302]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x304]
push dword [ebp - 0x508]
push 0
push 0x100
push eax
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x50c]
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea ecx, [ebp - 0x304]
mov dword [ebp - 0x510], eax
push ecx
push eax
push str.ret:__d___s
push 1
push 0xba
push 0x100d6910
push str.CVirtualKeyManager::GetUnicodeVal
call fcn.100c3e10
mov edx, dword [ebp - 0x510]
add esp, 0x1c
cmp edx, 0xffffffff
jne 0x10007841
mov ebx, dword [ebp - 0x50c]
mov edi, dword [ebp - 0x508]
jmp 0x100077f0
push 0xff
lea eax, [ebp - 0x403]
mov byte [ebp - 0x404], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x304]
push edi
push 0
push 0x100
push eax
lea eax, [ebp - 0x404]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
test eax, eax
js 0x100077f0
mov edi, dword [ebp - 0x518]
mov ebx, dword [ebp - 0x514]
mov edx, dword [ebp - 0x510]
cmp dword [edi + 0x10], 0
je 0x100078dc
cmp byte [edi + 9], 0
je 0x100078dc
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x504], ax
lea eax, [ebp - 0x502]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x504]
lea esi, [edi + 0x14]
push dword [ebp - 0x508]
push 0
push 0x100
push eax
push esi
push dword [edi + 0xc]
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_ToUnicodeEx]
push 0x100
push 0
push esi
mov dword [edi + 0x10], 0
mov byte [edi + 9], 0
mov dword [edi + 0xc], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x304]
push eax
mov ecx, ebx
call fcn.10002360
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ce73b
mov esp, ebp
pop ebp
ret 8
cmp edx, 0xffffffff
mov dword [edi + 0x10], esi
mov ecx, 0x40
lea esi, [ebp - 0x104]
sete al
mov byte [edi + 9], al
mov eax, dword [ebp - 0x50c]
mov dword [edi + 0xc], eax
add edi, 0x14
rep movsd dword es:[edi], dword [esi]
cmp edx, 0xffffffff
jne 0x100078b9
push 0x100d690c
jmp 0x100078c0
Function at 0x10007910
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d01cb
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x100e7034]
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
push 0x63
lea eax, [ebp - 0x77]
mov byte [ebp - 0x78], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
lea eax, [ebp - 0x78]
push eax
push str.keyboard_name:__s
push 1
push 0xde
push str..._srcKeyboadHookutilVirtualKeyManager.cpp
push str.CVirtualKeyManager::GetSpecialKeyBoard
call fcn.100c3a80
add esp, 0x18
mov dword [ebp - 0x7c], 0xf
cmp byte [ebp - 0x78], 0
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
jne 0x1000799d
xor ecx, ecx
jmp 0x100079ac
lea ecx, [ebp - 0x78]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100079a3
sub ecx, edx
push ecx
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
call fcn.10006d10
mov dword [ebp - 4], 0
lea eax, [ebp - 0x90]
mov edi, dword [ebp - 0x7c]
lea ecx, [ebp - 0x90]
mov ebx, dword [ebp - 0x90]
lea edx, [ebp - 0x90]
mov esi, dword [ebp - 0x80]
cmp edi, 0x10
cmovae eax, ebx
cmovae ecx, ebx
add eax, esi
cmp edi, 0x10
cmovae edx, ebx
cmp edx, eax
je 0x10007a18
push dword [sym.imp.MSVCR120.dll_towlower]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.10007c00
mov edi, dword [ebp - 0x7c]
add esp, 0xc
mov esi, dword [ebp - 0x80]
mov ebx, dword [ebp - 0x90]
cmp edi, 0x10
lea ecx, [ebp - 0x90]
mov eax, 8
cmovae ecx, ebx
cmp esi, eax
cmovb eax, esi
push eax
push str.0000000a
push ecx
call fcn.10007cc0
add esp, 0xc
test eax, eax
jne 0x10007a50
cmp esi, 8
jb 0x10007a50
cmp esi, 8
setne al
test eax, eax
je 0x10007ac1
cmp edi, 0x10
lea ecx, [ebp - 0x90]
mov eax, 8
cmovae ecx, ebx
cmp esi, eax
cmovb eax, esi
push eax
push str.0000040a
push ecx
call fcn.10007cc0
add esp, 0xc
test eax, eax
jne 0x10007a88
cmp esi, 8
jb 0x10007a88
cmp esi, 8
setne al
test eax, eax
je 0x10007ac1
cmp edi, 0x10
lea eax, [ebp - 0x90]
mov ecx, 8
cmovae eax, ebx
cmp esi, 8
cmovb ecx, esi
push ecx
push str.0001040a
push eax
call fcn.10007cc0
add esp, 0xc
test eax, eax
jne 0x10007ac8
cmp esi, 8
jb 0x10007ac8
cmp esi, 8
setne al
test eax, eax
jne 0x10007ac8
mov esi, 1
jmp 0x10007b2a
push str.00000016
lea ecx, [ebp - 0x90]
call fcn.10007da0
test eax, eax
je 0x10007b1c
push str.00000416
lea ecx, [ebp - 0x90]
call fcn.10007da0
test eax, eax
je 0x10007b1c
push str.00010416
lea ecx, [ebp - 0x90]
call fcn.10007da0
test eax, eax
je 0x10007b1c
push str.00000816
lea ecx, [ebp - 0x90]
call fcn.10007da0
test eax, eax
je 0x10007b1c
xor esi, esi
jmp 0x10007b21
mov esi, 2
mov ebx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x7c]
cmp edi, 0x10
jb 0x10007b39
push ebx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
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 - 0x10]
xor ecx, ebp
call fcn.100ce73b
mov esp, ebp
pop ebp
ret
Function at 0x10009920
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0468
mov eax, dword fs:[0]
push eax
push ebx
mov eax, dword [0x100e7034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.10009990
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
setne bl
cmp dword [ebp + 0x1c], 8
jb 0x1000997b
push dword [ebp + 8]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000f010
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0946
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x100e7034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x444], 0
push str.C:Program_Files__x86_Windows_Assistant_AppMVConfiguration.ini
lea ecx, [ebp - 0x428]
call fcn.10006cb0
mov dword [ebp - 4], 0
mov byte [ebp - 0x410], 0
push 0x3ff
push 0
lea eax, [ebp - 0x40f]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.10004cb0
push eax
push 0x400
lea ecx, [ebp - 0x410]
push ecx
push 0
push str.UniquePC
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x410]
push edx
lea ecx, [ebp - 0x440]
call fcn.10006cb0
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x44c], esp
lea eax, [ebp - 0x440]
push eax
call fcn.100069f0
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp + 8]
call fcn.10009170
add esp, 0x18
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp - 0x444]
or ecx, 1
mov dword [ebp - 0x444], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.10004d40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x428]
call fcn.10004d40
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100ce73b
mov esp, ebp
pop ebp
ret
Function at 0x1001ddb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x68], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x10021b60
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10021010
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100f0024], 0
jne 0x10021b9d
cmp dword [0x100f0030], 0
je 0x10021b9d
mov eax, dword [0x100f0030]
mov dword [0x100f0024], eax
cmp dword [0x100f0024], 0
je 0x10021c1a
mov ecx, dword [0x100f0024]
cmp dword [ecx + 8], 0
je 0x10021c1a
mov edx, dword [0x100f0024]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10021c1a
mov ecx, dword [0x100f0024]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10021c1a
mov eax, dword [0x100f0024]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10021be9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10021bf0
xor eax, eax
jmp 0x10021d39
mov ecx, dword [0x100f0024]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.MSVCR120.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10021d39
mov edx, dword [0x100f0030]
mov dword [0x100f0024], edx
jmp 0x10021c36
mov eax, dword [0x100f0024]
mov ecx, dword [eax + 4]
mov dword [0x100f0024], ecx
cmp dword [0x100f0024], 0
je 0x10021c76
cmp dword [0x100f0024], 0
je 0x10021c74
mov edx, dword [0x100f0024]
cmp dword [edx + 8], 0
je 0x10021c74
mov eax, dword [0x100f0024]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10021c74
mov edx, dword [0x100f0024]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10021c74
jmp 0x10021bce
jmp 0x10021c28
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10021b10
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10021d37
mov eax, dword [ebp - 0x18]
mov dword [0x100f0024], eax
mov ecx, dword [0x100f0024]
mov dword [ecx], 0x52727464
mov edx, dword [0x100f0024]
mov dword [edx + 8], 0
mov eax, dword [0x100f0024]
mov ecx, dword [0x100f0030]
mov dword [eax + 4], ecx
mov edx, dword [0x100f0024]
mov dword [0x100f0030], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100f0024]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10021d07
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10021d27
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10021cfe
mov eax, dword [0x100f0024]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10021bce
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10021f00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x100f0034], eax
je 0x10021f1e
mov eax, 0x10dd
jmp 0x10022001
mov eax, dword [0x100f002c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10021f9d
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10021f7a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10021f7a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10021d40
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10021f26
mov dword [0x100f002c], 0
call fcn.10021890
mov ecx, dword [0x100f0020]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10021feb
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10021fb5
mov dword [0x100f0020], 0
mov dword [0x100f0034], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10022530
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100f0038], 0
je 0x10022549
mov eax, dword [0x100f0038]
jmp 0x100225eb
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1002255b
xor eax, eax
jmp 0x100225eb
push 8
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100225b3
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1002259c
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100f0038], eax
mov dword [0x100f001c], 0
mov eax, dword [ebp - 8]
jmp 0x100225eb
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100225cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x1002257c
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100f0020]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100f0020], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1002a5d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.10026b80
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1002a5fc
mov eax, 7
jmp 0x1002a6ad
movzx ecx, byte [0x100eed6c]
test ecx, ecx
je 0x1002a618
push 0xc8
call fcn.1002b460
add esp, 4
test eax, eax
je 0x1002a62d
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
jmp 0x1002a67e
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x1002a590
push 0
push 0
call dword [sym.imp.MSVCR120.dll__beginthreadex]
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x1002a67e
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x1002a6a3
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100382f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x88], 0
je 0x10038340
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x100383d3
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x8c]
add ecx, 0x28
xor edx, edx
push edx
push ecx
call fcn.10027130
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0x100383a1
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
sub ecx, 1
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x98]
cdq
push edx
push eax
push esi
push ecx
call fcn.100ced80
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.10025bb0
add esp, 0x10
mov eax, 7
jmp 0x100383f6
mov edx, 0x28
shl edx, 0
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, 0x20
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], cx
mov eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1e], ax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10073430
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x100e9468
mov edx, dword [ebp + 0xc]
push edx
push str.SELECT_1_FROM___w_._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name___d_NULL
mov eax, dword [ebp + 8]
push eax
call fcn.100790e0
add esp, 0x18
cmp dword [ebp + 0x10], 0
jne 0x10073475
mov ecx, dword [ebp + 0xc]
push ecx
push 0x100e9514
push str.SELECT_1_FROM_temp._s_WHERE_name_NOT_LIKE_sqliteX____ESCAPE_X_AND_sql_NOT_LIKE_create_virtual___AND_sqlite_rename_test__Q__sql__type__name__1_NULL
mov edx, dword [ebp + 8]
push edx
call fcn.100790e0
add esp, 0x10
pop ebp
ret