joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406150
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44955b
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x45e764]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push esi
push edi
mov eax, dword [0x45e764]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x425]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x42c], bl
call fcn.004338b0
push 0x44d650
lea ecx, [esp + 0x430]
push 0x400
push ecx
call fcn.00433fec
add esp, 0x18
xor edi, edi
call fcn.004145e0
test eax, eax
je 0x40637b
lea edx, [esp + 0x14]
push edx
push 0xf013f
push ebx
lea eax, [esp + 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40637b
push 0x3ff
lea ecx, [esp + 0x25]
push ebx
push ecx
mov byte [esp + 0x2c], bl
call fcn.004338b0
add esp, 0xc
mov dword [esp + 0x1c], 0x400
call fcn.00421c2b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x406232
push 0x80004005
call fcn.00401370
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push 0x44d91a
push eax
mov dword [esp + 0x844], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406270
sub eax, edx
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405080
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], ebx
je 0x406339
lea ecx, [esp + 0x10]
call fcn.004054c0
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], ebx
jl 0x406339
push 0x44d914
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x406339
sub eax, esi
js 0x406339
cmp dword [esi - 0xc], ebx
jl 0x406320
push 0x44d90c
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x4062e3
sub eax, esi
js 0x4062e3
mov edi, 1
jmp 0x406349
cmp dword [esi - 0xc], ebx
jl 0x406320
push 0x44d904
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x406305
sub eax, esi
js 0x406305
mov edi, 1
jmp 0x406349
cmp dword [esi - 0xc], ebx
jl 0x406320
push 0x44d648
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x406320
sub eax, esi
jns 0x406339
push 0x44d91a
lea ecx, [esp + 0x14]
call fcn.00404460
test eax, eax
je 0x406339
mov edi, 1
jmp 0x406349
mov edx, dword [esp + 0x14]
push 0x44d8fc
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x82c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40637b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.00432ccc
add esp, 0x820
ret
Function at 0x406630
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x44955b
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x45e764]
xor eax, esp
mov dword [esp + 0x810], eax
push ebx
push esi
push edi
mov eax, dword [0x45e764]
xor eax, esp
push eax
lea eax, [esp + 0x824]
mov dword fs:[0], eax
xor ebx, ebx
push 0x3ff
lea eax, [esp + 0x425]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov byte [esp + 0x42c], bl
call fcn.004338b0
push 0x44d650
lea ecx, [esp + 0x430]
push 0x400
push ecx
call fcn.00433fec
add esp, 0x18
xor edi, edi
call fcn.004145e0
test eax, eax
je 0x40683e
lea edx, [esp + 0x14]
push edx
push 0xf013f
push ebx
lea eax, [esp + 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40683e
push 0x3ff
lea ecx, [esp + 0x25]
push ebx
push ecx
mov byte [esp + 0x2c], bl
call fcn.004338b0
add esp, 0xc
mov dword [esp + 0x1c], 0x400
call fcn.00421c2b
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x406712
push 0x80004005
call fcn.00401370
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push ebx
push 0x44d91a
push eax
mov dword [esp + 0x844], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x20]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x406750
sub eax, edx
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405080
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], ebx
je 0x406805
lea ecx, [esp + 0x10]
call fcn.004054c0
mov esi, dword [esp + 0x10]
cmp dword [esi - 0xc], ebx
jl 0x406805
push 0x44d914
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x406805
sub eax, esi
js 0x406805
cmp dword [esi - 0xc], ebx
jl 0x4067ee
push 0x44d90c
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x4067b8
sub eax, esi
jns 0x406800
cmp dword [esi - 0xc], ebx
jl 0x4067ee
push 0x44d904
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x4067d3
sub eax, esi
jns 0x406800
cmp dword [esi - 0xc], ebx
jl 0x4067ee
push 0x44d648
push esi
call fcn.00433042
add esp, 8
cmp eax, ebx
je 0x4067ee
sub eax, esi
jns 0x406805
push 0x44d91a
lea ecx, [esp + 0x14]
call fcn.00404460
test eax, eax
je 0x406805
mov edi, 1
mov eax, dword [esp + 0x14]
mov edx, dword [esi - 0xc]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x82c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40683e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x824]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x810]
xor ecx, esp
call fcn.00432ccc
add esp, 0x820
ret
Function at 0x40e030
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x449e08
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x45e764]
xor eax, esp
mov dword [esp + 0x180], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45e764]
xor eax, esp
push eax
lea eax, [esp + 0x198]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1a8]
lea eax, [esp + 0x17]
push eax
lea ecx, [esp + 0x1b]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], ebx
call fcn.004070e0
push ebx
push 2
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x24], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x40e1c5
push 0x124
lea edx, [esp + 0x74]
push ebx
push edx
mov dword [esp + 0x78], 0x128
call fcn.004338b0
add esp, 0xc
lea eax, [esp + 0x6c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40e1be
mov edi, 0xf
lea ebp, [ebx + 0x10]
lea eax, [esp + 0x90]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e106
sub eax, edx
push eax
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00405730
mov edx, dword [esp + 0x74]
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x1ac], 1
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00405610
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x64]
push edx
mov ecx, esi
mov byte [esp + 0x1a8], 2
call fcn.0040cef0
cmp dword [esp + 0x3c], ebp
jb 0x40e17d
mov eax, dword [esp + 0x28]
push eax
call fcn.00414d99
add esp, 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x1a0], bl
cmp dword [esp + 0x5c], ebp
jb 0x40e1a3
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00414d99
add esp, 4
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x6c]
push edx
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40e0f0
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x198]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x180]
xor ecx, esp
call fcn.00432ccc
add esp, 0x190
ret
Function at 0x414370
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x45e764]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
push 0x103
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.004338b0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x44d700
lea edx, [esp + 0xf]
push 0x40
push edx
call fcn.00433fec
add esp, 0xc
lea esi, [esp + 8]
call fcn.00414270
test eax, eax
je 0x414407
mov ecx, dword [esp + 0x118]
mov eax, esi
push eax
push ecx
push ebx
call fcn.00433fec
add esp, 0xc
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00432ccc
add esp, 0x108
ret
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea edi, [esp + 0x10]
mov esi, 0x44d6f0
mov ecx, 0x44d6c4
call fcn.00414060
add esp, 4
pop edi
test eax, eax
je 0x41445a
mov eax, dword [esp + 0x118]
lea edx, [esp + 8]
push edx
push eax
push ebx
call fcn.00433fec
add esp, 0xc
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00432ccc
add esp, 0x108
ret
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00432ccc
add esp, 0x108
ret

Function at 0x414480
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x44a3bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x45e764]
xor eax, esp
mov dword [esp + 0xa40], eax
push esi
mov eax, dword [0x45e764]
xor eax, esp
push eax
lea eax, [esp + 0xa4c]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00411920
push 0x3ff
lea eax, [esp + 0x64d]
push 0
push eax
mov dword [esp + 0xa60], 0
mov byte [esp + 0x654], 0
call fcn.004338b0
push 0x3ff
lea ecx, [esp + 0x259]
push 0
push ecx
mov byte [esp + 0x260], 0
call fcn.004338b0
add esp, 0x18
push 0x400
lea edx, [esp + 0x24c]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x44cc54
lea eax, [esp + 0x24c]
push eax
lea ecx, [esp + 0x650]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea edx, [esp + 0x648]
push edx
lea ecx, [esp + 0xc]
call fcn.00411930
push 3
lea ecx, [esp + 0xc]
call fcn.004118d0
push 2
lea ecx, [esp + 0xc]
movzx esi, ax
call fcn.004118d0
movzx eax, ax
cmp esi, 6
jne 0x414582
lea ecx, [esp + 8]
mov dword [esp + 0xa54], 0xffffffff
call fcn.00411690
mov eax, 1
jmp 0x4145a2
cmp esi, 5
jne 0x41458c
cmp eax, 2
je 0x414567
lea ecx, [esp + 8]
mov dword [esp + 0xa54], 0xffffffff
call fcn.00411690
xor eax, eax
mov ecx, dword [esp + 0xa4c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0xa40]
xor ecx, esp
call fcn.00432ccc
add esp, 0xa50
ret
Function at 0x414660
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0xbc
mov eax, dword [0x45e764]
xor eax, esp
mov dword [esp + 0xb8], eax
push esi
lea eax, [esp + 0x28]
push eax
xor esi, esi
mov dword [esp + 0x2c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push str.GetNativeSystemInfo
push 0x44cc54
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4146ae
lea ecx, [esp + 4]
push ecx
call eax
jmp 0x4146b9
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [esp + 4]
mov ecx, 6
cmp cx, ax
jne 0x4146e1
lea eax, [ecx - 5]
pop esi
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.00432ccc
add esp, 0xbc
ret
mov edx, 9
cmp dx, ax
lea eax, [edx - 8]
je 0x4146f0
mov eax, esi
mov ecx, dword [esp + 0xbc]
pop esi
xor ecx, esp
call fcn.00432ccc
add esp, 0xbc
ret
Function at 0x418a53
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x418a9b
call fcn.0041ac12
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x418a9b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x418ade
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x418ac7
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x418ac7
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x418adb
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41b61a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44a53b
call fcn.00436062
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41b63f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41b685
lea ecx, [ebp - 0x10]
call fcn.00404810
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00419541
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401000
mov eax, esi
call fcn.0043613a
ret 8

Function at 0x420e81
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x420ec8
call fcn.0041ac12
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x420ec8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x420ee4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004209fb
mov esi, eax
test edi, edi
je 0x420ee2
test ebx, ebx
je 0x420ee2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x438eda
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
fsub dword [edi - 0x3a]
inc ebp
fld dword [esi + eax*8 + 0x45]
fimul dword [edx - 0x3a]
inc ebp
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x438f47
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00438aac
mov dh, byte [ecx - 0x70]
lea eax, [di - 0x84]
invalid
Function at 0x438ff8
Capabilities:
Encrypt data using rc4 prga
Inspect section memory permissions

Disassembly:
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
add al, 0xc1
add al, 0xc1
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00438a1d
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x438fe9
call fcn.00438aac
out dx, eax
jno 0x439028
add byte [ebx - 0x1fcc382], cl
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x43929b
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x439051
cmp dword [eax + 0xc], ebx
je 0x4390f4
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00438aac
pop eax
or bl, byte [ebp + 0xc5d3993]
jne 0x439080
push edi
call dword [ebp - 0xb8]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x43929b
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax]
cmp eax, ebx
lea edi, [ecx + esi]
jne 0x439094
mov dword [ebp + 0x10], edi
jmp 0x439099
add eax, esi
mov dword [ebp + 0x10], eax
call fcn.00438aac
fbld tbyte [ecx - 0x57]
mov bh, 0x8b
inc ebp
adc byte [ebx + 0x74c33b00], cl
aaa
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x4390e2
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4390bd
and eax, 0xffff
push eax
jmp 0x4390c1
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00438a71
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x43929b
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x4390a2
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x439043
call fcn.00438aac
cmp ebx, edx
out dx, al
cmp eax, 0xa0878b
add byte [eax], al
cmp eax, ebx
je 0x439160
add eax, esi
cmp dword [eax], ebx
je 0x439160
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x43915b
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x439145
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
push edi
xor al, 3
into
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x43914d
cmp edx, ebx
jne 0x43929b
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x43911c
add eax, dword [eax + 4]
jmp 0x439109
mov dword [ebp + 0xc], ebx
jmp 0x43916b
Function at 0x439210
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x439183
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4391a1
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 0x4391ff
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 0x4391e6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4391ef
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4391f9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4391db
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x439165
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 0x43924c
dec eax
je 0x439243
sub eax, 3
je 0x43923a
mov dword [ebp - 4], 0x40
jmp 0x439269
mov dword [ebp - 4], 4
jmp 0x43924f
mov dword [ebp - 4], 0x20
jmp 0x43924f
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 0x43929b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x43921b
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00438aac
xchg esp, eax
adc al, 0x55
xor eax, 0x6a1475ff
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4392a7
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x439763
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x4397a0
cmp dword [ebp - 0x398], 0
je 0x43996a
cmp dword [ebp + 0xc], 1
je 0x43996a
cmp dword [ebp + 0xc], 8
jne 0x439932
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
invalid
test dword [edi - 7], ecx
invalid
Function at 0x4011a0
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
push ebx
sub esp, 0x64
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_OpenServiceW]
sub esp, 0xc
test eax, eax
je 0x4012b8
mov ebx, eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_QueryServiceStatus]
sub esp, 8
mov edi, eax
test eax, eax
jne 0x401210
test byte [section..data], 2
jne 0x401320
mov dword [esp], ebx
call dword [sym.imp.advapi32.dll_CloseServiceHandle]
sub esp, 4
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x30], 0x4050fa
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
cmp eax, 7
jbe 0x401308
mov edx, dword [ebp - 0x28]
mov eax, str.WIN32_SHARE_PROCESS
cmp edx, 0x20
je 0x401265
mov eax, str.WIN32
cmp edx, 0x30
je 0x401265
cmp edx, 0x10
mov eax, str.WIN32_OWN_PROCESS
mov ecx, 0x4050fa
cmovne eax, ecx
mov ecx, dword [ebp - 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0x38]
mov dword [esp + 4], esi
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esp], str.SERVICE_NAME:__ls_n________TYPE_______________:__lx___ls_n________STATE______________:__lx___ls_n________WIN32_EXIT_CODE____:__lu___0x_lx__n________SERVICE_EXIT_CODE__:__lu___0x_lx__n________CHECKPOINT_________:_0x_lx_n________WAIT_HINT__________:_0x_lx_n
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 0x10], ecx
call fcn.004010a0
jmp 0x4011f3
xor edi, edi
test byte [section..data], 2
je 0x4011ff
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_open_service__lu_n
mov dword [esp + 8], str.query_service
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.00401150
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax*4 + 0x405680]
mov dword [ebp - 0x30], eax
jmp 0x40123e
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.failed_to_query_service_status__lu_n
mov dword [esp + 8], str.query_service
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x403000
mov dword [esp], 1
call fcn.00401150
jmp 0x4011f3
Function at 0x402d60
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call 0x402dd0
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call sub.ucrtbase.dll__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401380
mov dword [esp], eax
call sub.ucrtbase.dll_exit
nop
nop
nop
jmp dword [sym.imp.ucrtbase.dll___p___argc]