joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001920
Capabilities:
Create process on windows
Enumerate gui resources

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
je 0x10001a0d
mov eax, esi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10001937
sub eax, edi
sar eax, 1
je 0x10001a0d
xor eax, eax
mov dword [esp + 0x20], 0x44
mov word [esp + 0x62], ax
xorps xmm0, xmm0
mov word [esp + 0x50], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
movlpd qword [esp + 0x28], xmm0
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
push esi
push 0
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x7a], xmm0
movlpd qword [esp + 0x82], xmm0
mov dword [esp + 0x74], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10001a0d
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
cmp dword [esp + 0x6c], 0
je 0x100019ef
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
push 0
push 0x10001890
call esi
test eax, eax
jne 0x100019d4
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
pop edi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x1001808e
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10017bdb

Function at 0x1001d67b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1001d4f1
Function at 0x100072c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10026010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x16
push str.:Program_Files__x86__
lea ebx, [esi + 2]
push ebx
call fcn.1000e1a6
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
test eax, eax
jne 0x1000731a
push esi
call edi
cmp eax, 0xffffffff
jne 0x10007392
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10009570
lea eax, [esi + 0x2e]
jmp 0x1000734c
push 0x13
push str.:WindowsSysWoW64_
push ebx
call fcn.1000e1a6
add esp, 0xc
test eax, eax
jne 0x10007392
push esi
call edi
cmp eax, 0xffffffff
jne 0x10007392
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.10009570
lea eax, [esi + 0x28]
push eax
movzx eax, word [esi]
push str.:Program_Files_
push eax
lea eax, [ebp - 0x20c]
push str._c_s_s
push eax
call fcn.10004ea0
add esp, 0x20
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x1000738d
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push esi
call fcn.1000dc64
add esp, 0xc
jmp 0x10007392
xor eax, eax
mov word [esi], ax
push esi
call edi
cmp eax, 0xffffffff
jne 0x1000739f
xor eax, eax
mov word [esi], ax
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10007a97
mov esp, ebp
pop ebp
ret 8
Function at 0x10007680
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10026010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov dword [ebp - 0x74], ebx
mov dword [ebx], 1
mov dword [ebx + 4], 1
mov dword [ebx + 0x24], 0
mov byte [ebx + 0x29], 0
call fcn.1000e3f3
push eax
call fcn.1000e3e1
call fcn.1000e3c0
and eax, 0x80000001
jns 0x100076ce
dec eax
or eax, 0xfffffffe
inc eax
add eax, 2
mov dword [ebx + 8], eax
call fcn.1000e3c0
and eax, 0x80000003
jns 0x100076e5
dec eax
or eax, 0xfffffffc
inc eax
add eax, 5
mov dword [ebx + 0x10], eax
call fcn.1000e3c0
and eax, 0x80000003
jns 0x100076fc
dec eax
or eax, 0xfffffffc
inc eax
add eax, 5
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x18], eax
call fcn.1000e3c0
cdq
mov ecx, 0x2a
idiv ecx
add edx, 3
mov dword [ebx + 0x20], edx
call fcn.1000e3c0
cdq
mov ecx, 0x514
idiv ecx
add edx, 0x6a4
mov dword [ebx + 0x1c], edx
call fcn.1000e3c0
cdq
mov ecx, 0x64
idiv ecx
mov esi, dword [sym.imp.HardwareLib.dll_DebugStringW]
xor edi, edi
sub edx, 0x32
mov dword [ebp - 0x6c], 0x2800
mov dword [ebx + 0x14], edx
xor ebx, ebx
push str.CTempAdjuster::checkifvmware_enter
call esi
add esp, 0xc
push dword [ebp - 0x6c]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x10007857
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10007846
push 0x64
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10009570
mov esi, dword [ebp - 0x70]
add esp, 0xc
nop dword [eax + eax]
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x68]
push str._02X_02X_02X_02X_02X_02X
push eax
call fcn.10007a70
lea eax, [ebp - 0x68]
push eax
push str.CTempAdjuster::checkifvmware_mac_s
call dword [sym.imp.HardwareLib.dll_DebugStringW]
push 6
lea eax, [ebp - 0x68]
push str.000569
push eax
call fcn.1000e1a6
add esp, 0x34
test eax, eax
jne 0x10007805
inc edi
push 6
lea eax, [ebp - 0x68]
push str.000C29
push eax
call fcn.1000e1a6
add esp, 0xc
test eax, eax
jne 0x1000781d
inc edi
push 6
lea eax, [ebp - 0x68]
push str.005056
push eax
call fcn.1000e1a6
add esp, 0xc
test eax, eax
jne 0x10007835
inc edi
mov esi, dword [esi]
inc ebx
test esi, esi
jne 0x100077a0
mov esi, dword [sym.imp.HardwareLib.dll_DebugStringW]
push dword [ebp - 0x70]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test ebx, ebx
je 0x1000785b
cmp ebx, edi
jne 0x1000785b
mov al, 1
jmp 0x1000785d
xor al, al
mov edi, dword [ebp - 0x74]
test al, al
mov edx, 0x100237b8
mov ecx, 0x100237b0
cmove ecx, edx
push ecx
push str.CTempAdjuster::CTempAdjuster_m_isvmware_s
mov byte [edi + 0x28], al
call esi
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10007a97
mov esp, ebp
pop ebp
ret
Function at 0x10010926
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10010693
dec ebx
and ch, byte [ebx + 5]
lea eax, [ebp - 0x58]
push eax
call fcn.100106a3
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10010981
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10010693
js 0x10010a11
mov eax, dword [0xc0458dc3]
push eax
call fcn.100106a3
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10010693
imul esi, dword [ebx + 0x458dada2], 0xffffffe8
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
in eax, dx
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.100106a3
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
Function at 0x10010a68
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.10010693
dec ebx
and ch, byte [ebx + 5]
lea eax, [ebp - 0x58]
push eax
call fcn.100106a3
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x10010981
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10010693
js 0x10010a11
mov eax, dword [0xc0458dc3]
push eax
call fcn.100106a3
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10010693
imul esi, dword [ebx + 0x458dada2], 0xffffffe8
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
in eax, dx
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.100106a3
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
Function at 0x10010a82
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100106a3
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
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.100106a3
push eax
push esi
push dword [ebp + 8]
call fcn.10010658
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.10010693
mov ebp, 0x88f9301e
popfd
jl 0x10010b18
invalid
invalid
Function at 0x10010cff
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10010d47
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x10010d42
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10010d2c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10010d34
cmp edx, ebx
jne 0x10010e82
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x10010d03
add eax, dword [eax + 4]
jmp 0x10010cf0
mov dword [ebp + 0xc], ebx
jmp 0x10010d52
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10010d6a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10010d88
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10010de6
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10010dcd
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10010dd6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x10010de0
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x10010dc2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10010d4c
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x10010e33
dec eax
je 0x10010e2a
sub eax, 3
je 0x10010e21
mov dword [ebp - 4], 0x40
jmp 0x10010e50
mov dword [ebp - 4], 4
jmp 0x10010e36
mov dword [ebp - 4], 0x20
jmp 0x10010e36
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x10010e82
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x10010e02
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10010693
sbb dword [ebx], 0x75ffc3d3
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x10010e8e
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011370
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x398], 0
je 0x10011551
cmp dword [ebp + 0xc], 1
je 0x10011551
cmp dword [ebp + 0xc], 8
jne 0x10011519
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
mov byte [ebp - 0x6a2], 0x64
lea eax, [ebp - 0x6b8]
push eax
call fcn.100106a3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10010658
add esp, 0xc
invalid
invalid
invalid
Function at 0x407cc1
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x416004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x407d0c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00407e60
test al, al
jne 0x407d06
sub edx, 2
cmp edx, edi
jne 0x407cec
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x407d2e
lea eax, [edi + 2]
cmp edx, eax
je 0x407d2e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00407c0d
add esp, 0x10
jmp 0x407e28
push esi
lea ecx, [ebp - 0x255]
call fcn.00407e60
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x407d71
push dword [ebp - 0x25c]
jmp 0x407d1e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x407dae
cmp word [ebp - 0x226], 0
je 0x407dcf
cmp word [ebp - 0x226], ax
jne 0x407dae
cmp word [ebp - 0x224], 0
je 0x407dcf
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00407c0d
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x407e1b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x407d88
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x407e03
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x407e28
push 0x407a3d
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0040a7c0
add esp, 0x10
jmp 0x407df8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e73
leave
ret

Function at 0x409728
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411124
push 0x41111c
push str.FlsAlloc
push 0x1e
call fcn.00409665
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40975c
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f150]
call esi
jmp 0x409762
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4097a6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411134
push 0x41112c
push str.FlsGetValue
push 0x20
call fcn.00409665
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4097dd
push dword [ebp + 8]
mov ecx, esi
call dword [0x40f150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
mov esi, 0x75a26b8a
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5eab07ff
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x401990
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
jmp 0x4019a8
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [0x448ea8]
shr ecx, 1
cmp dword [ebp - 8], ecx
jae 0x401a41
mov dword [ebp - 0x14], 0x86936
mov dword [ebp - 0x14], 0x86936
mov dword [ebp - 4], 0x1008
mov edx, dword [ebp - 8]
mov eax, dword [0x448e84]
movzx ecx, word [eax + edx*2]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
shr edx, 0xc
cmp edx, 3
jne 0x401a3c
mov dword [ebp - 0x14], 0x86936
mov dword [ebp - 0x14], 0x86936
mov eax, dword [ebp - 4]
sub eax, 9
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
jne 0x401a1d
push 0x11a0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x401a1d
xor eax, eax
jmp 0x401a41
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + eax]
add ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
add eax, dword [edx]
mov edx, dword [ebp - 0x14]
mov dword [eax + edx], ecx
jmp 0x40199f
mov esp, ebp
pop ebp
ret
Function at 0x408b70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push str.AppID
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x408be3
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x408bb1
cmp eax, 2
jne 0x408bcd
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x408bdd
test ecx, ecx
je 0x408bd8
test cl, 1
jne 0x408bcd
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x408bdd
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5b8011ae
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x21e14e49
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
popal
nop
nop
nop
nop
nop
jmp 0x401219

Function at 0x9536ec
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x9536f2
pop ebp
sub ebp, 6
sub ebp, 0x5536ec
jmp 0x953750
jmp 0x953759
mov eax, 0x5536ec
add eax, ebp
add eax, 0x93
mov ecx, 0x5ad
mov edx, 0x45a1b8c7
xor byte [eax], dl
inc eax
dec ecx
jne 0x953770
jmp 0x953783
dec esp
or cl, byte [esi + ecx*2 - 5]
mov edi, 0x3f0646c7
mov edi, 0x7f0ac4c7
ret
Function at 0x403b48
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403b87
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403b87
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403b87
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403b87
cmp dword [ecx + 0x74], 0xe
jbe 0x403b87
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret