joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fafe
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push 0x2a4
mov eax, 0x46d520
call fcn.0043b363
mov ebx, edx
mov dword [ebp - 0x2b0], ebx
mov esi, ecx
mov dword [ebp - 0x2ac], esi
push 0x250
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.0043bad0
push str..
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.0040d1a0
add esp, 0x10
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
setne cl
test cl, cl
je 0x42fc83
mov edx, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x58]
push 0x4897e8
call fcn.0040d1a0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.0040d21d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00402f3e
test byte [ebp - 0x2a8], 0x10
je 0x42fc23
lea eax, [ebp - 0x27c]
push 0x489804
push eax
call fcn.0044487c
pop ecx
pop ecx
test eax, eax
je 0x42fc52
lea eax, [ebp - 0x27c]
push 0x489800
push eax
call fcn.0044487c
pop ecx
pop ecx
test eax, eax
je 0x42fc52
push dword [ebp + 8]
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.0042fafe
cmp byte [ebp + 8], 0
pop ecx
je 0x42fc0f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x80
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x42fc52
cmp byte [ebp + 8], 0
je 0x42fc40
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x80
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x2a8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x28]
setne bl
call fcn.00402f3e
test bl, bl
mov ebx, dword [ebp - 0x2b0]
jne 0x42fb6f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00402f3e
mov al, 1
call fcn.0043b30d
ret
Function at 0x42fc9e
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x2a0
mov eax, 0x46d560
call fcn.0043b363
mov ebx, ecx
mov dword [ebp - 0x2ac], ebx
push 0x250
xor esi, esi
lea eax, [ebp - 0x2a8]
push esi
push eax
call fcn.0043bad0
push str..
mov edx, ebx
lea ecx, [ebp - 0x28]
call fcn.0040d1a0
add esp, 0x10
and dword [ebp - 4], esi
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
setne al
test al, al
je 0x42fdb2
push 0x4897e8
mov edx, ebx
lea ecx, [ebp - 0x58]
call fcn.0040d1a0
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x40]
call fcn.0040d21d
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00402f3e
test byte [ebp - 0x2a8], 0x10
je 0x42fd80
lea eax, [ebp - 0x27c]
push 0x489804
push eax
call fcn.0044487c
pop ecx
pop ecx
test eax, eax
je 0x42fd81
lea eax, [ebp - 0x27c]
push 0x489800
push eax
call fcn.0044487c
pop ecx
pop ecx
test eax, eax
je 0x42fd81
lea ecx, [ebp - 0x40]
call fcn.0042fc9e
add esi, eax
jmp 0x42fd81
inc esi
lea eax, [ebp - 0x2a8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x40]
setne bl
call fcn.00402f3e
test bl, bl
mov ebx, dword [ebp - 0x2ac]
jne 0x42fd07
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00402f3e
mov eax, esi
call fcn.0043b30d
ret

Function at 0x430117
Capabilities:
Move file

Disassembly:
push 0x68
mov eax, 0x46d648
call fcn.0043b363
mov edi, ecx
mov esi, dword [ebp + 8]
push 8
push str._SelfDel
push dword [esi + 4]
call fcn.00442a0b
add esp, 0xc
test eax, eax
jne 0x4301ef
push dword [esi + 0xc]
lea ecx, [ebp - 0x5c]
call fcn.00402a51
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
push dword [esi + 0x10]
call fcn.00402a51
push 2
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004582ed
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.00458c5e
add esp, 0x14
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push 4
cmovae eax, dword [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [esi + 8]
lea ecx, [ebp - 0x74]
call fcn.00402a51
push 0x489730
mov ecx, eax
call fcn.0040a5ab
test eax, eax
lea ecx, [ebp - 0x74]
setne bl
xor esi, esi
push esi
push 1
call fcn.00402f3e
test bl, bl
je 0x4301ca
mov ecx, edi
call fcn.00401d87
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00402f3e
push esi
push 1
lea ecx, [ebp - 0x44]
call fcn.00402f3e
push esi
push 1
lea ecx, [ebp - 0x5c]
call fcn.00402f3e
mov al, 1
jmp 0x4301f1
xor al, al
call fcn.0043b30d
ret 4

Function at 0x4309d0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4319de
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x498b58]
cmp eax, 0xffffffff
jne 0x431b48
push 0x110
lea eax, [ebp - 0x114]
mov dword [0x498b58], 0xfffffc18
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0043bad0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x431b43
cmp dword [ebp - 0x108], 2
jne 0x431b43
cmp dword [ebp - 0x114], 5
jne 0x431ad1
mov eax, dword [ebp - 0x110]
test eax, eax
jne 0x431a64
inc eax
jmp 0x431b35
cmp eax, 1
jne 0x431ac7
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x48a830
call fcn.00442a0b
add esp, 0xc
test eax, eax
jne 0x431a87
push 3
jmp 0x431ace
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.00442a0b
add esp, 0xc
test eax, eax
jne 0x431aa5
push 4
jmp 0x431ace
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_3
call fcn.00442a0b
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 5
jmp 0x431b35
cmp eax, 2
jne 0x431b43
push 6
pop eax
jmp 0x431b35
cmp dword [ebp - 0x114], 6
jne 0x431b3c
mov eax, dword [ebp - 0x110]
sub eax, 0
je 0x431af7
sub eax, 1
je 0x431af3
sub eax, 1
jne 0x431b43
push 0xb
jmp 0x431ace
push 0xa
jmp 0x431ace
push 0x7f
lea eax, [ebp - 0x104]
push eax
push 0x48a830
call fcn.00442a0b
add esp, 0xc
test eax, eax
jne 0x431b15
push 8
jmp 0x431ace
push 0x7f
lea eax, [ebp - 0x104]
push eax
push str.Service_Pack_2
call fcn.00442a0b
add esp, 0xc
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 9
mov dword [0x498b58], eax
jmp 0x431b48
mov eax, 0x3e8
jmp 0x431b35
mov eax, dword [0x498b58]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret

Function at 0x431b56
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov word [ebp - 8], 0x500
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x431bb9
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 4]
setne al
xor ecx, ebp
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x431d6e
Capabilities:
Parse url
Send data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1094
call fcn.0043baa0
mov eax, dword [0x498070]
xor eax, esp
mov dword [esp + 0x1090], eax
push ebx
push esi
push edi
sub esp, 0xc
mov dword [esp + 0x1c], edx
mov esi, ecx
call fcn.00431cb3
mov edi, eax
add esp, 0xc
mov dword [esp + 0x14], edi
test edi, edi
je 0x431f4c
mov ebx, 0x800
lea eax, [esp + 0x98]
push ebx
push 0
push eax
call fcn.0043bad0
push ebx
lea eax, [esp + 0x8a8]
push 0
push eax
call fcn.0043bad0
push 0x38
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.0043bad0
add esp, 0x24
mov dword [esp + 0x1c], 0x3c
lea eax, [esp + 0x98]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x898]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push esi
mov dword [esp + 0x5c], ebx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
mov edx, dword [esp + 0x2c]
sub esp, 0x18
mov ecx, edi
call fcn.00431cee
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0x18
mov dword [esp + 0x18], eax
test eax, eax
je 0x431f49
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [esp + 0x5c]
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x431f43
and dword [esp + 0x90], 0
xor eax, eax
mov edi, str.Content_Type:_application_x_www_form_urlencoded_r_n
mov dword [esp + 0x94], 7
push edi
mov word [esp + 0x84], ax
call fcn.004402a6
pop ecx
push eax
push edi
lea ecx, [esp + 0x88]
call fcn.0040299b
cmp dword [esp + 0x94], 8
lea eax, [esp + 0x80]
push 0x20000000
push dword [esp + 0x94]
cmovae eax, dword [esp + 0x88]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 9
pop ecx
xor eax, eax
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea edx, [esp + 0x58]
sub esp, 0xc
mov dword [esp + 0x64], 0x28
mov ecx, esi
mov dword [esp + 0x80], edi
call fcn.00431d33
add esp, 0xc
test eax, eax
je 0x431f21
and dword [esp + 0xc], 0
test edi, edi
je 0x431f21
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push edi
push ebx
push esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x431f1b
add ebx, dword [esp + 0xc]
sub edi, dword [esp + 0xc]
jne 0x431eff
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edi, edi
push edi
push edi
push edi
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call ebx
push edi
push 1
lea ecx, [esp + 0x88]
call fcn.00402f3e
mov edi, dword [esp + 0x14]
push dword [esp + 0x18]
call ebx
push edi
call ebx
mov ecx, dword [esp + 0x109c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x4320d6
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x493430
call fcn.0043b6d0
mov edi, edx
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x30]
cmp word [ecx], ax
jne 0x43213d
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x43213d
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp edi, eax
jb 0x43213d
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp edi, eax
jae 0x43213d
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x432146
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.0043b716
ret
Function at 0x4321c2
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x49b9c4]
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov ebx, 0x10000
cmp esi, 0x7ff80000
push edi
mov edi, 0xfff80000
lea eax, [esi - 0x7ff80000]
cmova ebx, eax
cmp esi, 0x80000000
lea eax, [esi + 0x7ff80000]
cmovb edi, eax
mov eax, dword [0x49b9bc]
test edx, edx
jne 0x432210
test eax, eax
je 0x432223
mov edx, eax
mov dword [0x49b9c4], edx
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x432223
cmp ecx, ebx
jb 0x432223
cmp ecx, edi
jbe 0x4322fe
mov edx, eax
test eax, eax
jmp 0x432245
test edx, edx
je 0x432240
mov eax, dword [edx + 8]
test eax, eax
je 0x432240
cmp eax, ebx
jb 0x432240
cmp eax, edi
jbe 0x4322fe
mov edx, dword [edx + 4]
test edx, edx
mov dword [0x49b9c4], edx
jne 0x432229
and esi, 0xffff0000
mov ecx, esi
cmp esi, ebx
jbe 0x43239e
lea eax, [ecx - 0x70000000]
mov edx, 0x6fff0000
cmp eax, 0x10000000
lea eax, [ebp - 0x3c]
push 0x1c
cmovbe ecx, edx
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x43239e
mov eax, 0x10000
cmp dword [ebp - 0x2c], eax
jne 0x432297
cmp dword [ebp - 0x30], eax
jae 0x4322a9
mov ecx, dword [ebp - 0x38]
add ecx, 0xffff0000
cmp ecx, ebx
ja 0x43225d
jmp 0x43239e
push 0x40
push 0x3000
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [0x49b9c4], edx
test edx, edx
je 0x43239e
mov eax, dword [0x49b9bc]
xor ecx, ecx
mov dword [edx + 4], eax
mov esi, 0x7fd
mov dword [edx], 0x52727464
lea eax, [edx + 0xffe0]
mov dword [edx + 8], ecx
mov dword [0x49b9bc], edx
mov dword [eax + 0x18], ecx
mov ecx, eax
sub eax, 0x20
sub esi, 1
jne 0x4322ee
mov dword [edx + 8], ecx
mov esi, dword [edx + 8]
cmp esi, ebx
jb 0x4323a2
cmp esi, edi
ja 0x4323a2
mov ecx, dword [esi + 0x18]
mov eax, 0xcccccccc
mov dword [edx + 8], ecx
mov edi, esi
push 8
pop ecx
rep stosd dword es:[edi], eax
mov eax, esi
jmp 0x4323a4
lea eax, [esi - 0x70000000]
mov ecx, 0x80010000
cmp eax, 0x10000000
lea eax, [ebp - 0x20]
push 0x1c
cmovbe esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4323a2
mov eax, 0x10000
cmp dword [ebp - 0x10], eax
jne 0x432396
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jb 0x432399
movzx edx, si
test edx, edx
je 0x432377
mov esi, dword [ebp - 0x20]
sub eax, edx
sub ecx, eax
add esi, eax
mov dword [ebp - 0x14], ecx
mov eax, 0x10000
mov dword [ebp - 0x20], esi
push 0x40
push 0x3000
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
mov dword [0x49b9c4], edx
test edx, edx
jne 0x4322ca
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add esi, ecx
cmp esi, edi
jb 0x432327
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4324e8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x49b9c8], eax
je 0x432504
mov eax, 0x10dd
jmp 0x432592
push ebx
push esi
push edi
mov edi, dword [0x49b9b4]
xor ebx, ebx
test edi, edi
je 0x432551
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 0x10]
push dword [edi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [edi + 4], ebx
jne 0x43253f
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x43253f
call fcn.004323ab
mov dword [edi + 0x10], ebx
mov esi, dword [edi]
push 0x18
push edi
call fcn.0043ae51
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x432513
mov dword [0x49b9b4], ebx
call fcn.00432197
mov edi, dword [0x49b9b8]
test edi, edi
je 0x432581
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov esi, dword [edi]
push 8
push edi
call fcn.0043ae51
mov edi, esi
pop ecx
pop ecx
test esi, esi
jne 0x432566
pop edi
pop esi
mov dword [0x49b9b8], ebx
xor eax, eax
mov dword [0x49b9c8], ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432a1b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
test edx, edx
jne 0x432a2a
xor eax, eax
jmp 0x432b08
push esi
mov esi, dword [ebp + 8]
or ecx, 0xffffffff
cmp esi, 8
jb 0x432ae7
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
sub edi, 1
jne 0x432a40
pop edi
test esi, esi
je 0x432b03
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x486960]
inc edx
sub esi, 1
jne 0x432aeb
not ecx
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433237
Capabilities:
Enumerate process modules

Disassembly:
push 0x434
mov eax, 0x46d8bd
call fcn.0043b363
mov edi, edx
mov dword [ebp - 0x440], ecx
push 0x2801
mov dword [ebp - 0x43c], 0x2800
call fcn.0043b0ea
pop ecx
mov ecx, dword [ebp - 0x43c]
mov ebx, eax
lea eax, [ebp - 0x43c]
inc ecx
push eax
push ecx
push ebx
push edi
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x433348
xor esi, esi
test dword [ebp - 0x43c], 0xfffffffc
jbe 0x433348
push 0x208
lea eax, [ebp - 0x420]
push eax
push dword [ebx + esi*4]
push edi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
cmp eax, 4
jbe 0x433336
lea eax, [ebp + eax*2 - 0x428]
push str..tmp
push eax
call fcn.0044405b
pop ecx
pop ecx
test eax, eax
jne 0x433336
and dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp word [ebp - 0x420], ax
je 0x4332fa
lea eax, [ebp - 0x420]
push eax
call fcn.004402a6
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.0040299b
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x438]
and dword [ebp - 4], 0
push eax
call fcn.004020f3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
push 0
push 1
call fcn.00402f3e
mov eax, dword [ebp - 0x43c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x433296
push 1
push ebx
call fcn.0043ae51
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0043b30d
ret
Function at 0x434890
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
mov esi, str.Unknown
call fcn.004319de
cmp eax, 6
jg 0x43490a
je 0x434903
cmp eax, 0xfffffc18
je 0x4348fc
cmp eax, 1
je 0x4348f5
cmp eax, 2
je 0x4348ee
cmp eax, 3
je 0x4348e7
cmp eax, 4
je 0x4348e0
cmp eax, 5
jne 0x434946
mov esi, str.Windows_XP_SP3
jmp 0x434946
mov esi, str.Windows_XP_SP2
jmp 0x434946
mov esi, str.Windows_XP_SP1
jmp 0x434946
mov esi, str.Windows_XP
jmp 0x434946
mov esi, str.Windows_2000
jmp 0x434946
mov esi, str.Old_Windows
jmp 0x434946
mov esi, str.Windows_2003
jmp 0x434946
sub eax, 7
je 0x434941
sub eax, 1
je 0x43493a
sub eax, 1
je 0x434933
sub eax, 1
je 0x43492c
sub eax, 0x3de
jne 0x434946
mov esi, str.Windows_Newest
jmp 0x434946
mov esi, str.Windows_7
jmp 0x434946
mov esi, str.Windows_Vista_SP2
jmp 0x434946
mov esi, str.Windows_Vista_SP1
jmp 0x434946
mov esi, str.Windows_Vista
push 0x110
lea eax, [ebp - 0x174]
mov dword [ebp - 0x178], 0x114
push 0
push eax
call fcn.0043bad0
add esp, 0xc
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, dword [ebp - 0x174]
mov edx, esi
mov ecx, ebx
call fcn.0040ce94
mov edx, 0x48ae38
mov ecx, eax
call fcn.0040ce94
push 0xa
mov esi, eax
lea eax, [ebp - 0x24]
push 0x20
push eax
push edi
call fcn.00442def
lea edx, [ebp - 0x24]
mov ecx, esi
call fcn.0040ce94
mov edi, dword [ebp - 0x170]
mov dl, 0x2e
mov ecx, eax
call fcn.0040cae2
push 0xa
mov esi, eax
lea eax, [ebp - 0x44]
push 0x20
push eax
push edi
call fcn.00442def
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.0040ce94
mov esi, dword [ebp - 0x16c]
mov dl, 0x2e
mov ecx, eax
call fcn.0040cae2
push 0xa
mov edi, eax
lea eax, [ebp - 0x64]
push 0x20
push eax
push esi
call fcn.00442def
add esp, 0x30
lea edx, [ebp - 0x64]
mov ecx, edi
call fcn.0040ce94
mov dl, 0x29
mov ecx, eax
call fcn.0040cae2
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x434a19
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x498070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20
pop esi
push 7
mov ebx, ecx
mov dword [ebp - 0x104], esi
pop ecx
xor eax, eax
lea edi, [ebp - 0x100]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0xa
push esi
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x100]
call fcn.00442def
lea edx, [ebp - 0x24]
mov ecx, ebx
call fcn.0040ce94
mov edi, dword [ebp - 0xfc]
mov ecx, eax
mov edx, str.__memory_in_use.
lea edi, [edi + 0xfffff]
shr edi, 0x14
call fcn.0040ce94
mov edx, str._r_n
mov ecx, eax
call fcn.0040ce94
push 0xa
mov esi, eax
lea eax, [ebp - 0x44]
push 0x20
push eax
push edi
call fcn.00442def
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.0040ce94
mov edi, dword [ebp - 0xf8]
mov ecx, eax
mov edx, str._MBytes_physical_memory.
lea edi, [edi + 0xfffff]
shr edi, 0x14
call fcn.0040ce94
mov edx, str._r_n
mov ecx, eax
call fcn.0040ce94
push 0xa
mov esi, eax
lea eax, [ebp - 0x64]
push 0x20
push eax
push edi
call fcn.00442def
lea edx, [ebp - 0x64]
mov ecx, esi
call fcn.0040ce94
mov edi, dword [ebp - 0xf4]
mov ecx, eax
mov edx, str._MBytes_physical_memory_free.
lea edi, [edi + 0xfffff]
shr edi, 0x14
call fcn.0040ce94
mov edx, str._r_n
mov ecx, eax
call fcn.0040ce94
push 0xa
mov esi, eax
lea eax, [ebp - 0x84]
push 0x20
push eax
push edi
call fcn.00442def
add esp, 0x40
lea edx, [ebp - 0x84]
mov ecx, esi
call fcn.0040ce94
mov edi, dword [ebp - 0xf0]
mov ecx, eax
mov edx, str._MBytes_paging_file.
lea edi, [edi + 0xfffff]
shr edi, 0x14
call fcn.0040ce94
mov edx, str._r_n
mov ecx, eax
call fcn.0040ce94
push 0xa
mov esi, eax
lea eax, [ebp - 0xa4]
push 0x20
push eax
push edi
call fcn.00442def
lea edx, [ebp - 0xa4]
mov ecx, esi
call fcn.0040ce94
mov edi, dword [ebp - 0xec]
mov ecx, eax
mov edx, str._MBytes_paging_file_free.
lea edi, [edi + 0xfffff]
shr edi, 0x14
call fcn.0040ce94
mov edx, str._r_n
mov ecx, eax
call fcn.0040ce94
push 0xa
mov esi, eax
lea eax, [ebp - 0xc4]
push 0x20
push eax
push edi
call fcn.00442def
lea edx, [ebp - 0xc4]
mov ecx, esi
call fcn.0040ce94
mov edi, dword [ebp - 0xe8]
mov ecx, eax
mov edx, str._MBytes_user_address_space.
lea edi, [edi + 0xfffff]
shr edi, 0x14
call fcn.0040ce94
mov edx, str._r_n
mov ecx, eax
call fcn.0040ce94
push 0xa
mov esi, eax
lea eax, [ebp - 0xe4]
push 0x20
push eax
push edi
call fcn.00442def
add esp, 0x30
lea edx, [ebp - 0xe4]
mov ecx, esi
call fcn.0040ce94
mov edx, str._MBytes_user_address_space_free.
mov ecx, eax
call fcn.0040ce94
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043a99c
mov esp, ebp
pop ebp
ret
Function at 0x434c33
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
push 0x2801
mov ebx, edx
mov dword [esp + 0x14], 0x2800
mov edi, ecx
call fcn.0043b0ea
mov edx, dword [esp + 0x14]
pop ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
push ecx
inc edx
push edx
push eax
push dword [ebx]
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x434cb2
xor esi, esi
test dword [esp + 0x10], 0xfffffffc
jbe 0x434cb2
mov eax, dword [ebx]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov ecx, edi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x1c], eax
call fcn.00434cbb
mov edx, 0x48aaa4
mov ecx, eax
call fcn.0040ce94
mov eax, dword [esp + 0x10]
inc esi
shr eax, 2
cmp esi, eax
jb 0x434c7e
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret