joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3d40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4e3d89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4e4200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x531320
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004e3db0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004e3e30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004e3e30
lea ecx, [esi + 0xc]
call fcn.00521221
lea ecx, [esi + 0x10]
call fcn.00521221
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004e53d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004e53d0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004e53d0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00521296
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00521296
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4e55c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x4e5626
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x4e5626
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4e5607
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4e86b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x12b77f4]
xor edx, edx
cmp eax, edx
jne 0x4e86d6
xor eax, eax
mov byte [eax + 0x12b76f4], al
inc eax
cmp eax, 0x100
jl 0x4e86be
mov dword [0x12b77f4], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x12b76f4
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e8767
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 0x4e873a
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 0x4e8708
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e8770
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 0x4e87c3
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 0x4e87aa
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 0x4ef180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x53171e
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.004efaa0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x122be7c
call fcn.00520fd7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4ef213
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00520fd7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4ef20c
push 0
mov ecx, eax
call fcn.004e62f0
mov dword [esi + 0xc], eax
jmp 0x4ef215
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4ef215
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 0x50fba3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x50fcc4
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x50fca8
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x50fbfa
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x50fbd8
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x51070c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x12324d4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x510763
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x510763
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x510763
xor eax, eax
inc eax
jmp 0x510765
xor eax, eax
leave
ret 0x10

Function at 0x51078e
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push 0x12324d4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x5107fc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x1232cfc
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5107f3
cmp dword [ebp - 0xc], 4
jne 0x5107f3
cmp dword [ebp - 0x10], edi
je 0x5107f3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x1268948], edi
xor eax, eax
jmp 0x51083b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1268948], edi
jge 0x510836
lea eax, [ebp - 0x34]
push eax
mov dword [0x1268948], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x510836
cmp word [ebp - 0x14], 5
jb 0x510836
call fcn.00510769
test eax, eax
je 0x510836
emms
mov dword [0x1268948], 1
mov eax, dword [0x1268948]
pop edi
leave
ret

Function at 0x523664
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x52369c
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.005216f1
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005216c9
jmp 0x5236a8
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x524d55
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 0x524d97
call fcn.0052aad3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x524d97
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x524d8e
xor eax, eax
jmp 0x524d9f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00524da5
pop edi
pop esi
pop ebx
ret 4
Function at 0x52675c
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x531f74
call fcn.005001e8
push ecx
push ecx
push esi
push 0x14
call fcn.00520fd7
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
and dword [ebp - 4], 0
test esi, esi
je 0x5267af
mov ecx, esi
call fcn.005217d5
mov eax, dword [0x12632d0]
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov dword [esi], vtable.CFileException.0
mov dword [esi + 0xc], eax
call fcn.005213d3
jmp 0x5267b1
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push 0x1244828
push eax
mov dword [ebp - 0x10], esi
call fcn.004ffd9c
pop esi

Function at 0x52b003
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 0x52b031
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x52b04f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0052af69
jmp 0x52b04f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x52b04f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0052af69
test edi, edi
mov eax, edi
jne 0x52b039
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40690e
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42f764], 0
jne 0x40694c
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406922
mov dword [ecx*4 + 0x42f760], eax
inc ecx
cmp ecx, 0x100
jl 0x40691d
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406979
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42f760]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x40695a
not eax
pop ebp
ret 0xc

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x78927dc2
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x319e7116
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x41b643
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ceb50
mov dword [esp], 0xc8
mov dword [esp + 4], 0x96
push 0
call fcn.004b920d
mov ebx, eax
push 0
call fcn.004b950d
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 8], ebx
push 0
call fcn.004b927a
mov ebx, eax
push 0
call fcn.004b9589
mov edi, eax
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
add ebx, edi
mov edi, dword [esp + 4]
mov eax, edi
mov ecx, 2
cdq
idiv ecx
mov edi, eax
sub ebx, edi
mov dword [esp + 0xc], ebx
push 0x80000004
push dword [0xf81580]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x60
call fcn.004b8c38
push 0xb
push 0x67
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0xf
push 0xf
push 0x63
call fcn.004b2fde
push 0xb
push 0x65
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0x2d
push 0xf
push 0x61
call fcn.004b2fde
push 0xb
push 0x66
call fcn.004c78ad
push eax
push 0x1a
push 0xaa
push 0x4b
push 0xf
push 0x62
call fcn.004b2fde
push dword [0xf816cc]
push 0x14
push 0xaa
push 0x78
push 0xf
push 0x64
call fcn.004b06be
call fcn.0043bbcd
call fcn.004b8c30
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x1c], 0
je 0x41b854
call fcn.004bca96
push eax
mov ebx, 0x60
cmp ebx, dword [esp]
jne 0x41b851
push dword [esp + 0x20]
mov ebx, 0x332c
cmp ebx, dword [esp]
jne 0x41b850
call fcn.004bca87
push eax
mov ebx, 0x63
cmp ebx, dword [esp]
jne 0x41b805
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41b8ab
mov ebx, 0x61
cmp ebx, dword [esp]
jne 0x41b824
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41b8ab
mov ebx, 0x62
cmp ebx, dword [esp]
jne 0x41b840
mov eax, str.https:__msfree.su_donaties_donations.html
push eax
call fcn.0048e69a
add esp, 0xc
jmp 0x41b8ab
mov ebx, 0x64
cmp ebx, dword [esp]
jne 0x41b84f
add esp, 0xc
jmp 0x41b8ab
pop eax
pop eax
pop eax
jmp 0x41b85e
push 0x60
call fcn.004b8c12
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41b882
call fcn.004b9597
mov ebx, eax
cmp ebx, 0x60
jne 0x41b882
call fcn.0043bbcd
jmp 0x41b8ab
push 0xd
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x41b8a6
call fcn.004b9597
mov ebx, eax
cmp ebx, 0x60
jne 0x41b8a6
call fcn.0043bbcd
jmp 0x41b8ab
jmp 0x41b7ae
push 0x60
call fcn.004b89c0
xor eax, eax
add esp, 0x10
pop edi
pop ebx
ret 4
Function at 0x447357
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
push eax
push eax
call fcn.004ceb50
mov dword [esp], 0
jmp 0x44736a
mov eax, dword [esp + 0x10]
cmp eax, dword [esp]
jl 0x447423
push 0
call fcn.004b8af1
and eax, eax
je 0x44741a
mov dword [esp + 4], 0xffffffff
call fcn.0044d489
mov dword [esp + 4], eax
mov ebx, dword [esp + 4]
and ebx, ebx
jle 0x4473e9
call fcn.004bca96
push eax
mov ebx, dword [0xf816ec]
cmp ebx, dword [esp]
jne 0x4473c4
push dword [esp + 8]
call fcn.00445ece
mov ebx, eax
and ebx, ebx
jne 0x4473c2
jmp 0x4473e6
xor ebx, ebx
cmp ebx, dword [esp]
jne 0x4473dc
push dword [esp + 8]
call fcn.00438f72
mov ebx, eax
and ebx, ebx
jne 0x4473da
jmp 0x4473e6
push 3
call fcn.004b87e3
pop eax
jmp 0x4473f3
push 5
call fcn.004b87e3
push 0x1b
call sub.USER32.dll_GetKeyState
mov ebx, eax
cmp ebx, 1
jle 0x447410
mov dword [0xf8169c], 1
jmp 0x44741a
mov dword [0xf8169c], 0
inc dword [esp]
jno 0x44736a
xor eax, eax
add esp, 8
pop ebx
ret 4
Function at 0x44c833
Capabilities:
Query environment variable

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.004ceb50
push dword [esp + 0x1c]
call fcn.0044f440
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.0044f000
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push 0x3e8
call fcn.004cc530
call fcn.004ceb30
lea eax, [esp + 8]
push eax
call fcn.004ceac0
push 0x3e8
mov eax, dword [esp + 8]
push eax
mov eax, str.WINDIR
push eax
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov edx, 0x5e60ba
lea ecx, [esp + 8]
call fcn.0044f008
push edx
call fcn.004cea40
pop edx
push eax
push 0xe
mov edx, dword [esp + 0xc]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
mov edx, str.System32
push edx
call fcn.004cea70
call fcn.004ceb30
push edx
call fcn.004cea40
pop edx
push eax
mov edx, 0x5ec02a
push edx
call fcn.004cea70
mov edx, dword [esp + 0x10]
push edx
call fcn.004cea70
call fcn.004ceb30
mov edx, dword [esp + 0x14]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
mov edx, str.System32cmd.exe
push edx
call fcn.004cea70
call fcn.0044f422
add dword [esp], edx
call fcn.0044f422
add dword [esp + 4], edx
call fcn.0044f422
add dword [esp + 8], edx
call fcn.0048e136
call fcn.0044f440
mov dword [esp + 0xc], eax
cmp dword [esp + 0xc], 0
je 0x44c9c1
push dword [esp + 0xc]
call fcn.0048e8da
and eax, eax
je 0x44c9b8
push dword [esp + 0xc]
call fcn.0048e91c
and eax, eax
je 0x44c9b6
mov edx, dword [esp + 8]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push 0x18
push dword [esp + 0x20]
call fcn.0048e940
call fcn.0044f422
add dword [esp], edx
call fcn.00429dc9
pop eax
mov edx, 0x5f8daa
push edx
call fcn.004cea70
lea eax, [esp + 0xc]
push eax
call fcn.004ceac0
jmp 0x44c941
push dword [esp + 0xc]
call fcn.0048e977
mov edx, dword [esp + 8]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
pop eax
push eax
call fcn.0044f410
pop edx
add eax, edx
jmp 0x44c9e9
push dword [esp]
call fcn.004cebc0
push dword [esp + 4]
call fcn.004cebc0
push dword [esp + 8]
call fcn.004cebc0
add esp, 0x10
pop ebx
ret 4
Function at 0x44d559
Capabilities:
Delete registry key

Disassembly:
push ebx
mov edx, 7
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x44d55f
call fcn.004ceb50
mov edx, dword [esp + 0x24]
lea ecx, [esp]
call fcn.0044f000
mov edx, dword [esp + 0x28]
lea ecx, [esp + 4]
call fcn.0044f000
push dword [esp]
call fcn.0044d6e0
push dword [esp + 4]
mov edx, 0x5e70e6
pop ecx
call fcn.0044f3d0
je 0x44d62e
cmp dword [0xf817cc], 0
je 0x44d614
mov eax, str.Advapi32.dll
push eax
push 0xffffffff
call fcn.004afc81
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x44d612
mov eax, str.RegDeleteKeyExA
push eax
push dword [esp + 0xc]
call fcn.004afcd7
mov dword [esp + 0xc], eax
push 0
mov ebx, dword [0xf817d0]
or ebx, 0xf003f
push ebx
mov eax, dword [0xf817c0]
push eax
push dword [0xf817c8]
push dword [esp + 0x1c]
call fcn.004afd31
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.004afbc0
jmp 0x44d629
mov eax, dword [0xf817c0]
push eax
push dword [0xf817c8]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
jmp 0x44d6b7
lea eax, [esp + 0x18]
push eax
push dword [0xf817c8]
push dword [esp + 0xc]
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [esp + 0x14], eax
cmp dword [0xf817cc], 0
je 0x44d6a4
mov eax, str.Advapi32.dll
push eax
push 0xffffffff
call fcn.004afc81
mov dword [esp + 8], eax
cmp dword [esp + 8], 0
je 0x44d6a2
push 0
mov ebx, dword [0xf817d0]
or ebx, 0xf003f
push ebx
mov eax, dword [0xf817c0]
push eax
push dword [esp + 0x24]
mov eax, str.RegDeleteKeyExA
push eax
push dword [esp + 0x1c]
call fcn.004afd8e
mov dword [esp + 0x10], eax
push dword [esp + 8]
call fcn.004afbc0
jmp 0x44d6b7
mov eax, dword [0xf817c0]
push eax
push dword [esp + 0x1c]
call sub.ADVAPI32.dll_RegDeleteKeyW
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x10]
and ebx, ebx
jne 0x44d6c6
mov eax, 1
jmp 0x44d6c8
xor eax, eax
push dword [esp + 4]
call fcn.004cebc0
push dword [esp]
call fcn.004cebc0
add esp, 0x1c
pop ebx
ret 8
Function at 0x44d8e2
Capabilities:
Get graphical window text

Disassembly:
push ebx
xor eax, eax
push eax
call fcn.004ceb50
push dword [esp + 0xc]
call fcn.0044f440
mov ebx, dword [0xf81808]
and ebx, ebx
jne 0x44d91e
push 0
push 0
call sub.USER32.dll_FindWindowW
mov dword [0xf8180c], eax
mov dword [0xf81808], 1
jmp 0x44d933
push 2
push dword [0xf8180c]
call sub.USER32.dll_GetWindow
mov dword [0xf8180c], eax
mov ebx, dword [0xf8180c]
and ebx, ebx
je 0x44d9cd
push 0xfffffff0
push dword [0xf8180c]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x10000000
cmp ebx, 0x10000000
jne 0x44d9cb
push 0xffffffec
push dword [0xf8180c]
call sub.USER32.dll_GetWindowLongW
mov ebx, eax
and ebx, 0x80
cmp ebx, 0x80
je 0x44d9cb
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea40
pop edx
push eax
push 0x100
call fcn.004cc530
lea eax, [esp + 4]
push eax
call fcn.004ceac0
push 0x100
push dword [esp + 4]
push dword [0xf8180c]
call sub.USER32.dll_GetWindowTextW
push dword [esp]
mov edx, 0x5e60ba
pop ecx
call fcn.0044f3d0
jne 0x44d9cb
jmp 0x44d9e5
jmp 0x44d9d7
mov dword [0xf81808], 0
mov ebx, dword [0xf8180c]
and ebx, ebx
jne 0x44d8f4
mov edx, dword [esp]
push edx
call fcn.004cea40
pop edx
push eax
push edx
call fcn.004cea70
pop eax
push eax
call fcn.0044f410
pop edx
add eax, edx
jmp 0x44da0c
push dword [esp]
call fcn.004cebc0
add esp, 4
pop ebx
ret

Function at 0x44da19
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
mov edx, 0x19
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x44da20
call fcn.004ceb50
mov edx, dword [esp + 0x70]
lea ecx, [esp]
call fcn.0044f000
lea eax, [esp + 4]
lea eax, [esp + 0x48]
lea ebp, [esp + 4]
mov dword [ebp], 0x44
mov dword [ebp + 0x2c], 1
mov ebx, dword [esp + 0x74]
and ebx, 2
and ebx, ebx
je 0x44da6f
lea ebp, [esp + 4]
mov word [ebp + 0x30], 0
jmp 0x44da79
lea ebp, [esp + 4]
mov word [ebp + 0x30], 1
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x20]
push 0
call sub.KERNEL32.dll_CreateProcessW
mov dword [esp + 0x58], eax
cmp dword [esp + 0x58], 0
je 0x44db02
mov ebx, dword [esp + 0x74]
and ebx, 1
and ebx, ebx
je 0x44daf9
lea ebp, [esp + 0x48]
push dword [ebp + 4]
pop eax
mov dword [esp + 0x5c], eax
push 1
call fcn.004b87e3
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x60]
call sub.KERNEL32.dll_GetExitCodeThread
mov ebx, dword [esp + 0x60]
cmp ebx, 0x103
je 0x44daf7
jmp 0x44daf9
jmp 0x44dad1
lea ebp, [esp + 0x48]
mov eax, dword [ebp]
jmp 0x44db04
xor eax, eax
push dword [esp]
call fcn.004cebc0
add esp, 0x64
pop ebx
pop ebp
ret 8