joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464700
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x464733
push esi
call fcn.00472ac0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x46472c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4647b9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4647a2
mov eax, dword [esi + 8]
test eax, eax
je 0x464757
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46479e
cmp eax, 2
je 0x4647a2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x46474a
cmp eax, 3
je 0x46477d
cmp eax, 1
jne 0x46474a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x46474a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x46474a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004647e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4647c8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004647e0
add esp, 4
pop esi
ret

Function at 0x465060
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x465081
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x465081
mov eax, dword [eax + 0x44]
test eax, eax
je 0x465081
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x483160
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6ab550]
xor edx, edx
cmp eax, edx
jne 0x483186
xor eax, eax
mov byte [eax + 0x6ab450], al
inc eax
cmp eax, 0x100
jl 0x48316e
mov dword [0x6ab550], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6ab450
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x483217
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4831ea
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4831b8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x483220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x483273
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x48325a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x489c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6ebe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0048a540
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x664bcc
call fcn.004a8255
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x489cb3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004a8255
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x489cac
push 0
mov ecx, eax
call fcn.00480da0
mov dword [esi + 0xc], eax
jmp 0x489cb5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x489cb5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4aa8e5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4aa91d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a896f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a8947
jmp 0x4aa929
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4abfd3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ac015
call fcn.004b1a8c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ac015
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ac00c
xor eax, eax
jmp 0x4ac01d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ac023
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b1fbc
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b1fea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b2008
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b1f22
jmp 0x4b2008
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b2008
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b1f22
test edi, edi
mov eax, edi
jne 0x4b1ff2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401630
Capabilities:
Log keystrokes

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
xor edi, edi
push esi
mov dword [esp + 0xc], edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4016d8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x4016be
push ebx
push ebp
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
push 0
push edi
mov ebx, eax
call esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
mov esi, eax
push ebp
push esi
call edi
test eax, eax
je 0x4016a9
push 1
push esi
push ebx
call edi
test eax, eax
je 0x4016a3
mov eax, dword [esp + 0x18]
call fcn.004015e0
push 0
push esi
push ebx
mov dword [esp + 0x1c], eax
call edi
push 0
push ebp
push esi
call edi
mov esi, dword [esp + 0x18]
pop ebp
pop ebx
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret
mov eax, esi
call fcn.004015e0
push esi
mov dword [esp + 0xc], eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 8]
pop edi
pop esi
pop ecx
ret
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x4026c0
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push esi
lea esi, [esp + 4]
mov byte [edi], 0
mov dword [esp + 4], 0
call fcn.00401130
pop esi
test eax, eax
jl 0x4026e2
mov ecx, dword [esp]
add ecx, ecx
jmp 0x4026e4
xor ecx, ecx
test eax, eax
jl 0x402716
test ecx, ecx
je 0x402716
push str.LocalDritekLMworkerInstanceMutex
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 4], eax
test eax, eax
je 0x402716
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov eax, edi
jne 0x402718
mov byte [edi], 1
pop ecx
ret
mov eax, edi
pop ecx
ret
Function at 0x407271
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
xor ebx, ebx
cmp eax, ebx
je 0x407284
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x407295
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x407297
xor eax, eax
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x4072a5
pop esi
xor eax, eax
pop ebx
ret 4
push ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NTKCUtl_Init
push eax
mov ebp, 1
call edi
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x4072c3
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4072d7
push str.NTKCUtl_DeInit
push eax
call edi
mov dword [esi + 0xc], eax
jmp 0x4072da
mov dword [esi + 0xc], ebx
cmp dword [esi + 0xc], ebx
jne 0x4072e1
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4072f5
push str.NTKCUtl_Register
push eax
call edi
mov dword [esi + 0x10], eax
jmp 0x4072f8
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x10], ebx
jne 0x4072ff
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x407313
push str.NTKCUtl_UnRegister
push eax
call edi
mov dword [esi + 0x14], eax
jmp 0x407316
mov dword [esi + 0x14], ebx
cmp dword [esi + 0x14], ebx
jne 0x40731d
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x407331
push str.NTKCUtl_DeleteAllRegisterKey
push eax
call edi
mov dword [esi + 0x18], eax
jmp 0x407334
mov dword [esi + 0x18], ebx
cmp dword [esi + 0x18], ebx
jne 0x40733b
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40734f
push str.NTKCUtl_RegisterKey
push eax
call edi
mov dword [esi + 0x1c], eax
jmp 0x407352
mov dword [esi + 0x1c], ebx
cmp dword [esi + 0x1c], ebx
jne 0x407359
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40736d
push str.NTKCUtl_UnRegisterKey
push eax
call edi
mov dword [esi + 0x20], eax
jmp 0x407370
mov dword [esi + 0x20], ebx
cmp dword [esi + 0x20], ebx
jne 0x407377
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40738b
push str.NTKCUtl_RegisterKeyBySectionW
push eax
call edi
mov dword [esi + 0x24], eax
jmp 0x40738e
mov dword [esi + 0x24], ebx
cmp dword [esi + 0x24], ebx
jne 0x407395
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4073a9
push str.NTKCUtl_UnRegisterKeyBySectionW
push eax
call edi
mov dword [esi + 0x28], eax
jmp 0x4073ac
mov dword [esi + 0x28], ebx
cmp dword [esi + 0x28], ebx
jne 0x4073b3
xor ebp, ebp
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4073c7
push str.NTKCUtl_HookKey
push eax
call edi
mov dword [esi + 0x2c], eax
jmp 0x4073ca
mov dword [esi + 0x2c], ebx
cmp dword [esi + 0x2c], ebx
jne 0x4073d1
xor ebp, ebp
pop edi
mov eax, ebp
pop ebp
pop esi
pop ebx
ret 4
Function at 0x407da0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x435b78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x441378]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x40]
xor edi, edi
push 0xffffffffffffffff
push edi
xor eax, eax
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
mov word [esp + 0x20], ax
call fcn.00407890
mov edx, dword [esp + 0x44]
mov eax, edx
mov dword [esp + 0x34], edi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407e00
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00407ea0
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
push edi
xor edx, edx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push eax
mov ecx, esi
mov word [esi + 4], dx
call fcn.00407890
cmp dword [esp + 0x28], 8
jb 0x407e4d
mov eax, dword [esp + 0x14]
push eax
call fcn.0041c0d7
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret

Function at 0x4088a0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x436b8d
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
push ebx
push esi
mov eax, dword [0x441378]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x442d8c], bl
je 0x408920
call fcn.0040d170
cmp eax, 3
jg 0x408920
cmp dword [esi + 0x14], ebx
jne 0x408920
push 3
push 0x95
push str...commonlm_chromium.cpp
lea ecx, [esp + 0x28]
call fcn.0040f650
mov dword [esp + 0xb0], ebx
add eax, 4
push str.Check_failed:__log_file_path.empty__.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00407030
add esp, 8
mov dword [esp + 0xb0], 0xffffffff
test bl, 1
je 0x408939
lea ecx, [esp + 0x1c]
call fcn.0040f3b0
cmp dword [esi + 0x18], 8
jb 0x408944
mov eax, dword [esi + 4]
jmp 0x408947
lea eax, [esi + 4]
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4089a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
call fcn.004081b0
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4089ba
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004081b0
xor al, al
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret
cmp dword [esp + 0x18], 0
jl 0x4089d1
jg 0x4089cd
cmp dword [esp + 0x14], 0x1400000
jbe 0x4089d1
mov bl, 1
jmp 0x4089d3
xor bl, bl
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.004081b0
mov al, bl
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xa8
ret
Function at 0x408a10
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x436698
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x441378]
xor eax, esp
mov dword [esp + 0x2f8], eax
push ebx
push esi
mov eax, dword [0x441378]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp byte [0x442d8c], bl
je 0x408a9c
call fcn.0040d170
cmp eax, 3
jg 0x408a9c
cmp dword [edi + 0x14], ebx
jne 0x408a9c
push 3
push 0xad
push str...commonlm_chromium.cpp
lea ecx, [esp + 0x4c]
call fcn.0040f650
mov dword [esp + 0x310], ebx
add eax, 4
push str.Check_failed:__log_file_full_path.empty__.
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00407030
add esp, 8
mov dword [esp + 0x310], 0xffffffff
test bl, 1
je 0x408ab5
lea ecx, [esp + 0x40]
call fcn.0040f3b0
push edi
lea ecx, [esp + 0xec]
call fcn.00413840
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x314], 1
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xec]
call fcn.00413b20
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x408af8
mov eax, dword [eax + 4]
jmp 0x408afb
add eax, 4
movzx edx, word [esp + 0x36]
movzx ecx, word [esp + 0x30]
push eax
movzx eax, word [esp + 0x36]
push edx
push eax
push ecx
push str.._4d__02d__02d_s
mov ecx, 0x100
lea ebx, [esp + 0x118]
call fcn.004080e0
add esp, 0x14
cmp dword [esp + 0x2c], esi
jb 0x408b3a
mov edx, dword [esp + 0x18]
push edx
call fcn.0041c0d7
add esp, 4
xor ebx, ebx
xor eax, eax
mov word [esp + 0x18], ax
lea eax, [esp + 0x104]
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x408b60
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004077a0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0xf0]
mov byte [esp + 0x318], 2
call fcn.00413cb0
mov byte [esp + 0x310], 1
cmp dword [esp + 0x2c], esi
jb 0x408bbd
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041c0d7
add esp, 4
mov ecx, dword [esp + 0xd0]
xor edx, edx
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
cmp dword [esp + 0xe4], esi
jae 0x408be7
lea ecx, [esp + 0xd0]
cmp dword [edi + 0x18], esi
jb 0x408bf1
mov eax, dword [edi + 4]
jmp 0x408bf4
lea eax, [edi + 4]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0xcc]
call fcn.00413660
lea ecx, [esp + 0xe8]
mov dword [esp + 0x310], 0xffffffff
call fcn.00413660
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x2f8]
xor ecx, esp
call fcn.0041bf39
add esp, 0x308
ret
Function at 0x40ce20
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x441378]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp byte [0x442d88], 0
jne 0x40cef1
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
mov ecx, 1
cmp eax, 5
jne 0x40ce8e
mov eax, dword [esp + 8]
sub eax, 0
je 0x40ce86
sub eax, ecx
je 0x40ce7a
mov dword [0x442d84], 3
jmp 0x40ceeb
mov dword [0x442d84], 2
jmp 0x40ceeb
mov dword [0x442d84], ecx
jmp 0x40ceeb
cmp eax, 6
jne 0x40cedf
cmp byte [esp + 0x11a], cl
je 0x40cea8
mov dword [0x442d84], 5
jmp 0x40ceeb
mov eax, dword [esp + 8]
test eax, eax
jne 0x40cebc
mov dword [0x442d84], 4
jmp 0x40ceeb
cmp eax, ecx
jne 0x40cecc
mov dword [0x442d84], 6
jmp 0x40ceeb
xor edx, edx
cmp eax, 2
setne dl
add edx, 7
mov dword [0x442d84], edx
jmp 0x40ceeb
jbe 0x40ceeb
mov dword [0x442d84], 8
mov byte [0x442d88], cl
mov ecx, dword [esp + 0x11c]
mov eax, dword [0x442d84]
xor ecx, esp
call fcn.0041bf39
add esp, 0x120
ret

Function at 0x40e130
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x284
mov eax, dword [0x441378]
xor eax, esp
mov dword [esp + 0x280], eax
push esi
mov esi, dword [esp + 0x28c]
cmp dword [esi + 0x14], 0
je 0x40e280
cmp byte [0x442da0], 0
je 0x40e280
push 0x104
lea eax, [esp + 0x80]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x7c]
push 0x5c
push ecx
call fcn.0041ceea
add esp, 8
test eax, eax
je 0x40e191
xor edx, edx
mov word [eax + 2], dx
push str.debug_message.exe
lea eax, [esp + 0x80]
push 0x104
push eax
call fcn.0041da2e
add esp, 0xc
cmp dword [esi + 0x18], 0x10
jb 0x40e1ba
mov ecx, dword [esi + 4]
mov dword [esp + 4], ecx
jmp 0x40e1c1
lea edx, [esi + 4]
mov dword [esp + 4], edx
mov eax, dword [esi + 0x14]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x64]
push edx
mov dword [esp + 0x10], eax
call fcn.00415d60
add esp, 8
cmp dword [esp + 0x74], 0
je 0x40e277
push 0x44
lea eax, [esp + 0x20]
push 0
push eax
call fcn.0041ce70
mov eax, dword [esp + 0x70]
add esp, 0xc
cmp dword [esp + 0x78], 8
mov dword [esp + 0x1c], 0x44
jae 0x40e20d
lea eax, [esp + 0x64]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
lea eax, [esp + 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40e259
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0xc]
push eax
call esi
jmp 0x40e277
push 0x40010
push 0x438558
push 0
lea ecx, [esp + 0x6c]
call fcn.0040cf80
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esp + 0x60]
call fcn.00407770
mov ecx, dword [esp + 0x284]
pop esi
xor ecx, esp
call fcn.0041bf39
add esp, 0x284
ret
Function at 0x413360
Capabilities:
Accept command line arguments

Disassembly:
mov ecx, dword [0x442dc0]
sub esp, 0x1c
push esi
mov esi, ecx
test ecx, ecx
je 0x41337e
call fcn.00412e30
push esi
call fcn.0041c0d7
add esp, 4
push 0x70
call fcn.0041c476
add esp, 4
test eax, eax
je 0x41339a
mov ecx, eax
call fcn.00412ed0
mov dword [0x442dc0], eax
jmp 0x4133a4
mov dword [0x442dc0], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov word [esp + 8], cx
mov ecx, eax
mov dword [esp + 0x1c], 7
mov dword [esp + 0x18], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4133c6
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0xc]
call fcn.004077a0
mov ecx, dword [0x442dc0]
lea edx, [esp + 4]
push edx
call fcn.004130b0
cmp dword [esp + 0x1c], 8
pop esi
jb 0x413405
mov eax, dword [esp + 4]
push eax
call fcn.0041c0d7
add esp, 4
add esp, 0x1c
ret
Function at 0x419bf0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x260
mov eax, dword [0x441378]
xor eax, esp
mov dword [esp + 0x25c], eax
push esi
mov esi, dword [esp + 0x268]
lea ecx, [esp + 0x58]
push ecx
xor eax, eax
push 0x104
mov word [esp + 0x60], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x419c9c
cmp eax, 0x104
ja 0x419c9c
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
call fcn.00407730
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x28]
call fcn.00413840
mov ecx, eax
call fcn.00413f30
push eax
mov ecx, esi
call fcn.00413990
lea ecx, [esp + 4]
call fcn.00413660
lea ecx, [esp + 0x20]
call fcn.00413660
cmp dword [esp + 0x54], 8
jb 0x419c84
mov edx, dword [esp + 0x40]
push edx
call fcn.0041c0d7
add esp, 4
mov al, 1
pop esi
mov ecx, dword [esp + 0x25c]
xor ecx, esp
call fcn.0041bf39
add esp, 0x260
ret
mov ecx, dword [esp + 0x260]
pop esi
xor ecx, esp
xor al, al
call fcn.0041bf39
add esp, 0x260
ret
Function at 0x41bf39
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441378]
jne 0x41bf43
repz ret
jmp fcn.0042306f

Function at 0x42a36a
Capabilities:
Enumerate pe sections

Disassembly:
clc
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.0042a16a
pop esp
sub byte [edi + 0x63], ch
movzx eax, word [edi + 6]
lea eax, [eax + eax*4]
shl eax, 3
sub eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.0042a16a
or edx, dword [ebp - 0x74990df7]
inc edi
push es
cmp ax, bx
jbe 0x42a3c4
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x42a3be
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x42a3af
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0042a16a
sub esp, dword [edx]

Function at 0x42a410
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmpsb byte [esi], byte es:[edi]
mov edi, 0x50a8458d
call fcn.0042a17a
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0042a12f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x42a458
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0042a16a
or al, byte [edi + 0x458d3ae7]
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x42c30c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add ebp, 0x24
push esp
call fcn.0042a16a
aaa
mov dh, 0x6b
shl dword [ecx + 0x30], 1
add byte [eax], al