joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4123a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
push edi
push str.Start_Process_Monitor
push esi
call ecx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 8
xor edi, edi
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str..BOOTSTARTUP_DeviceName
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x412440
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 2
jne 0x412423
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
push str..BOOTSTARTUP_S_DeviceName
call ebx
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x412440
mov ebx, dword [esi]
add ebx, 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
push eax
push str.Not_find_driver:__d____
push esi
call edx
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [esi]
add ebx, 0xc
call ebp
push eax
mov eax, dword [ebx]
push str.Not_find_driver:__d____
push esi
call eax
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
push edi
push edi
push 0x8000c3c0
push ebp
mov dword [esi + 0x38], ebp
mov dword [esp + 0x30], edi
call ebx
push edi
lea edx, [esp + 0x14]
push edx
push 4
lea eax, [esp + 0x20]
push eax
push edi
push edi
push 0x8000c01c
push ebp
mov dword [esp + 0x34], edi
call ebx
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], ecx
cmp eax, edi
je 0x412498
mov eax, dword [eax]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
add eax, 0xc
mov eax, dword [eax]
push edx
call eax
mov ecx, dword [esi + 4]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x412559
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
test eax, eax
jne 0x412559
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push edi
push edi
push edi
push 0x8000c008
push ebp
mov dword [esp + 0x30], edi
call ebx
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x41254c
inc eax
push eax
mov dword [esp + 0x14], eax
call fcn.00493554
mov edx, dword [esp + 0x14]
push edx
mov edi, eax
push 0
push edi
call fcn.00494ec0
mov ecx, dword [esp + 0x20]
add esp, 0x10
push 0
lea eax, [esp + 0x14]
push eax
push ecx
push edi
push 0
push 0
push 0x8000c008
push ebp
call ebx
test eax, eax
je 0x412541
cmp byte [edi + 0x10], 0
push edi
lea ecx, [esi + 0x18]
je 0x41252d
lea edx, [esp + 0x1c]
push edx
call fcn.00411f20
jmp 0x412532
call fcn.00412010
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ecx
push edi
mov ecx, esi
call edx
push edi
call fcn.00494968
add esp, 4
xor edi, edi
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x412498
push ebp
mov dword [esi + 0x38], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
push 0x4b4200
push esi
call ecx
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4129a0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 0
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
test eax, eax
jne 0x4129bc
pop esi
pop ecx
ret
push edi
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x412750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x4129e4
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], edi
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x4151b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b1419
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4ca1d0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x30]
push esi
push esi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [0x4d3dfc]
mov eax, dword [edx + 0xc]
mov ecx, 0x4d3dfc
call eax
mov esi, dword [esp + 0x2c]
add eax, 0x10
mov dword [esi], eax
movzx ecx, word [esp + 0x18]
movzx edx, word [esp + 0x16]
movzx eax, word [esp + 0x14]
push ecx
movzx ecx, word [esp + 0x16]
push edx
movzx edx, word [esp + 0x16]
push eax
movzx eax, word [esp + 0x18]
push ecx
push edx
push eax
push 0x4b43c8
push esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], 1
call fcn.004088c0
add esp, 0x20
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret

Function at 0x415520
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x41559e
mov eax, dword [esi + 0x98]
or eax, dword [esi + 0x9c]
jne 0x41559e
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov edx, dword [esp + 0xc]
xor ecx, ecx
sub eax, 0xbb8
cmp ecx, dword [esp + 0x10]
jg 0x415567
jl 0x41555b
cmp eax, edx
jae 0x41556b
mov dword [esi + 0x98], 0x3e8
jmp 0x415578
cmp eax, edx
jb 0x41556f
sub eax, edx
jmp 0x415572
sub eax, edx
dec eax
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
mov ecx, dword [esi + 0x9c]
mov edx, dword [esi + 0x98]
push ecx
push edx
call edi
push eax
push str.InUIIdel___d__I64u
push esi
call fcn.00415270
add esp, 0x14
pop edi
pop esi
ret 0xc
Function at 0x417900
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b16c8
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4ca1d0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x24]
push 0x16
lea ecx, [esi + 0x78]
push str.WindowsExplorer.exe
mov dword [esi + 0x14], edi
call fcn.00408760
push str.IsWow64Process
push 0x4b42a0
mov dword [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cb9a4], eax
test eax, eax
je 0x417976
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4cb9a4]
cmp dword [esp + 0x24], 0
je 0x41798c
push 0x16
lea ecx, [esi + 0x7c]
push str.Syswow64_runonce.exe
call fcn.00408760
mov ecx, dword [esi + 0x80]
cmp dword [ecx - 0xc], 0
lea ebp, [esi + 0x80]
jne 0x417a7f
lea edx, [esp + 0x10]
push edx
push edi
mov dword [esp + 0x18], 0
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x417a7f
mov eax, dword [0x4d3dfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d3dfc
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [esp + 0x1c], 0
jge 0x417a01
push 0x104
lea ecx, [esp + 0x28]
call fcn.00407c90
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push esi
push 0
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00495a6d
add esp, 8
test eax, eax
jl 0x417a94
cmp eax, dword [esi - 8]
jg 0x417a94
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x417a50
lea edx, [esp + 0x24]
push edx
mov ecx, ebp
call fcn.0040a5d0
push 0x4b45b8
mov ecx, ebp
call fcn.00417380
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
push 0x80070057
call fcn.004010b0
int3
Function at 0x417c10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b173b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x4ca1d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ecx + 4]
mov ecx, dword [eax - 0xc]
xor ebx, ebx
cmp ecx, ebx
je 0x417de9
xor esi, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], esi
push ebx
push 0x80
push 4
push ebx
push 1
push 0x40000000
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x417d43
call fcn.00401250
cmp eax, ebx
jne 0x417de9
mov eax, dword [0x4d3dfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d3dfc
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
push 2
lea eax, [ebp - 0x2c]
push eax
push ebx
push esi
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x417cbe
call fcn.00401250
xor eax, eax
lea edx, [ebp - 0x24]
xor ecx, ecx
push edx
mov word [ebp - 0x24], cx
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], eax
mov word [ebp - 0x16], ax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [ebp - 0x16]
movzx ecx, word [ebp - 0x18]
movzx edx, word [ebp - 0x1a]
push eax
movzx eax, word [ebp - 0x1c]
push ecx
movzx ecx, word [ebp - 0x1e]
push edx
movzx edx, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push ecx
push edx
push eax
lea ecx, [ebp - 0x14]
push str._d__02d__02d__02d:_02d:_02d._03d
push ecx
call fcn.00410ee0
mov eax, dword [ebp + 8]
add esp, 0x24
push 0xfde9
lea edx, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xb4], edx
call fcn.004106f0
mov edi, dword [ebp - 0xb4]
mov byte [ebp - 4], 3
cmp edi, ebx
jne 0x417d4d
xor eax, eax
jmp 0x417d5b
mov esi, eax
mov dword [ebp - 0x28], esi
jmp 0x417c87
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417d52
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x14]
call fcn.00414d60
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
cmp eax, ecx
je 0x417d82
push eax
call fcn.004943ff
add esp, 4
push 2
push 0x4b4678
lea ecx, [ebp - 0x14]
call fcn.00414d60
mov edi, dword [ebp - 0x14]
mov eax, dword [edi - 0xc]
push ebx
lea edx, [ebp + 8]
push edx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
jne 0x417dae
call fcn.00401250
cmp esi, ebx
je 0x417dbe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov dword [ebp - 0x28], esi
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417dde
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x417de9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418680
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b17c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ca1d0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
lea ebx, [edi + 0xe4]
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x18], 1
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x20]
xor esi, esi
add edi, 0xfc
push ecx
mov ecx, edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x30], esi
call fcn.00414560
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
call fcn.00417fa0
mov ecx, dword [esp + 0x50]
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
push ebx
mov dword [eax + 0x14], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x4195b0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4b1a79
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4ca1d0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
lea eax, [esp + 0xe]
xor edi, edi
push eax
lea edx, [esp + 0x13]
lea ecx, [esi + 0x18]
push edx
mov dword [esi], vtable.CSessionLog.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
call fcn.00411950
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x15]
lea ecx, [esi + 0x38]
push edx
mov dword [esp + 0x30], edi
call fcn.00411950
lea eax, [esp + 0x12]
push eax
lea edx, [esp + 0x17]
lea ecx, [esi + 0x58]
push edx
mov byte [esp + 0x30], 1
call fcn.0040a650
mov eax, dword [0x4d3dfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d3dfc
mov byte [esp + 0x28], 2
call edx
add eax, 0x10
mov dword [esi + 0x78], eax
mov eax, dword [0x4d3dfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d3dfc
mov byte [esp + 0x28], 3
call edx
add eax, 0x10
mov dword [esi + 0x7c], eax
mov eax, dword [0x4d3dfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d3dfc
mov byte [esp + 0x28], 4
call edx
add eax, 0x10
mov dword [esi + 0x80], eax
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
mov dword [esi + 0xd0], edi
lea ecx, [esi + 0xe4]
xor eax, eax
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], 0x32
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov byte [esp + 0x28], 5
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.004011c0
cmp eax, edi
jge 0x41972e
push eax
call fcn.004010b0
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x19]
lea ecx, [esi + 0xfc]
push edx
mov byte [esp + 0x30], 6
call fcn.00416d30
lea eax, [esp + 0x16]
push eax
lea edx, [esp + 0x1b]
lea ecx, [esi + 0x11c]
push edx
mov byte [esp + 0x30], 7
call fcn.00411950
mov eax, dword [0x4d3dfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d3dfc
mov byte [esp + 0x28], 8
call edx
add eax, 0x10
mov dword [esi + 0x13c], eax
mov eax, dword [0x4d3dfc]
mov edx, dword [eax + 0xc]
mov ecx, 0x4d3dfc
mov byte [esp + 0x28], 9
call edx
add eax, 0x10
mov dword [esi + 0x140], eax
mov eax, 0xa
mov byte [esp + 0x28], al
mov dword [esi + 0x144], eax
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x1d]
lea ecx, [esi + 0x148]
push edx
call fcn.00416d30
lea eax, [esp + 0x1a]
push eax
lea ecx, [esp + 0x1f]
push ecx
lea ecx, [esi + 0x168]
mov byte [esp + 0x30], 0xb
call fcn.00411950
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x41a6c5
Capabilities:
Query environment variable

Disassembly:
push 0x8000
push 0
push 0x4cb9c0
call fcn.00494ec0
mov eax, dword [esp + 0x10]
add esp, 0xc
push 0x8000
push 0x4cb9c0
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x41a6fa
cmp eax, 0x8000
ja 0x41a6fa
mov eax, 0x4cb9c0
ret
xor eax, eax
ret

Function at 0x420f70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test byte [eax + 0x1c], 0x20
je 0x420fbb
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
push ebx
push esi
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
push edi
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0x18]
mov eax, dword [ecx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
push 0
dec ebx
push ebx
call fcn.004983c0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
pop edi
pop esi
pop ebx
ret
jmp fcn.0041f400

Function at 0x42a800
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
mov dword [ebp], 0
cmp dword [0x4c90b0], 0
push esi
je 0x42a862
mov eax, dword [0x4d3da8]
test eax, eax
je 0x42a82e
push eax
call dword [0x4c910c]
add esp, 4
lea eax, [esp + 0x10]
push eax
mov eax, 0x14
call fcn.0042a1a0
mov eax, dword [0x4d3da8]
add esp, 4
test eax, eax
je 0x42a853
push eax
call dword [0x4c9114]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x42a871
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
ret
push 0x14
call dword [0x4c90dc]
add esp, 4
mov esi, eax
jmp 0x42a857
cmp dword [0x4c90b4], 0
je 0x42a8b5
mov eax, dword [0x4c91b4]
test eax, eax
je 0x42a891
push 0xc8
call eax
add esp, 4
test eax, eax
jne 0x42a8b5
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x41d380
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.004962ed
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x42a8c5
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
jne 0x42a8dd
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebx
add esp, 4
mov dword [esi + 0x10], eax
mov dword [ebp], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x42d320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
mov al, byte [ebx + 0x44]
test al, al
jl 0x42d409
push ebp
push esi
push edi
xor edi, edi
test al, al
jle 0x42d3a9
lea ebp, [ebx + 0x78]
lea ecx, [ecx]
mov eax, dword [ebp]
mov eax, dword [eax + 0x48]
test byte [eax + 0x1c], 0x20
je 0x42d398
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [esi]
dec eax
push edx
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [esp + 0x1c]
push 0
push eax
call fcn.004983c0
push edx
push eax
mov eax, dword [ebx + 0x48]
push esi
call eax
mov ebx, dword [esp + 0x28]
add esp, 0x10
jmp 0x42d39d
call fcn.0041f400
movsx ecx, byte [ebx + 0x44]
inc edi
add ebp, 4
cmp edi, ecx
jl 0x42d340
mov edx, dword [ebx + 0x74]
mov eax, dword [edx + 0x48]
test byte [eax + 0x1c], 0x20
je 0x42d3fd
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov esi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov ebp, dword [eax + 0x18]
mov eax, dword [ecx + 0x98]
mov edi, dword [esi]
push edx
cdq
push edx
push eax
push 0
dec ebp
push ebp
call fcn.004983c0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
pop edi
pop esi
pop ebp
mov byte [ebx + 0x44], 0xff
pop ebx
pop ecx
ret
call fcn.0041f400
pop edi
pop esi
mov byte [ebx + 0x44], 0xff
pop ebp
pop ebx
pop ecx
ret
Function at 0x42f9b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
lea ecx, [ecx]
xor edi, edi
cmp dword [ebp + 0x14], edi
mov dword [esp + 0x10], edi
jle 0x42fa44
jmp 0x42f9d0
cmp edi, 2
mov esi, edi
jge 0x42f9da
xor esi, 1
test ebx, ebx
je 0x42fa96
mov edx, dword [ebp + 0x10]
mov eax, esi
shl eax, 4
mov edi, dword [eax + edx]
mov dl, byte [ebx]
movzx ebp, byte [edi]
movzx ebp, byte [ebp + 0x4b7760]
movzx eax, dl
movzx eax, byte [eax + 0x4b7760]
sub eax, ebp
mov ecx, ebx
jne 0x42fa32
sub edi, ebx
jmp 0x42fa10
test dl, dl
je 0x42fa8a
movzx eax, byte [edi + ecx + 1]
movzx ebp, byte [eax + 0x4b7760]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x4b7760]
sub eax, ebp
je 0x42fa10
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
inc edi
cmp edi, dword [ebp + 0x14]
mov dword [esp + 0x10], edi
jl 0x42f9d0
mov ecx, dword [esp + 0x1c]
mov al, byte [ecx]
movzx edx, al
movzx edx, byte [edx + 0x4b7760]
sub edx, 0x73
jne 0x42fa82
mov edx, str.sqlite_master
sub edx, ecx
test al, al
je 0x42fabe
mov al, byte [ecx + 1]
movzx esi, byte [edx + ecx + 1]
movzx esi, byte [esi + 0x4b7760]
inc ecx
movzx edi, al
movzx edi, byte [edi + 0x4b7760]
sub edi, esi
je 0x42fa60
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test eax, eax
jne 0x42fa32
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x1c]
shl esi, 4
mov eax, dword [esi + ecx + 0xc]
push 0
add eax, 8
push edx
call fcn.0041e560
mov eax, dword [eax + 8]
add esp, 8
test eax, eax
jne 0x42fa84
jmp 0x42fa3a
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
test ebx, ebx
jne 0x42face
neg eax
sbb eax, eax
jmp 0x42fad9
test eax, eax
je 0x42fa82
mov ecx, ebx
call fcn.0041d5c0
test eax, eax
jne 0x42fa82
mov dword [esp + 0x1c], str.sqlite_temp_master
jmp 0x42f9c0
Function at 0x44d1ef
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x44d22a
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x44d211
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x44d222
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x44d22c
inc edi
add eax, 0x28
cmp edi, esi
jb 0x44d207
xor eax, eax
pop edi
pop esi
ret
Function at 0x44d8b0
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x44d886
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x44d8a4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x44d902
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x44d8e9
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x44d8f2
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x44d8fc
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x44d8de
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x44d868
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x44d94f
dec eax
je 0x44d946
sub eax, 3
je 0x44d93d
mov dword [ebp - 4], 0x40
jmp 0x44d96c
mov dword [ebp - 4], 4
jmp 0x44d952
mov dword [ebp - 4], 0x20
jmp 0x44d952
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x44d99e
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x44d91e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0044d1af
aas
cmp byte [edx + edx*2 + 0x6a1475ff], bl
pushfd
push edx
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x44d9aa
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret