joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f5e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
mov ebx, 0x4848e8
call fcn.0040f580
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413990
push esi
call fcn.004112ef
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f6a0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f6d0
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x40f631
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4876c8
push eax
call fcn.00414e06
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x42b2ee
push edi
call fcn.0040f450
cmp eax, ebx
je 0x42b2f8
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414e94
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f690
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004151b0
add esp, 0x10
push 0x38959999
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044afdc
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42b324
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415484
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f690

Function at 0x40f6a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004131f0
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x4103e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4972c8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x4972c8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x4972c0], eax
call esi
mov edx, dword [0x4972c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x4972bc], eax
call esi
mov eax, dword [0x4972c0]
push 0
push eax
call esi
pop esi
ret

Function at 0x421fa7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490e80]
jne 0x421fb1
repz ret
jmp fcn.00426243
Function at 0x433fa4
Capabilities:
Create process on windows

Disassembly:
push 0x44
push 0
push 0x4a9300
call fcn.004131f0
push 0x10
push 0
push 0x4a92ec
call fcn.004131f0
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push 0x4a92ec
push 0x4a9300
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a9300], 0x44
mov dword [0x4a932c], 1
mov word [0x4a9330], ax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x434019
mov edx, dword [0x4a92ec]
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.dll_CloseHandle]
ret 4
Function at 0x434bee
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 8]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x434c81
lea ecx, [ecx]
lea edx, [esp + 0x3c]
push 0x48724c
push edx
call fcn.004133e4
add esp, 8
test eax, eax
je 0x434c71
lea eax, [esp + 0x3c]
push 0x48a090
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x434c71
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
not edx
and eax, edx
push eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x434c9b
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x434c1e
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [ebp + 0x14], 0
jne 0x434cad
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea edx, [esp + 0x10]
push edx
push 0x48a088
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x434d34
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x434d24
lea eax, [esp + 0x3c]
push 0x48724c
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x434d24
lea ecx, [esp + 0x3c]
push 0x48a090
push ecx
call fcn.004133e4
add esp, 8
test eax, eax
je 0x434d24
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.00434bee
test al, al
je 0x434d42
push 0x48a090
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x434cc6
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x434d50
Capabilities:
Create directory
Delete directory

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0xa30
push edi
mov edi, dword [esp + 0xa3c]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0x830]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
je 0x434dea
lea eax, [esp + 0x82c]
push eax
lea ecx, [esp + 0x10]
push str.___s
push ecx
call fcn.0041353a
lea edx, [esp + 0x18]
push edx
call fcn.004112d5
add esp, 0x10
cmp word [esp + eax*2 + 0xa], 0x5c
jne 0x434dd4
lea eax, [esp + 0xc]
push eax
call fcn.004112d5
add esp, 4
cmp word [esp + eax*2 + 8], 0x3a
je 0x434dd4
lea ecx, [esp + 0xc]
push ecx
call fcn.004112d5
add esp, 4
xor edx, edx
mov word [esp + eax*2 + 0xa], dx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x434df6
cmp byte [esp + 0xa40], al
jne 0x434df6
xor eax, eax
pop edi
add esp, 0xa30
ret 0xc
push esi
push 0
push 0x2200000
push 3
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x434eba
push 0x14
lea eax, [esp + 0x21c]
push 0
push eax
call fcn.004131f0
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x228], 0xa0000003
call fcn.004112d5
add eax, eax
mov word [esp + 0x232], ax
mov edx, dword [esp + 0x232]
push 0x104
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x240]
add edx, 2
push ecx
mov word [esp + 0x240], dx
call fcn.0041326a
mov eax, dword [esp + 0x23e]
add esp, 0x1c
push 0
add eax, 0xc
mov word [esp + 0x220], ax
lea edx, [esp + 0x10]
push edx
push 0
movzx eax, ax
push 0
add eax, 8
push eax
lea ecx, [esp + 0x22c]
push ecx
push 0x900a4
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
test eax, eax
jne 0x434ece
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop esi
xor eax, eax
pop edi
add esp, 0xa30
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop edi
add esp, 0xa30
ret 0xc

Function at 0x434fa9
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
lea eax, [esp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esp + 0x210]
push ecx
push 0
push 0x4876f0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
add esp, 0x20c
ret 4

Function at 0x435152
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x464]
test eax, eax
je 0x435168
cmp eax, 0x10000
jne 0x43518c
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x45c]
push eax
push 0x10000
push 1
push ecx
call fcn.004151b0
add esp, 0x10
mov dword [esi + 0x464], 0
mov ecx, dword [esi + 0x464]
mov edx, dword [esi + 0x45c]
mov al, byte [ecx + edx]
inc ecx
mov dword [esi + 0x464], ecx
pop esi
ret 4

Function at 0x4351a6
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x460]
test eax, eax
je 0x4351d5
mov ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x458]
push ecx
push eax
push 1
push edx
call fcn.004146ce
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 4
Function at 0x4351d9
Capabilities:
Write file on windows

Disassembly:
mov dl, byte [esp + 8]
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x458]
mov ecx, dword [esi + 0x460]
mov byte [eax + ecx], dl
inc dword [esi + 0x460]
mov eax, dword [esi + 0x460]
cmp eax, 0x10000
jne 0x435228
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x458]
push eax
push 0x10000
push 1
push ecx
call fcn.004146ce
add esp, 0x10
mov dword [esi + 0x460], 0
pop esi
ret 8

Function at 0x4352d1
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x14], 1
jne 0x4352f7
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.00410f70
add esp, 0xc
jmp 0x43530c
mov edx, dword [esi + 0x1c]
push edx
push 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.004151b0
add esp, 0x10
movzx ecx, byte [esp + 8]
movzx edx, byte [esp + 9]
movzx eax, byte [esp + 0xa]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0xb]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x14]
shl ecx, 8
or ecx, edx
mov dword [eax], ecx
lea ecx, [esp + 4]
push 0x4876d8
push ecx
mov byte [esp + 0x10], 0
call fcn.004151d0
add esp, 8
neg eax
sbb eax, eax
neg eax
pop esi
add esp, 8
ret 8

Function at 0x4353b4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x4a72e8], eax
mov edx, 1
mov eax, 0x4a72e8
push edi
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x4a7ca4
jl 0x4353c8
mov dword [0x49223c], 1
mov dword [0x4a7cb8], 1
pop edi
ret

Function at 0x436272
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x28
push esi
mov esi, dword [esp + 0x30]
push edi
test esi, esi
jl 0x436322
jne 0x436293
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret
cmp esi, 0xf
jae 0x43631b
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x43631b
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
push edx
call edi
fnstcw word [esp + 0x34]
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sbb ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
fild qword [esp + 0x20]
movzx eax, word [esp + 0x34]
fild qword [esp + 0x28]
or eax, 0xc00
mov dword [esp + 8], eax
fdivp st(1)
fmul qword [0x48c548]
fldcw word [esp + 8]
fistp qword [esp + 8]
mov edx, dword [esp + 8]
fldcw word [esp + 0x34]
cmp edx, esi
jb 0x4362b8
pop edi
pop esi
add esp, 0x28
ret
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop edi
pop esi
add esp, 0x28
ret
Function at 0x4364aa
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 4]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x43650e
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [esp + 4]
push 0
push 0
push 0
lea edx, [esp + 0x14]
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x436515
xor eax, eax
pop ebx
add esp, 0x14
ret
cmp ebx, 0x20
je 0x436562
cmp ebx, 0x40
je 0x436574
test bl, 0xb
jne 0x436532
push 0
push ebx
call dword [sym.imp.USER32.dll_ExitWindowsEx]
pop ebx
add esp, 0x14
ret
xor ecx, ecx
test bl, 0x14
je 0x43653e
mov ecx, 1
xor eax, eax
test bl, 2
je 0x43654a
mov eax, 1
mov edx, dword [esp + 0x20]
push edx
push eax
push ecx
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
pop ebx
add esp, 0x14
ret
mov eax, 1
push 0
push eax
call sub.KERNEL32.dll_SetSystemPowerState
pop ebx
add esp, 0x14
ret
xor eax, eax
push eax
push eax
call sub.KERNEL32.dll_SetSystemPowerState
pop ebx
add esp, 0x14
ret

Function at 0x436582
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x29c
push esi
mov esi, dword [esp + 0x2a4]
push edi
mov edi, dword [esp + 0x2ac]
lea eax, [esp + 0x110]
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x436660
push 0x100
lea ecx, [esp + 0x14]
push ecx
call sub.WSOCK32.dll_gethostname
lea edx, [esp + 0x10]
push edx
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x436660
mov eax, dword [eax + 0xc]
xor edx, edx
cmp dword [eax], edx
je 0x4365eb
mov ecx, eax
lea esp, [esp]
add ecx, 4
inc edx
cmp dword [ecx], 0
jne 0x4365e2
cmp esi, edx
jle 0x43660b
push str.0.0.0.0
push edi
call fcn.00411691
add esp, 8
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
mov eax, dword [eax + esi*4 - 4]
push 4
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00410f70
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call sub.WSOCK32.dll_inet_ntoa
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00413990
lea ecx, [esp + 0x18]
push 0xffffffffffffffff
push ecx
call fcn.004359c4
mov esi, eax
push esi
push edi
call fcn.00411691
push esi
call fcn.004112ef
add esp, 0x1c
call sub.WSOCK32.dll_WSACleanup
pop edi
pop esi
add esp, 0x29c
ret
push 0x4848e8
push edi
call fcn.00411691
add esp, 8
pop edi
pop esi
add esp, 0x29c
ret
Function at 0x4366be
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20c
push 0x104
push eax
lea ecx, [esp + 8]
push ecx
call fcn.00436328
lea edx, [esp + 0xc]
push edx
call fcn.004112d5
add esp, 0x10
test eax, eax
je 0x4366fa
cmp word [esp + eax*2 - 2], 0x5c
lea eax, [esp + eax*2 - 2]
jne 0x4366fa
xor ecx, ecx
mov word [eax], cx
push ebp
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4367a3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, 2
jne 0x436737
push 0
lea eax, [esp + 8]
push eax
call ebp
test eax, eax
je 0x43673c
mov al, 1
pop ebp
add esp, 0x20c
ret
cmp eax, 3
jne 0x4367a7
push esi
push edi
lea edi, [esp + 0xc]
call fcn.0040fff0
mov esi, eax
push 0x5c
push esi
call fcn.00414277
add esp, 8
test eax, eax
jne 0x43676d
push esi
call fcn.004112ef
add esp, 4
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x20c
ret
push ebx
xor ecx, ecx
push esi
mov word [eax], cx
call fcn.004366be
push esi
mov bl, al
call fcn.004112ef
add esp, 8
test bl, bl
je 0x436796
push 0
lea edx, [esp + 0x14]
push edx
call ebp
test eax, eax
setne bl
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
test al, 0x10
jne 0x43672d
xor al, al
pop ebp
add esp, 0x20c
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436adb
test al, 0x10
je 0x436adb
mov al, 1
ret
xor al, al
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x254
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x436b1d
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x436b12
or eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 8]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x436b3a
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x28]
lea eax, [esp + 0x18]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x436b62
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret
push ebp
push esi
call fcn.0041171a
add esp, 4
mov ebp, eax
push ebp
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push edi
call fcn.004112d5
xor ecx, ecx
add eax, 0x1a
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041171a
mov esi, eax
push 0x484e10
push esi
call fcn.00411691
push 0x484e10
push edi
call fcn.004133e4
add esp, 0x18
test eax, eax
je 0x436c45
push str.StringFileInfo_
push esi
call fcn.00411663
push 0x484e10
push edi
call fcn.00413772
add esp, 0x10
test eax, eax
jne 0x436c3b
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x436c16
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
push 4
lea eax, [esi + 0x20]
push eax
push ebx
call fcn.00435eed
push 4
lea ecx, [esi + 0x28]
push ecx
shr ebx, 0x10
push ebx
call fcn.00435eed
add esp, 0x18
jmp 0x436c24
push str.04090000
push esi
call fcn.00411663
add esp, 8
push 0x484e10
push esi
call fcn.00411663
push edi
push esi
call fcn.00411663
add esp, 0x10
jmp 0x436c45
push edi
push esi
call fcn.00411663
add esp, 8
push str.DefaultLangCodepage
push edi
call fcn.004115d0
add esp, 8
test eax, eax
jne 0x436c86
mov edi, dword [esp + 0x28]
push 8
lea edx, [esi + 0x20]
push edx
push edi
call fcn.0041326a
xor eax, eax
push ebp
mov word [edi + 0x10], ax
call fcn.004112ef
push esi
call fcn.004112ef
add esp, 0x14
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push esi
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x436d14
push 0x484e10
push edi
call fcn.004133e4
add esp, 8
test eax, eax
jne 0x436cdb
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
movzx edx, cx
push edx
mov edx, dword [esp + 0x2c]
shr ecx, 0x10
push ecx
movzx ecx, ax
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
push edx
call fcn.0041353a
add esp, 0x18
jmp 0x436cfb
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
push 0x200
push eax
push edi
call fcn.0041326a
add esp, 0xc
xor ecx, ecx
mov word [edi + 0x400], cx
push ebp
call fcn.004112ef
push esi
call fcn.004112ef
add esp, 8
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x10
ret
push ebp
call fcn.004112ef
push esi
call fcn.004112ef
add esp, 8
pop ebp
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x436ec8
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x102c
call fcn.00425210
push ebp
mov ebp, dword [esp + 0x103c]
lea eax, [esp + 4]
push eax
push 0x800
lea ecx, [esp + 0x838]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x436eff
xor al, al
pop ebp
add esp, 0x102c
ret
mov edx, dword [esp + 0x1034]
push ebx
push esi
mov esi, dword [esp + 0xc]
push edx
shr esi, 2
mov byte [ebp], 0
call fcn.00436e8c
add esp, 4
xor ebx, ebx
mov dword [esp + 0x14], eax
test esi, esi
jbe 0x437013
push edi
cmp byte [ebp], 0
jne 0x437012
mov eax, dword [esp + ebx*4 + 0x83c]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x10]
push ecx
push 4
lea edx, [esp + 0x1c]
mov edi, eax
push edx
push edi
call sub.PSAPI.DLL_EnumProcessModules
mov ecx, dword [esp + 0x14]
push 0x104
lea eax, [esp + 0x22c]
push eax
push ecx
push edi
call sub.PSAPI.DLL_GetModuleBaseNameW
test eax, eax
je 0x437002
lea edx, [esp + 0x434]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x640]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x238]
push eax
call fcn.00413db0
lea ecx, [esp + 0x448]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.00411663
mov eax, dword [esp + 0x105c]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004115d0
add esp, 0x24
test eax, eax
jne 0x436fe2
mov edx, dword [esp + ebx*4 + 0x83c]
mov eax, dword [esp + 0x1044]
mov dword [eax], edx
jmp 0x436ffe
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x437002
mov eax, dword [esp + ebx*4 + 0x83c]
cmp ecx, eax
jne 0x437002
mov ecx, dword [esp + 0x1044]
mov dword [ecx], eax
mov byte [ebp], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x436f2b
pop edi
pop esi
pop ebx
mov al, 1
pop ebp
add esp, 0x102c
ret

Function at 0x43701f
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x840
push ebx
push ebp
mov ebp, dword [esp + 0x84c]
push esi
mov esi, dword [esp + 0x858]
push edi
push 0
push 2
mov dword [esp + 0x20], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [esp + 0x18]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
push ebp
mov byte [esi], 0
call fcn.00436e8c
add esp, 4
cmp byte [esi], 0
mov ebx, eax
jne 0x437104
lea ecx, [ecx]
lea ecx, [esp + 0x18]
push ecx
push edi
call sub.KERNEL32.dll_Process32NextW
cmp eax, 1
jne 0x437104
lea edx, [esp + 0x448]
push edx
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0x654]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x4c]
push eax
call fcn.00413db0
lea ecx, [esp + 0x45c]
push ecx
lea edx, [esp + 0x25c]
push edx
call fcn.00411663
lea eax, [esp + 0x260]
push ebp
push eax
call fcn.004115d0
add esp, 0x24
test eax, eax
jne 0x4370e3
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x858]
mov dword [edx], ecx
jmp 0x4370f8
test ebx, ebx
je 0x4370fb
mov eax, dword [esp + 0x20]
cmp ebx, eax
jne 0x4370fb
mov ecx, dword [esp + 0x858]
mov dword [ecx], eax
mov byte [esi], 1
cmp byte [esi], 0
je 0x43706f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x840
ret