joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404255
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
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.00403eff
sub al, 0x5f
not bl
lea eax, [ebp - 0x40]
push eax
call fcn.00403f0f
push eax
push esi
push dword [ebp + 8]
call fcn.00403ec4
add esp, 0x10
les edx, [eax]
mov dword [ebp - 0x88], eax
call fcn.00403eff
loop 0x4042b4
fisubr dword [ebp + ecx*4 + 0x5d88e845]
call 0xe99dcac0
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
invalid
inc ebp
out dx, al

Function at 0x4045c6
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4045d6
invalid
jnp 0x3f9261
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x4045f4
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
invalid

Function at 0x404646
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x404639
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x404642
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40464c
invalid
add eax, 0x980c803
add al, 0x40
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40462e
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
dec eax
push es
jbe 0x4045b8
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 0x40469f
dec eax
je 0x404696
sub eax, 3
je 0x40468d
mov dword [ebp - 4], 0x40
jmp 0x4046bc
mov dword [ebp - 4], 4
jmp 0x4046a2
mov dword [ebp - 4], 0x20
jmp 0x4046a2
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 0x4046ee
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40466e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00403eff
jmp 0xff8aa638
Function at 0x404bb5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [ebp - 0x3337b], cl
call dword [eax - 1]
jne 0x404bc8
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x404bf3
push 0xc6fffffc
test dword [edx + edi*8 - 0x7cfe0001], edi
mov ebp, 0xfffffc68
add byte [edi + edx - 0x7d], dh
mov ebp, 0xfffffc68
add byte [edi], cl
test ah, dl
add dword [eax], eax
add byte [ebx + 0xf010c7d], al
test dl, cl
add dword [eax], eax
add byte [ebx + 0xf080c7d], al
test dword [eax - 0x7fffffff], ecx
movsd dword es:[edi], dword [esi]
dec eax
stc
invalid
cmp dword [ebp - 0x398], 0
je 0x404dbd
cmp dword [ebp + 0xc], 1
je 0x404dbd
cmp dword [ebp + 0xc], 8
jne 0x404d85
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
stc
invalid
dec dword [ebx]
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.00403f0f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00403ec4
add esp, 0xc
mov dword [ebp - 0x690], eax
mov byte [ebp - 0x6a0], 0x8b
or byte [ebp - 0x69f], 0xff
mov byte [ebp - 0x69e], 0x55
mov byte [ebp - 0x69d], 0x8b
mov byte [ebp - 0x69c], 0xec
lea eax, [ebp - 0x694]
push eax
push 5
lea eax, [ebp - 0x6a0]
push eax
push dword [ebp - 0x33c]
push 0xffffffffffffffff
call dword [ebp - 0x690]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x6bc], eax
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x698], eax
call fcn.00403eff
pushfd
int3
call fcn.00403eff
invalid
invalid
Function at 0x4058b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp dword [ebp - 0x6fc], 0
jne 0x405a7a
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov al, 0xf8
invalid
dec dword [eax - 0x74e7a3a]
invalid
dec dword [ecx - 0x74d7a3a]
invalid
dec dword [ebp - 0x74c7a3a]
invalid
call ebp
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.00403f0f
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.00403f0f
pop ecx
push eax
invalid
test esp, edi
cli

Function at 0x40a47d
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
mov edi, dword [esp + 0x18]
mov eax, ebx
and eax, edi
mov esi, ecx
test al, 1
je 0x40a4a5
push 0x10
call ebp
test ax, ax
jl 0x40a4a5
and ebx, 0xfffffffe
mov eax, ebx
and eax, edi
test al, 2
je 0x40a4b9
push 0x11
call ebp
test ax, ax
jl 0x40a4b9
and ebx, 0xfffffffd
mov eax, ebx
and eax, edi
test al, 4
je 0x40a4cd
push 0x12
call ebp
test ax, ax
jl 0x40a4cd
and ebx, 0xfffffffb
push 6
pop edi
test bl, 1
je 0x40a4ec
push edi
push 0x10
mov ecx, esi
call fcn.0040a098
push edi
push 0xa1
mov ecx, esi
call fcn.0040a098
test bl, 2
je 0x40a508
push edi
push 0x11
mov ecx, esi
call fcn.0040a098
push edi
push 0xa3
mov ecx, esi
call fcn.0040a098
test bl, 4
je 0x40a533
test bl, 3
jne 0x40a51c
push edi
push 0x11
mov ecx, esi
call fcn.0040a098
push edi
push 0x12
mov ecx, esi
call fcn.0040a098
push edi
push 0xa5
mov ecx, esi
call fcn.0040a098
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x40aa71
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 0xc], 0
push esi
push edi
mov esi, ecx
jne 0x40ab39
mov eax, 0x80
cmp word [ebp + 8], ax
jae 0x40ab39
cmp byte [ebp + 0x10], 0
jne 0x40aab6
cmp byte [esi + 0xd], 0
jne 0x40aaac
call sym.qmmacro.exe_GetMod
test eax, eax
setne al
inc al
mov byte [esi + 0xd], al
cmp byte [esi + 0xd], 2
je 0x40ab39
cmp dword [esi + 8], 0
jne 0x40aac4
call fcn.00409428
mov dword [esi + 8], eax
push dword [esi + 8]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_VkKeyScanExW]
movzx edi, ax
cmp di, 0xffff
je 0x40ab39
push ebx
mov ebx, edi
shr ebx, 8
and bl, 7
mov byte [ebp + 0xc], bl
cmp bl, 1
ja 0x40ab1e
movzx eax, byte [ebp + 8]
mov ecx, 0x103
test word [eax*2 + 0x4634c0], cx
je 0x40ab1e
cmp byte [esi + 0xc], 0
jne 0x40ab12
push 0x14
call dword [sym.imp.USER32.dll_GetKeyState]
and al, 1
inc al
mov byte [esi + 0xc], al
cmp byte [esi + 0xc], 2
jne 0x40ab1e
xor bl, 1
mov byte [ebp + 0xc], bl
xor eax, eax
cmp bl, 1
setne al
mov ecx, esi
dec eax
and eax, 2
push eax
push edi
push dword [ebp + 0xc]
call fcn.0040a2e3
pop ebx
jmp 0x40ab4c
movzx eax, word [ebp + 8]
push 0
or eax, 0x40000
push eax
mov ecx, esi
call fcn.0040a098
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x425e98
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
and eax, 1
push esi
mov dword [esp + 4], eax
je 0x425eae
call fcn.00434105
jmp 0x425eb4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x425f21
push ebx
push ebp
push edi
call fcn.00402a6f
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call edi
mov ebp, eax
xor esi, esi
cmp ebx, esi
je 0x425eee
test byte [esp + 0x1c], 2
push esi
pop eax
setne al
mov ecx, ebx
lea eax, [eax + eax - 1]
push eax
push 0xa
call fcn.00425da1
jmp 0x425efb
push esi
push esi
push esi
push 0xa
call fcn.0042fe15
add esp, 0x10
cmp dword [esp + 0x10], esi
je 0x425f08
call fcn.00434105
jmp 0x425f0e
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
test esi, esi
jne 0x425f1e
call edi
sub eax, ebp
cmp eax, dword [esp + 0x18]
jb 0x425ece
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret

Function at 0x425fbd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], ecx
call edi
mov ecx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
call fcn.004257e7
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp ebx, esi
jne 0x426041
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, bl
push ebx
call esi
mov byte [ebp + 0x13], al
jmp 0x426026
push ebx
call esi
cmp al, byte [ebp + 0x13]
je 0x426009
test al, al
jns 0x426039
mov byte [ebp + 0x13], al
cmp dword [ebp + 8], 0xffffffff
je 0x426026
call edi
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jb 0x426026
mov ecx, dword [ebp - 8]
push 0x21c
call fcn.0040570a
mov ecx, dword [ebp - 8]
push 5
call fcn.004056f4
test al, al
jne 0x425ffa
jmp 0x426104
mov eax, dword [ebp + 0xc]
jmp 0x42610a
cmp dword [ebp + 0xc], esi
push 5
pop edi
mov dword [ebp - 4], edi
jg 0x426062
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov byte [ebp + ebx - 0x10c], al
inc ebx
cmp ebx, esi
jle 0x42604c
push edi
jmp 0x4260f4
call fcn.0043a4ed
mov ebx, dword [ebp + 0xc]
mov esi, eax
mov edi, edx
jmp 0x426097
cmp ebx, 3
je 0x426096
movzx eax, bl
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [ebp + ebx - 0x10c]
cmp al, byte [ecx]
je 0x426096
test al, al
jns 0x426108
mov byte [ecx], al
inc ebx
cmp ebx, dword [ebp + 0x10]
jle 0x426076
call fcn.0043a4ed
push 0
push dword [ebp - 4]
sub eax, esi
sbb edx, edi
push edx
push eax
call fcn.0044d360
test edx, edx
jl 0x4260c7
jg 0x4260bc
cmp eax, 0xa
jbe 0x4260c7
cmp dword [ebp - 4], 0x32
jae 0x4260d0
inc dword [ebp - 4]
jmp 0x4260d0
cmp dword [ebp - 4], 5
jbe 0x4260d0
dec dword [ebp - 4]
cmp dword [ebp + 8], 0xffffffff
je 0x4260f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jb 0x4260f1
mov ecx, dword [ebp - 8]
push 0x21c
call fcn.0040570a
push dword [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.004056f4
test al, al
jne 0x426068
xor eax, eax
jmp 0x42610a
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x427bb0
Capabilities:
Get explorer pid

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 8]
call fcn.00434188
pop ecx
test eax, 0xc00000
je 0x427bc8
xor al, al
leave
ret
push esi
push dword [0x461e2c]
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
jne 0x427bf2
call dword [sym.imp.USER32.dll_GetShellWindow]
push 0x461e28
push eax
mov dword [0x461e2c], eax
call esi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp ecx, dword [0x461e28]
pop esi
sete al
leave
ret

Function at 0x42d2b4
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x24]
call fcn.00404255
mov ecx, esi
call fcn.0042cefc
test al, al
je 0x42d2e4
test byte [esi + 4], 2
jne 0x42d2d6
call dword [sym.imp.ole32.dll_OleUninitialize]
push 0
push dword [0x461fa4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test esi, esi
je 0x42d2f1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
pop esi
ret

Function at 0x42d2f3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push dword [0x461fa4]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42d30a
mov ecx, eax
jmp fcn.0042d272
ret

Function at 0x42d4be
Capabilities:
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
cmp dword [edi], 0
jne 0x42d4ff
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
push 2
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0xc], eax
pop ebx
push esi
push dword [0x461fa4]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x42ce66
call sub.msvcrt.dll_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS_____cdecl__set_se_translator_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS___
test byte [esi + 4], 2
pop ecx
jne 0x42d525
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or byte [esi + 5], 1
pop edi
pop esi
ret

Function at 0x42d5a0
Capabilities:
Create thread
Resume thread

Disassembly:
mov ecx, dword [0x461e9c]
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 4]
mov esi, eax
lea eax, [esi + 0xc]
push eax
push 4
push esi
push 0x42d57d
push 0
push 0
call sub.msvcrt.dll__beginthreadex
mov edi, eax
add esp, 0x18
test edi, edi
je 0x42d5f3
push edi
push dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0042d248
test byte [esp + 0x14], 4
jne 0x42d5ef
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
jmp 0x42d602
test esi, esi
je 0x42d600
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
ret
Function at 0x436624
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ebp, dword [esp + 0xc]
mov dword [esi + 4], eax
test ebp, ebp
je 0x43667c
push eax
call fcn.0043447d
pop ecx
test al, al
jne 0x43667c
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 2
mov dword [esi], ebp
call edi
movzx ebx, ax
push 1
shl ebx, 0x10
call edi
movzx eax, ax
push 0x436569
push 0x32
or eax, ebx
push esi
and eax, 0x10001
push ebp
mov dword [esi + 8], eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
jmp 0x436683
and dword [esi], 0
and dword [esi + 8], 0
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x436894
Capabilities:
Clear file content

Disassembly:
mov eax, 0x44f7b2
call fcn.0044d07c
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x18]
call fcn.00401978
xor ebx, ebx
mov dword [ebp - 4], ebx
test dword [ebp + 0x14], 0x300
mov esi, dword [ebp + 0xc]
setne byte [ebp - 0xd]
cmp esi, ebx
jne 0x4368ce
test byte [ebp + 0x14], 4
mov byte [ebp + 0xc], bl
je 0x4368d2
mov byte [ebp + 0xc], 1
push ebx
lea ecx, [ebp - 0x18]
push ebx
cmp byte [ebp - 0xd], bl
je 0x4368e9
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00436128
jmp 0x4368fe
xor eax, eax
cmp byte [ebp + 0xc], bl
setne al
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
call fcn.0043610b
test eax, eax
setne al
cmp al, bl
jne 0x436926
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004019a2
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
cmp esi, ebx
je 0x43694d
cmp esi, 0xffffffff
jne 0x436935
push 2
push ebx
push ebx
jmp 0x436938
push ebx
push ebx
push esi
push dword [ebp - 0x18]
call fcn.00430d87
add esp, 0x10
cmp edx, ebx
jg 0x43694d
jl 0x436907
cmp eax, ebx
jb 0x436907
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jbe 0x436959
mov ecx, eax
cmp ecx, ebx
je 0x43696c
push ecx
push dword [edi]
lea ecx, [ebp - 0x18]
call fcn.00435a29
test al, al
je 0x436907
mov eax, dword [ebp + 0x14]
test al, 1
je 0x436989
push 2
push 0x451ebc
lea ecx, [ebp - 0x18]
call fcn.00435a29
test al, al
je 0x436907
mov eax, dword [ebp + 0x14]
test al, 2
je 0x43699e
cmp byte [ebp + 0xc], bl
je 0x43699e
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp + 0x14]
cmp byte [ebp - 0xd], bl
je 0x4369cb
shr eax, 9
and al, 1
movzx eax, al
push eax
lea ecx, [ebp - 0x18]
call fcn.004361a6
test al, al
jne 0x4369cb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004019a2
mov al, bl
jmp 0x436915
mov bl, 1
jmp 0x4369b8
Function at 0x44db40
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x44db53
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x44db4f
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x44db70
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x44dbaf
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x44dba5
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x44dbb1
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x44db95
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
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
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2ec435f1
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x6e801813
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x100052e0
Capabilities:
Check os version
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x100370b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push str.IsWow64Process
push 0x1002c888
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleA]
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov edi, eax
mov dword [esi + 0x2c], 0
lea ebx, [esi + 0x2c]
test edi, edi
je 0x1000532a
push ebx
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
push eax
call edi
lea eax, [ebp - 0xa0]
mov dword [esi], 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x100054c2
mov edx, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x94]
mov dword [esi], edx
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
cmp edx, 5
jne 0x100053fe
test ecx, ecx
jne 0x100053e2
mov dword [esi + 0xc], 1
jmp 0x1000544c
cmp ecx, 1
jne 0x100053ec
mov dword [esi + 0x10], ecx
jmp 0x1000544c
cmp ecx, 2
jne 0x100054c2
mov dword [esi + 0x14], 1
jmp 0x1000544c
cmp edx, 6
jne 0x1000543b
test ecx, ecx
jne 0x10005410
mov dword [esi + 0x18], 1
jmp 0x1000544c
cmp ecx, 1
jne 0x1000541a
mov dword [esi + 0x1c], ecx
jmp 0x1000544c
cmp ecx, 2
jne 0x10005428
mov dword [esi + 0x20], 1
jmp 0x1000544c
cmp ecx, 3
jne 0x10005436
mov dword [esi + 0x24], 1
jmp 0x1000544c
cmp ecx, 4
jmp 0x10005443
cmp edx, 7
jae 0x10005445
cmp edx, 0xa
jne 0x100054c2
mov dword [esi + 0x28], 1
mov al, byte [ebp - 6]
cmp al, 3
je 0x10005457
cmp al, 2
jne 0x1000545e
mov dword [esi + 0x30], 1
cmp dword [esi + 0x14], 0
je 0x1000547d
cmp dword [esi + 0x30], 0
jne 0x1000547d
cmp dword [ebx], 0
je 0x1000547d
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 1
movzx eax, word [ebp - 0xc]
mov dword [esi + 0x38], eax
movzx eax, word [ebp - 0xa]
push 0x57
mov dword [esi + 0x3c], eax
call dword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
mov dword [esi + 0x34], eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetSystemDefaultLangID]
mov word [esi + 0x40], ax
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetUserDefaultLangID]
pop edi
mov word [esi + 0x42], ax
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100142a9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100142a9
mov esp, ebp
pop ebp
ret 4
Function at 0x10007130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push dword [0x10037024]
mov esi, ecx
push 0x80000001
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExA]
test eax, eax
jne 0x10007187
push 4
lea eax, [esi + 0x38]
push eax
push 4
push 0
push str.m_nSampleRate
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10008990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test eax, eax
je 0x100089eb
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100089eb
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100089da
cmp esi, edx
jae 0x100089eb
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100089c8
cmp esi, edx
jae 0x100089eb
cmp word [esi], 0
je 0x100089eb
mov eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
pop esi
pop ebp
ret 0xc