joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e5c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x40e5d0
xor eax, eax
jmp 0x40e76d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x40e72e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x449020]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x449020]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x449020]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x449020]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x449020]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x449020]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x449020]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x449020]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x40e5d9
cmp dword [ebp + 0x10], 0
je 0x40e767
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x449020]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x40e734
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x40e770
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
movsx edx, byte [ebp + 0xc]
mov eax, dword [ebp + 8]
xor edx, dword [eax + ecx]
and edx, 0xff
mov ecx, 4
imul eax, ecx, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 8
xor eax, dword [edx*4 + 0x449020]
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + edx], eax
mov edx, 4
shl edx, 0
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + ecx]
and ecx, 0xff
mov eax, dword [ebp + 8]
add ecx, dword [eax + edx]
mov edx, 4
shl edx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx], ecx
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
imul eax, dword [edx + ecx], 0x8088405
add eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 1
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
shr ecx, 0x18
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
shl eax, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x449020]
mov ecx, 4
shl ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
pop ebp
ret

Function at 0x40f860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x40f8af
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40f8a5
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x40f909
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x40f8cf
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042d650
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4111c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x4111db
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 0xffffffff
je 0x4111e5
mov eax, 0x1000000
jmp 0x411300
mov edx, dword [ebp - 8]
add edx, 0x140
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [ebp - 8]
add eax, 0x140
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0xc]
mov al, byte [edx]
mov byte [ebp - 2], al
add dword [ebp - 0xc], 1
cmp byte [ebp - 2], 0
jne 0x41120e
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x20]
mov al, byte [edx + 0x13f]
mov byte [ebp - 1], al
movsx ecx, byte [ebp - 1]
cmp ecx, 0x5c
je 0x411274
movsx edx, byte [ebp - 1]
cmp edx, 0x2f
je 0x411274
mov eax, dword [ebp - 8]
add eax, 0x13f
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dl, byte [ecx + 1]
mov byte [ebp - 3], dl
add dword [ebp - 0x10], 1
cmp byte [ebp - 3], 0
jne 0x411255
mov edi, dword [ebp - 0x10]
mov ax, word [0x448c68]
mov word [edi], ax
cmp dword [ebp + 0x10], 1
jne 0x4112b8
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x41129c
mov dword [ebp - 0x14], 1
jmp 0x4112a3
mov dword [ebp - 0x14], 0
mov dl, byte [ebp - 0x14]
mov byte [ebp - 4], dl
movzx eax, byte [ebp - 4]
test eax, eax
jne 0x4112b8
mov eax, 0x2000000
jmp 0x411300
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040f530
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x4112de
mov eax, dword [ebp - 0x28]
jmp 0x411300
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040fc20
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
cmp dword [edx], 0
jne 0x4112fe
mov eax, 0x200
jmp 0x411300
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x413910
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x24], 0
xor eax, eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
push ecx
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x41396b
cmp dword [ebp - 0x30], 0x6f
je 0x41396b
xor eax, eax
jmp 0x413a41
mov edx, dword [ebp - 0x2c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x413987
xor eax, eax
jmp 0x413a41
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
je 0x4139aa
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x413a41
mov eax, 1
imul ecx, eax, 5
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + ecx + 0x194]
push eax
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x28]
movzx ecx, byte [eax + edx + 0x194]
push ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x28]
movzx edx, byte [ecx + eax + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
mov eax, dword [ebp + 8]
push eax
call fcn.00403e30
add esp, 0x20
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00427fb1
mov esp, ebp
pop ebp
ret
Function at 0x413aa0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
pushal
mov ebx, dword fs:[0x18]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xa8]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
popal
cmp dword [ebp - 8], 5
jne 0x413b1c
cmp dword [ebp - 0xc], 0
jne 0x413b1c
push str.415623
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x413c09
cmp dword [ebp - 8], 5
jne 0x413b4b
cmp dword [ebp - 0xc], 1
jne 0x413b4b
push 0x44aa10
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x413c09
cmp dword [ebp - 8], 5
jne 0x413b77
cmp dword [ebp - 0xc], 2
jne 0x413b77
push 0x44aa14
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x413c09
cmp dword [ebp - 8], 6
jne 0x413ba0
cmp dword [ebp - 0xc], 0
jne 0x413ba0
push 0x44aa18
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x413c09
cmp dword [ebp - 8], 6
jne 0x413bc9
cmp dword [ebp - 0xc], 1
jne 0x413bc9
push 0x44aa1c
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov ecx, dword [ebp - 4]
or ecx, 1
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
jmp 0x413c09
cmp dword [ebp - 8], 6
jne 0x413bf0
cmp dword [ebp - 0xc], 2
jne 0x413bf0
push 0x44aa20
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov edx, dword [ebp - 4]
or edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
jmp 0x413c09
push 0x44aa24
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413e30
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d996
mov eax, dword fs:[0]
push eax
mov eax, 0x1138
call fcn.0042c5f0
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1118]
call fcn.00404bb0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1118]
call fcn.00414b20
lea ecx, [ebp - 0x112c]
push ecx
push 0x1000
lea edx, [ebp - 0x1114]
push edx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x413ec4
mov dword [ebp - 0x1140], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1118]
call fcn.00404200
mov eax, dword [ebp - 0x1140]
jmp 0x414078
mov eax, dword [ebp - 0x112c]
shr eax, 2
mov dword [ebp - 0x113c], eax
mov cl, byte [0x44801e]
mov byte [ebp - 0x114], cl
push 0x103
push 0
lea edx, [ebp - 0x113]
push edx
call fcn.00429bc0
add esp, 0xc
lea ecx, [ebp - 0x111c]
call fcn.00404060
mov byte [ebp - 4], 1
mov dword [ebp - 0x1128], 0
mov dword [ebp - 0x1124], 0
jmp 0x413f29
mov eax, dword [ebp - 0x1124]
add eax, 1
mov dword [ebp - 0x1124], eax
mov ecx, dword [ebp - 0x1124]
cmp ecx, dword [ebp - 0x113c]
jae 0x414045
mov edx, dword [ebp - 0x1124]
mov eax, dword [ebp + edx*4 - 0x1114]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1120], eax
cmp dword [ebp - 0x1120], 0
je 0x414040
lea ecx, [ebp - 0x1144]
push ecx
push 4
lea edx, [ebp - 0x1134]
push edx
mov eax, dword [ebp - 0x1120]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x414033
push 0x104
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x1134]
push edx
mov eax, dword [ebp - 0x1120]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x111c]
call fcn.00404b90
lea ecx, [ebp - 0x111c]
call fcn.00414b20
push 0
lea ecx, [ebp - 0x111c]
call fcn.00403660
push eax
lea ecx, [ebp - 0x1118]
call fcn.00403000
cmp eax, 0xffffffff
je 0x414033
mov dword [ebp - 0x1128], 1
mov edx, dword [ebp - 0x1120]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1138], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x111c]
call fcn.00404200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1118]
call fcn.00404200
mov eax, dword [ebp - 0x1138]
jmp 0x414078
mov eax, dword [ebp - 0x1120]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x413f1a
mov ecx, dword [ebp - 0x1128]
mov dword [ebp - 0x1130], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x111c]
call fcn.00404200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1118]
call fcn.00404200
mov eax, dword [ebp - 0x1130]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427fb1
mov esp, ebp
pop ebp
ret
Function at 0x4140a0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d9e1
mov eax, dword fs:[0]
push eax
mov eax, 0x113c
call fcn.0042c5f0
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1128], 0
push 0x44aa3c
lea ecx, [ebp - 0x111c]
call fcn.00404bb0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1134]
push eax
push 0x1000
lea ecx, [ebp - 0x1114]
push ecx
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
jne 0x414143
push 0x44801f
mov ecx, dword [ebp + 8]
call fcn.00404bb0
mov edx, dword [ebp - 0x1128]
or edx, 1
mov dword [ebp - 0x1128], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x111c]
call fcn.00404200
mov eax, dword [ebp + 8]
jmp 0x4142f0
mov eax, dword [ebp - 0x1134]
shr eax, 2
mov dword [ebp - 0x1140], eax
mov cl, byte [0x448032]
mov byte [ebp - 0x114], cl
push 0x103
push 0
lea edx, [ebp - 0x113]
push edx
call fcn.00429bc0
add esp, 0xc
lea ecx, [ebp - 0x1118]
call fcn.00404060
mov byte [ebp - 4], 1
mov dword [ebp - 0x1144], 0
mov dword [ebp - 0x1120], 0
jmp 0x4141a8
mov eax, dword [ebp - 0x1120]
add eax, 1
mov dword [ebp - 0x1120], eax
mov ecx, dword [ebp - 0x1120]
cmp ecx, dword [ebp - 0x1140]
jae 0x4142ae
mov edx, dword [ebp - 0x1120]
mov eax, dword [ebp + edx*4 - 0x1114]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1124], eax
cmp dword [ebp - 0x1124], 0
je 0x4142a9
lea ecx, [ebp - 0x1148]
push ecx
push 4
lea edx, [ebp - 0x112c]
push edx
mov eax, dword [ebp - 0x1124]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x41429c
push 0x104
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x112c]
push edx
mov eax, dword [ebp - 0x1124]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x1118]
call fcn.00404b90
lea ecx, [ebp - 0x1118]
call fcn.00414b20
push 0x44aa40
lea edx, [ebp - 0x1118]
push edx
lea eax, [ebp - 0x1130]
push eax
call fcn.00403c00
add esp, 0xc
mov dword [ebp - 0x1138], eax
mov ecx, dword [ebp - 0x1138]
mov dword [ebp - 0x113c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x113c]
push edx
lea ecx, [ebp - 0x111c]
call fcn.00404040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1130]
call fcn.00404200
mov eax, dword [ebp - 0x1124]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414199
lea ecx, [ebp - 0x111c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403ea0
mov edx, dword [ebp - 0x1128]
or edx, 1
mov dword [ebp - 0x1128], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1118]
call fcn.00404200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x111c]
call fcn.00404200
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427fb1
mov esp, ebp
pop ebp
ret
Function at 0x414310
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43da23
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x452550]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x138], 0x128
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x414398
mov dword [ebp - 0x148], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x148]
jmp 0x4144ae
lea ecx, [ebp + 8]
call fcn.00414b20
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x414485
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00404bb0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x13c]
call fcn.00414b20
lea ecx, [ebp + 8]
call fcn.00403660
push eax
lea ecx, [ebp - 0x13c]
call fcn.004039d0
test eax, eax
jne 0x414464
mov edx, dword [ebp - 0x130]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x154]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x144], eax
push 0
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x150], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00404200
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x150]
jmp 0x4144ae
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call fcn.00403cb0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x13c]
call fcn.00404200
jmp 0x4143a0
push 0xffffffffffffffff
lea ecx, [ebp + 8]
call fcn.00403cb0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427fb1
mov esp, ebp
pop ebp
ret

Function at 0x4144d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea ecx, [ebp + 8]
call fcn.00403660
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4144ff
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x4144ff
mov dword [ebp - 8], 1
jmp 0x414506
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp + 8]
call fcn.00404200
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x414810
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43daa0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x452550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004029d0
add esp, 4
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x28]
push edx
mov ecx, 0x5b750c
call fcn.004041e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404200
push 0x44aa80
lea ecx, [ebp - 0x18]
call fcn.00404bb0
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0x34
push 0
mov ecx, 0x5b750c
call fcn.00403660
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x414948
mov eax, dword [ebp - 0x10]
add eax, 1
push eax
call fcn.0041590f
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, 0x5b750c
call fcn.00403660
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x414936
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 0x44aa84
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x414936
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push str._d_d
lea ecx, [ebp - 0x18]
push ecx
call fcn.00403e30
add esp, 0x10
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.0041590a
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403ea0
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404200
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret