joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
or eax, edi
test al, 3
jne 0x402b90
lea eax, [edi + 0x14]
cmp eax, edi
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
mov dword [ebp + 8], eax
je 0x402ba1
sub ebx, edi
mov ecx, dword [edi]
mov edx, ecx
shr edx, 8
mov eax, ecx
shl eax, 8
xor edx, eax
shl ecx, 8
and edx, 0xff00ff
xor edx, ecx
rol edx, 0x10
inc esi
mov dword [ebx + edi], edx
lea edi, [edi + 4]
cmp esi, dword [ebp + 8]
jb 0x402b66
jmp 0x402ba1
mov al, byte [esi + edi]
mov ecx, esi
xor ecx, 3
inc esi
mov byte [ecx + ebx], al
cmp esi, 0x14
jb 0x402b90
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402ba6
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not ecx
push edi
test dl, 3
je 0x402bcf
test esi, esi
je 0x402bcf
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4589b0]
inc edx
dec esi
jmp 0x402bb0
mov edi, esi
and edi, 0xfffffff0
add edi, edx
jmp 0x402cb9
xor ecx, dword [edx]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
xor ecx, dword [edx + 4]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
xor ecx, dword [edx + 8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
xor ecx, dword [edx + 0xc]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4589b0]
add edx, 0x10
cmp edx, edi
jb 0x402bdb
and esi, 0xf
xor edi, edi
push ebx
xor ebx, ebx
lea eax, [esi + edx]
cmp edx, eax
cmova esi, ebx
pop ebx
test esi, esi
je 0x402cee
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4589b0]
inc edx
inc edi
cmp edi, esi
jb 0x402cd6
not ecx
pop edi
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x402cfe
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x404e82
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x462114]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x404f90
push str.Riched20.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.0040bbf7
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x14]
call fcn.0040c300
push 0x1388
sub esp, 0x18
mov ecx, esp
push str.SoftResConchZip
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov byte [ecx], bl
call fcn.00404478
push esi
call fcn.00404fa6
mov ecx, eax
call fcn.0040f06c
push ebx
push ebx
push esi
call fcn.00405022
mov ecx, eax
call fcn.004115e2
lea eax, [esp + 0x1c]
push str.TOUCH_CONTENT
push eax
call fcn.0040ef2e
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x404f28
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x14]
call fcn.0040c911
lea ecx, [esp + 0x1c]
mov bl, al
call fcn.00405482
test bl, bl
je 0x404f48
call fcn.00404da3
jmp 0x404f75
push str._mdfilelist
lea ecx, [esp + 0x14]
call fcn.0040c911
test al, al
jne 0x404f64
call fcn.0041b096
cmp dword [eax], 1
jne 0x404f75
sub esp, 0xc
call fcn.00409429
test eax, eax
js 0x404f75
call fcn.00409019
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.00405255
lea ecx, [esp + 0x10]
call fcn.0040bc4a
mov ecx, dword [esp + 0x34]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041345a
mov esp, ebp
pop ebp
ret 0x10

Function at 0x405255
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x462114]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4052cc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x4052cc
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041345a
leave
ret
Function at 0x4061ee
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x264
mov eax, 0x446ab9
call fcn.00413faa
mov esi, ecx
xor ebx, ebx
mov edi, ebx
call fcn.00401507
push eax
lea ecx, [ebp - 0x264]
call fcn.004019ad
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.00408d6a
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.00408ced
push 0x4591ac
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x268]
call fcn.00407579
pop ecx
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x268]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004014c3
cmp esi, 0xffffffff
je 0x40636d
test byte [ebp - 0x260], 0x10
je 0x40634d
mov ecx, 0x4593e4
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4062a8
test dx, dx
je 0x4062a4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4062a8
add eax, 4
add ecx, 4
test dx, dx
jne 0x406282
mov eax, ebx
jmp 0x4062ad
sbb eax, eax
or eax, 1
test eax, eax
je 0x40634e
mov ecx, 0x4591b4
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4062e6
test dx, dx
je 0x4062e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4062e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4062c0
mov eax, ebx
jmp 0x4062eb
sbb eax, eax
or eax, 1
test eax, eax
je 0x40634e
push 0x4593e0
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x270]
call fcn.00407579
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x26c]
call fcn.00407579
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov ecx, dword [eax]
call fcn.004061ee
mov ecx, dword [ebp - 0x26c]
add edi, eax
lea ecx, [ecx - 0x10]
call fcn.004014c3
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x270]
lea ecx, [ecx - 0x10]
call fcn.004014c3
jmp 0x40634e
inc edi
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40626a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, edi
mov ecx, dword [ebp - 0x264]
add ecx, 0xfffffff0
call fcn.004014c3
mov eax, ebx
call fcn.00413f54
ret
Function at 0x406383
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0x274
mov eax, 0x446b2e
call fcn.00413faa
mov edi, edx
mov esi, ecx
mov ebx, dword [ebp + 0xc]
call fcn.00401507
push eax
lea ecx, [ebp - 0x268]
call fcn.004019ad
and dword [ebp - 4], 0
call fcn.00401507
push eax
lea ecx, [ebp - 0x264]
call fcn.004019ad
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00408d6a
push eax
push esi
lea ecx, [ebp - 0x264]
call fcn.00408ced
push 0x4591ac
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x26c]
call fcn.00407579
pop ecx
lea ecx, [ebp - 0x260]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x26c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.004014c3
cmp esi, 0xffffffff
je 0x4065d3
test byte [ebp - 0x260], 0x10
je 0x406506
mov ecx, 0x4593e4
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406454
test dx, dx
je 0x406450
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406454
add eax, 4
add ecx, 4
test dx, dx
jne 0x40642e
xor eax, eax
jmp 0x406459
sbb eax, eax
or eax, 1
test eax, eax
je 0x4065b6
mov ecx, 0x4591b4
lea eax, [ebp - 0x234]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406492
test dx, dx
je 0x40648e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406492
add eax, 4
add ecx, 4
test dx, dx
jne 0x40646c
xor eax, eax
jmp 0x406497
sbb eax, eax
or eax, 1
test eax, eax
je 0x4065b6
push 0x4593e0
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x274]
call fcn.00407579
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x270]
call fcn.00407579
push ebx
push dword [ebp + 8]
mov byte [ebp - 4], 3
mov edx, edi
mov ecx, dword [eax]
call fcn.00406383
mov ecx, dword [ebp - 0x270]
add esp, 0x10
lea ecx, [ecx - 0x10]
call fcn.004014c3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x274]
lea ecx, [ecx - 0x10]
call fcn.004014c3
jmp 0x4065b6
push 0x4593e0
lea edx, [ebp - 0x264]
lea ecx, [ebp - 0x280]
call fcn.00407579
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x27c]
call fcn.00407579
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x278]
mov edx, dword [eax]
push edi
call fcn.004065f5
add esp, 0xc
push eax
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 6
call fcn.00407809
mov ecx, dword [ebp - 0x278]
lea ecx, [ecx - 0x10]
call fcn.004014c3
mov ecx, dword [ebp - 0x27c]
lea ecx, [ecx - 0x10]
call fcn.004014c3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x280]
lea ecx, [ecx - 0x10]
call fcn.004014c3
mov edx, dword [edi]
mov ecx, dword [ebp - 0x268]
call fcn.00405984
inc dword [ebx]
imul eax, dword [ebx], 0x64
push 0x64
pop ecx
push 0
cdq
idiv dword [ebp + 8]
inc eax
cmp eax, ecx
cmovg eax, ecx
push eax
push 0x501
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x406416
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x264]
lea ecx, [ecx - 0x10]
call fcn.004014c3
mov ecx, dword [ebp - 0x268]
lea ecx, [ecx - 0x10]
call fcn.004014c3
call fcn.00413f54
ret
Function at 0x406dab
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x14
mov eax, 0x446bd0
call fcn.00413f76
mov edi, ecx
mov dword [ebp - 0x1c], edi
and dword [ebp - 4], 0
cmp dword [edi + 0x94], 0
jne 0x406f7f
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x406f7f
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x406e2a
mov eax, dword [ebp + 0xc]
lea ebx, [esi + 4]
cmp ebx, eax
je 0x406e14
mov dword [ebp - 0x14], esi
mov edi, eax
sub esi, ebx
push ebx
lea ecx, [esi + ebx]
call fcn.00407809
add ebx, 4
cmp ebx, edi
jne 0x406dfb
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 0x1c]
mov ecx, dword [eax - 4]
sub ecx, 0x10
call fcn.004014c3
mov eax, dword [ebp + 0xc]
sub eax, 4
mov dword [ebp + 0xc], eax
jmp 0x406e79
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
lea ecx, [eax - 1]
test ecx, ecx
js 0x406f8f
cmp ecx, eax
jg 0x406f8f
cmp word [edx + ecx*2], 0x5c
jne 0x406e70
push ecx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00407601
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00407809
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004014c3
mov eax, dword [ebp + 0xc]
add esi, 4
mov dword [ebp - 0x10], esi
cmp esi, eax
jne 0x406dde
mov esi, dword [ebp + 8]
cmp esi, eax
je 0x406f7f
push 0x24
call fcn.00413ba1
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
pop ecx
mov ebx, eax
push edx
push edx
push 0xf0
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov ecx, dword [edi + 4]
mov dword [ebx], ecx
push dword [edi + 0x4c]
call esi
dec eax
neg eax
push 0
sbb eax, eax
push 0
inc eax
push 0xf0
mov dword [ebx + 4], eax
push dword [edi + 0x50]
call esi
dec eax
neg eax
push 0
sbb eax, eax
push 0
inc eax
push 0xf0
mov dword [ebx + 8], eax
push dword [edi + 0x54]
call esi
dec eax
neg eax
push 0
sbb eax, eax
push 0
inc eax
push 0xf0
mov dword [ebx + 0xc], eax
push dword [edi + 0x58]
call esi
dec eax
neg eax
push 0
sbb eax, eax
push 0
inc eax
push 0xf0
mov dword [ebx + 0x10], eax
push dword [edi + 0x5c]
call esi
dec eax
lea ecx, [ebx + 0x18]
neg eax
sbb eax, eax
inc eax
mov dword [ebx + 0x14], eax
lea eax, [ebp + 8]
cmp ecx, eax
je 0x406f35
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00407d16
xor esi, esi
mov ecx, edi
push esi
call fcn.00406d02
push esi
push esi
push ebx
push 0x405f90
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x94], eax
test eax, eax
je 0x406f6f
push esi
push 0xc8
push 0x3e8
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x406f78
push 1
mov ecx, edi
call fcn.00406d02
mov ecx, edi
call fcn.0040588d
lea ecx, [ebp + 8]
call fcn.004078bb
call fcn.00413f3f
ret 0xc
push 0x80070057
call fcn.00401185
int3
Function at 0x406f9a
Capabilities:
Terminate thread

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x94]
test eax, eax
je 0x406fe9
push ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push ebx
mov dword [edi + 0x94], ebx
mov ebx, 0x402
push 0x64
push ebx
push dword [edi + 0x64]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x64
push ebx
push dword [edi + 0x60]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ecx, edi
call fcn.00406d02
mov ecx, edi
call fcn.0040588d
pop ebx
xor eax, eax
pop edi
ret 0x10

Function at 0x4070e0
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push 0x49c
mov eax, 0x446c55
call fcn.00413faa
mov esi, ecx
mov dword [ebp - 0x4a0], esi
xor ebx, ebx
mov dword [ebp - 0x4a8], ebx
mov dword [ebp - 0x4a4], ebx
mov dword [ebp - 4], ebx
call fcn.00401507
push eax
lea ecx, [ebp - 0x498]
call fcn.004019ad
mov byte [ebp - 4], 1
call fcn.00401507
push eax
lea ecx, [ebp - 0x49c]
call fcn.004019ad
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x494]
push dword [esi + 4]
push 0x459370
sub esp, 0xc
push ebx
call fcn.00408304
mov dword [ebp - 0x494], 0x4593d0
mov edi, 0x400
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp - 0x498]
call fcn.00408bc3
push dword [esi + 4]
lea ecx, [ebp - 0x494]
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], edi
call fcn.004074ed
mov edi, dword [ebp - 0x498]
mov esi, eax
push dword [edi - 8]
push edi
call fcn.0041b43e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x498]
call fcn.00408cc2
cmp esi, 1
je 0x4071b7
lea ecx, [ebp - 0x498]
call fcn.00408a96
mov edi, dword [ebp - 0x498]
cmp dword [edi - 0xc], ebx
je 0x407252
sub esp, 0xc
push 2
push ecx
push 0xc0000000
push edi
lea ecx, [ebp - 0x4a8]
call fcn.004054b5
cmp eax, 1
je 0x40724c
mov eax, dword [ebp - 0x4a0]
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [ebp - 0x49c]
lea esi, [eax + 1]
push esi
call fcn.00401b0c
push esi
push eax
mov eax, dword [ebp - 0x4a0]
push dword [eax + 0x6c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, dword [ebp - 0x49c]
push dword [esi - 8]
push esi
call fcn.0041b317
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x49c]
call fcn.00401b48
push ebx
mov ebx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x4a0]
push eax
push dword [esi - 0xc]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x407258
call fcn.00408ec2
jmp 0x407258
mov ebx, dword [ebp - 0x4a8]
mov esi, dword [ebp - 0x49c]
cmp dword [ebp - 0x480], 0
je 0x40726c
push dword [ebp - 0x480]
call fcn.004133b0
lea ecx, [esi - 0x10]
call fcn.004014c3
lea ecx, [edi - 0x10]
call fcn.004014c3
test ebx, ebx
je 0x407287
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.00413f54
ret 0x10
Function at 0x408304
Capabilities:
Check os version

Disassembly:
push 0x120
mov eax, 0x446d63
call fcn.00413faa
mov esi, ecx
mov dword [ebp - 0x128], esi
xor eax, eax
mov dword [ebp - 0x12c], esi
mov dword [esi + 4], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x58
push eax
lea ebx, [esi + 0x20]
mov dword [ebp - 4], eax
push ebx
call fcn.00418ba0
xor eax, eax
mov dword [ebp - 0x124], 0x114
xor ecx, ecx
lea edi, [esi + 0x27c]
mov word [edi], ax
mov eax, dword [ebp + 8]
mov word [esi + 0x7c], cx
push 0x110
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x120]
push ecx
push eax
mov dword [ebx], 0x58
call fcn.00418ba0
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4083a6
cmp dword [ebp - 0x120], 5
jae 0x4083ac
cmp dword [ebp - 0x120], 4
jne 0x4083a6
cmp dword [ebp - 0x11c], 0x5a
jae 0x4083ac
mov dword [ebx], 0x4c
mov ecx, 0x457038
mov dword [esi + 0x3c], edi
lea eax, [esi + 0x7c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x44], eax
mov edx, 0x104
mov eax, dword [ebp + 0x18]
push 0xffffffffffffffff
push ecx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x48], 0x100
mov dword [esi + 0x54], 0x880026
mov eax, dword [0x464578]
push edx
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [esi + 0x64], 0x40826e
mov dword [esi + 0x24], eax
call fcn.0041b169
push eax
call fcn.00408e87
add esp, 0x14
mov eax, esi
call fcn.00413f54
ret 0x18
Function at 0x40b1f9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x446f24
call fcn.00414018
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40b276
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40b276
call fcn.00408ec2
mov esi, eax
jmp 0x40b36d
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40b299
call fcn.00408ec2
jmp 0x40b360
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x40b28f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x40b2cc
mov esi, 0x8007000e
jmp 0x40b362
push 2
pop edx
mov byte [ebp - 4], 2
call fcn.0040a06a
cmp eax, 0x400
jbe 0x40b2ed
push eax
lea ecx, [ebp - 0x418]
call fcn.00409ac8
jmp 0x40b30f
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x40b30f
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x40b2c2
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40b28f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040b0a4
mov esi, eax
test edi, edi
je 0x40b36d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40b386
lea ecx, [ebp - 0x418]
call fcn.00409ab3
mov eax, esi
call fcn.00413f65
ret 0x10
Function at 0x40f06c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc4
mov eax, 0x447584
call fcn.00413faa
mov dword [ebp - 0xd0], ecx
mov esi, dword [ebp + 8]
movzx eax, word [ebp + 0x24]
xor ebx, ebx
push 0xa
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x40f1ae
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40f1ae
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push esi
mov dword [ebp - 0xc8], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
cmp dword [ebp - 0xc8], ebx
jne 0x40f0d8
test edi, edi
je 0x40f1ae
cmp dword [ebp + 0x1c], ebx
jbe 0x40f172
lea eax, [ebp + 0xc]
mov dword [ebp - 0x30], ebx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
call fcn.0040423c
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 1
call fcn.00402cf6
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00402d25
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xc4]
call fcn.004035bc
lea esi, [edi + 1]
mov byte [ebp - 4], 2
push esi
call fcn.0041deaa
push esi
push ebx
push eax
mov dword [ebp - 0xcc], eax
call fcn.00418ba0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0xcc]
cmovae eax, dword [ebp - 0x28]
push eax
push edi
push esi
push dword [ebp - 0xc8]
call fcn.0041275f
add esp, 0x20
lea ecx, [ebp - 0x28]
call fcn.00404991
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00404991
jmp 0x40f174
mov esi, ebx
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00404499
lea eax, [ebp - 0x58]
push eax
call fcn.004121cb
add esp, 0x1c
mov esi, dword [ebp - 0xd0]
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00410310
cmp dword [esi + 4], ebx
lea ecx, [ebp - 0x58]
seta bl
call fcn.00404991
lea ecx, [ebp + 0xc]
call fcn.00404991
mov al, bl
call fcn.00413f54
ret 0x20
Function at 0x4127c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x462114]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x20c]
push 0
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x220], edi
mov edi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x21c], esi
call fcn.00418ba0
add esp, 0xc
mov ebx, 0x20019
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x41288c
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x412880
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push dword [ebp - 0x218]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 2
jne 0x4128b1
cmp edi, 0x80000002
jne 0x4128b1
cmp ebx, 0x20019
jne 0x4128b1
mov esi, dword [ebp - 0x21c]
mov ebx, 0x20119
jmp 0x412816
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.00408690
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x220]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041345a
leave
ret

Function at 0x412c2a
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1218
call fcn.00414060
mov eax, dword [0x462114]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, 0x1000
mov dword [ebp - 0x1218], eax
push esi
lea eax, [ebp - 0x1210]
push 0
push eax
call fcn.00418ba0
and dword [ebp - 0x1214], 0
add esp, 0xc
xor eax, eax
xor ebx, ebx
mov word [ebp - 8], ax
lea eax, [ebp - 0x1214]
push eax
push esi
lea eax, [ebp - 0x1210]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x412d05
push edi
mov edi, dword [ebp - 0x1214]
xor esi, esi
shr edi, 2
test edi, edi
je 0x412d04
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00418ba0
push 0x104
lea eax, [ebp - 0x210]
push eax
push dword [ebp + esi*4 - 0x1210]
call fcn.00412d15
add esp, 0x18
test eax, eax
je 0x412cf6
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.0041f7ed
push dword [ebp - 0x1218]
lea eax, [ebp - 0x210]
push eax
call fcn.00416d4b
add esp, 0x10
test eax, eax
jne 0x412cfd
inc esi
cmp esi, edi
jb 0x412c9a
jmp 0x412d04
mov ebx, dword [ebp + esi*4 - 0x1210]
pop edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0041345a
leave
ret