joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409888
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40995b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409974
push ebx
push 0x409980
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409908
mov al, 0x62
call fcn.00409460
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.0040985c
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409911
call fcn.0040985c
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409962
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x10001670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000168e
push 0
push 0
push 0
push 0x10001170
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0xb91609
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0xb91a90
call fcn.00b917b4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0xb92370
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0xb913c4
cmp eax, esi
jne 0xb913b7
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0xb913c7
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0xb9139e
xor esi, esi
inc esi
mov eax, dword [0xb9236c]
cmp eax, esi
jne 0xb913da
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0xb91409
mov eax, dword [0xb9236c]
test eax, eax
jne 0xb91403
mov dword [0xb9236c], esi
push 0xb910b8
push 0xb910ac
call fcn.00b91300
pop ecx
pop ecx
test eax, eax
je 0xb91409
jmp 0xb9152d
mov dword [0xb92034], esi
mov eax, dword [0xb9236c]
cmp eax, esi
jne 0xb9142d
push 0xb910a8
push 0xb910a0
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0xb9236c], 2
cmp dword [ebp - 0x20], ebx
jne 0xb9143a
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0xb92374], ebx
je 0xb9145b
push 0xb92374
call fcn.00b91729
pop ecx
test eax, eax
je 0xb9145b
push ebx
push 2
push ebx
call dword [0xb92374]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0xb9152d
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0xb914c5
cmp cx, bx
je 0xb91480
cmp dword [ebp - 0x1c], ebx
jne 0xb914c5
movzx ecx, word [eax]
cmp cx, bx
je 0xb91495
cmp cx, 0x20
ja 0xb91495
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0xb91480
test byte [ebp - 0x40], 1
je 0xb914a1
movzx ecx, word [ebp - 0x3c]
jmp 0xb914a4
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0xb90000
call main
mov dword [0xb92030], eax
cmp dword [0xb92024], ebx
jne 0xb9150a
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0xb914d6
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0xb9146a
cmp dword [0xb92034], ebx
jne 0xb91518
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0xb92030]
jmp 0xb91539
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00b917f9
ret
call fcn.00b91901
jmp 0xb91361
Function at 0x403140
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov ecx, dword [eax]
mov eax, 0xaaaaaaab
add ecx, 2
mov dword [ebp - 0xc], ebx
mul ecx
push esi
push edi
shr edx, 1
mov ecx, ebx
shl edx, 2
push 0x3d
push edx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
call fcn.004146f0
cmp dword [ebx + 0x14], 0x10
mov edi, ebx
jb 0x40318d
mov edi, dword [ebx]
mov ecx, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 4], 3
xor esi, esi
mov ecx, dword [ecx]
mov eax, ecx
div dword [ebp - 4]
sub ecx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
je 0x40323d
mov eax, dword [ebp - 8]
dec ecx
add eax, 2
mov dword [ebp - 4], eax
mov eax, 0xaaaaaaab
mul ecx
mov eax, edx
mov edx, dword [ebp - 4]
shr eax, 1
inc eax
mov ebx, eax
nop dword [eax + eax]
movsx ecx, byte [edx - 2]
lea edx, [edx + 3]
movsx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movsx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
mov eax, ecx
sar eax, 0x12
movzx eax, byte [eax + 0x42eeb0]
mov byte [edi + esi], al
mov eax, ecx
sar eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x42eeb0]
mov byte [edi + esi + 1], al
mov eax, ecx
sar eax, 6
and ecx, 0x3f
and eax, 0x3f
movzx eax, byte [eax + 0x42eeb0]
mov byte [edi + esi + 2], al
movzx eax, byte [ecx + 0x42eeb0]
mov byte [edi + esi + 3], al
add esi, 4
sub ebx, 1
jne 0x4031d0
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
test edx, edx
je 0x4032b4
mov eax, dword [ebp - 8]
movsx eax, byte [ecx + eax]
sub edx, 1
je 0x403267
mov ebx, dword [ebp - 8]
shl eax, 8
movsx ecx, byte [ecx + ebx + 1]
mov ebx, dword [ebp - 0xc]
or ecx, eax
mov eax, ecx
sar eax, 0xa
and eax, 0x3f
jmp 0x40326c
mov ecx, eax
sar eax, 2
mov al, byte [eax + 0x42eeb0]
mov byte [edi + esi], al
mov eax, ecx
test edx, edx
je 0x403283
sar eax, 4
and eax, 0x3f
jmp 0x403289
and eax, 3
shl eax, 4
mov al, byte [eax + 0x42eeb0]
mov byte [edi + esi + 1], al
test edx, edx
je 0x4032ae
and ecx, 0xf
mov al, byte [ecx*4 + 0x42eeb0]
mov byte [edi + esi + 2], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, 0x3d
mov byte [edi + esi + 2], al
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404630
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x110]
mov esi, ecx
push eax
push 0
call dword [0x4290c4]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x404855
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x404855
push 0x44
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.00416a00
add esp, 0xc
lea eax, [ebp - 0x16c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x16c], xmm0
push eax
lea eax, [ebp - 0x158]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x110]
push eax
call dword [0x429074]
test eax, eax
je 0x404855
push 4
push 0x1000
push 4
push 0
call dword [0x4290b0]
mov ebx, eax
push ebx
mov dword [ebp - 0x178], ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x168]
call dword [0x429058]
test eax, eax
je 0x404855
push 0
push 4
lea eax, [ebp - 0x15c]
push eax
push str.tt_ru
push dword [ebp - 0x16c]
call dword [0x42906c]
mov eax, dword [edi + 0x34]
cmp dword [ebp - 0x15c], eax
jne 0x40474c
push 0x42ef80
push 0x42ef98
call dword [0x42909c]
push eax
call dword [0x42905c]
push dword [ebp - 0x15c]
push dword [ebp - 0x16c]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [ebp - 0x16c]
call dword [0x429060]
mov dword [ebp - 0x174], eax
test eax, eax
je 0x404855
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [ebp - 0x16c]
call dword [0x4290c0]
mov eax, 1
mov dword [ebp - 0x170], 1
cmp ax, word [edi + 6]
ja 0x4047ee
mov ebx, 0x28
nop
lea ecx, [ebx + esi]
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0xe0]
mov eax, dword [ecx + 0xe4]
add eax, esi
push eax
mov eax, dword [ecx + 0xdc]
add eax, dword [ebp - 0x174]
push eax
push dword [ebp - 0x16c]
call dword [0x4290c0]
mov ecx, dword [ebp - 0x170]
lea ebx, [ebx + 0x28]
movzx eax, word [edi + 6]
inc ecx
mov dword [ebp - 0x170], ecx
cmp ecx, eax
jle 0x4047a0
mov ebx, dword [ebp - 0x178]
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x16c]
call dword [0x4290c0]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0x174]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x168]
call dword [0x42907c]
push dword [ebp - 0x168]
call dword [0x4290a4]
push 0x8000
push 0
push esi
call dword [0x4290b8]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041577c
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push esi
call dword [0x4290b8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041577c
mov esp, ebp
pop ebp
ret
Function at 0x10026630
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
test edi, edi
jne 0x1002664e
pop edi
pop esi
pop ebp
mov eax, 0x80004003
pop ebx
add esp, 0x24
ret 0xc
mov esi, dword [esp + 0x38]
lea eax, [esi - 0xc]
test eax, eax
je 0x1002665e
lea ebx, [esi + 4]
jmp 0x10026660
xor ebx, ebx
push ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, edi
xor ecx, ecx
lea eax, [esp + 0x10]
mov dword [edx], ecx
push eax
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [ecx + 8]
test ebp, ebp
je 0x10026738
mov eax, dword [esp + 0x2c]
lea edx, [ebp - 1]
test edx, eax
jne 0x10026738
cmp dword [esi + 0x44], 1
jne 0x100266bf
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 0x8004020f
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x30]
cmp eax, edx
jge 0x100266df
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 0x80040210
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
add ebx, eax
mov eax, ebx
cdq
idiv ebp
test edx, edx
je 0x100266f4
sub ebp, edx
add ebx, ebp
mov edx, dword [ecx + 0xc]
mov eax, ebx
sub eax, edx
mov dword [esi + 0x34], eax
mov dword [edi + 4], eax
mov eax, dword [ecx]
mov dword [esi + 0x2c], eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
mov dword [esi + 0x38], eax
mov dword [edi + 8], eax
mov ecx, dword [ecx + 0xc]
mov dword [esi + 0x3c], ecx
mov dword [edi + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0x40], 1
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov eax, 0x8004020e
pop ebx
add esp, 0x24
ret 0xc

Function at 0x1002b130
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1002b153
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 8]
push eax
push 0
push esi
push 0x1002b100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x14], eax
push edi
jne 0x1002b17e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, 1
pop esi
pop ecx
ret
Function at 0x10032aba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.10032691
push eax
push esi
push dword [ebp + 8]
call fcn.10032646
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10032681
invalid
Function at 0x417bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54ff61
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [0x5ae774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x21c], 0
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x417c39
mov ecx, dword [ebp + 0xc]
or ecx, 0x8000
mov dword [ebp + 0xc], ecx
xor edx, edx
mov word [ebp - 0x218], dx
push 0x206
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00511290
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x417d80
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x234], eax
push 0x112
lea eax, [ebp - 0x25c]
push eax
call fcn.00415a20
add esp, 8
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x220], ecx
mov dword [ebp - 4], 0
push 0x586400
lea ecx, [ebp - 0x274]
call fcn.00407350
mov dword [ebp - 0x230], eax
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x244]
push eax
call fcn.0045e130
add esp, 4
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x228], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x224]
push ecx
push str.file:_0__line:_1__LastError_2_n
mov ecx, dword [ebp - 0x228]
call fcn.0040e900
mov ecx, eax
call fcn.00425530
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x244]
call fcn.0040d540
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x274]
call fcn.004073e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.004073e0
mov ecx, dword [ebp + 8]
call fcn.0040d350
mov edx, dword [ebp - 0x21c]
or edx, 1
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp + 8]
jmp 0x417da1
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
call fcn.004088f0
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
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.005101e9
mov esp, ebp
pop ebp
ret
Function at 0x418690
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x550140
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x5ae774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
lea ecx, [ebp - 0x14]
call fcn.0040b6d0
push 0x586528
mov eax, dword [ebp + 8]
push eax
call fcn.00431f90
add esp, 8
push eax
lea ecx, [ebp - 0x14]
call fcn.00406760
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x268]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00406820
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0xffffffff
jne 0x41872f
mov dword [ebp - 0x278], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00423e70
mov eax, dword [ebp - 0x278]
jmp 0x41882e
mov dword [ebp - 0x26c], 0
mov edx, dword [ebp - 0x268]
and edx, 0x10
jne 0x41875b
mov eax, dword [ebp - 0x26c]
add eax, dword [ebp - 0x248]
mov dword [ebp - 0x26c], eax
jmp 0x4187e4
push 0x586538
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00435130
add esp, 8
movzx edx, al
test edx, edx
jne 0x4187e4
push 0x586530
lea eax, [ebp - 0x23c]
push eax
call fcn.00435130
add esp, 8
movzx ecx, al
test ecx, ecx
jne 0x4187e4
push 4
lea ecx, [ebp - 0x18]
call fcn.0040b6d0
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00431f90
add esp, 8
push eax
lea ecx, [ebp - 0x18]
call fcn.00406760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00406820
push eax
call fcn.00418690
add esp, 4
add eax, dword [ebp - 0x26c]
mov dword [ebp - 0x26c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00423e70
lea ecx, [ebp - 0x268]
push ecx
mov edx, dword [ebp - 0x270]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x418739
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x26c]
mov dword [ebp - 0x274], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00423e70
mov eax, dword [ebp - 0x274]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005101e9
mov esp, ebp
pop ebp
ret

Function at 0x418850
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x14]
push eax
call fcn.004350d0
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x418897
mov dword [ebp - 4], 1
jmp 0x41889e
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4188b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 4
lea eax, [ebp + 0x14]
push eax
push 4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4188e2
mov dword [ebp - 4], 1
jmp 0x4188e9
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x418bc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5501a8
mov eax, dword fs:[0]
push eax
sub esp, 0xe2c
mov eax, dword [0x5ae774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe38], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0xe1c], 0
lea eax, [ebp + 8]
push eax
mov ecx, 0x5bbd30
call fcn.0040d430
lea ecx, [ebp + 8]
call fcn.004089a0
push eax
call fcn.004322c0
add esp, 4
mov byte [ebp - 0xe15], al
movzx ecx, byte [ebp - 0xe15]
test ecx, ecx
jne 0x418c41
mov dword [ebp - 0xe1c], 1
jmp 0x418d82
push 0xa
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xe20], eax
mov edx, dword [ebp - 0xe20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xe28], eax
mov eax, dword [ebp - 0xe28]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xe2c], eax
mov ecx, dword [ebp - 0xe20]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xe24], eax
lea edx, [ebp - 0xe14]
push edx
mov eax, dword [ebp - 0xe24]
push eax
mov ecx, dword [ebp - 0xe2c]
push ecx
call fcn.004325f0
add esp, 0xc
mov byte [ebp - 0xe15], al
lea edx, [ebp - 0xe14]
push edx
call fcn.00417a30
add esp, 4
mov byte [ebp - 0xe15], al
movzx eax, byte [ebp - 0xe15]
test eax, eax
jne 0x418ce9
mov dword [ebp - 0xe1c], 2
jmp 0x418d82
call fcn.004184e0
push 1
call fcn.00418110
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x418d1c
push 0
call fcn.00418110
add esp, 4
movzx edx, al
test edx, edx
jne 0x418d1c
mov dword [ebp - 0xe1c], 3
jmp 0x418d82
push 1
call fcn.00418370
add esp, 4
movzx eax, al
test eax, eax
jne 0x418d4a
push 0
call fcn.00418370
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x418d4a
mov dword [ebp - 0xe1c], 4
jmp 0x418d82
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe30], esp
lea edx, [ebp + 8]
push edx
call fcn.0040d2f0
mov dword [ebp - 0xe34], eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004189b0
add esp, 0x1c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408980
jmp 0x418db4
cmp dword [ebp - 0xe1c], 1
je 0x418d94
cmp dword [ebp - 0xe1c], 2
jne 0x418da5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408980
jmp 0x418db4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00408980
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005101e9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41fb70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5510f8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5ae774]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
push 0x588548
lea ecx, [ebp - 0x34]
call fcn.004088f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00457d10
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x41fc31
push 0xc
lea ecx, [ebp - 0x1c]
call fcn.0040b6d0
lea ecx, [ebp - 0x1c]
call fcn.00407470
mov byte [ebp - 4], 1
push 0x588538
lea ecx, [ebp - 0x5c]
call fcn.004088f0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00423be0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00408980
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x44], esp
lea eax, [ebp - 0x1c]
push eax
call fcn.00423af0
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00457950
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423d00
jmp 0x41fc38
mov byte [0x5bb4a0], 1
call fcn.00417210
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]