joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4290ad
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x5befdc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x128
xor edi, edi
push edi
push esi
call fcn.00544e70
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.0054c994
push eax
call fcn.0040da57
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x574174]
je 0x429217
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x42922b
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x42922b
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x429146
mov eax, edi
jmp 0x429175
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x429163
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00428e52
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x42916c
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042936d
test eax, eax
je 0x42919a
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.00428cde
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x42919e
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042936d
test eax, eax
je 0x4291c5
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.00428cde
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x4291c9
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0042936d
test eax, eax
je 0x4291f1
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.00428cde
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x4291f3
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x429205
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x429217
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005436cb
leave
ret 4
xor eax, eax
jmp 0x42921a
Function at 0x42d357
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041871f
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42d393
call fcn.0042d572
mov dword [esi + 0xc], 1
jmp 0x42d398
call fcn.0042d572
cmp dword [esi], 0
je 0x42d3e1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42d3bb
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004137f4
jmp 0x42d3cc
push 0xff
mov ecx, esi
call fcn.0040e7ab
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040fd77
jmp 0x42d405
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x42d405
push dword [esi]
push dword [ebp - 4]
call fcn.00418cb5
pop esi
leave
ret 0xc

Function at 0x42d4c9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0042d572
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42d511
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004137f4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040fd77
jmp 0x42d51c
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00418cb5
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4402ec
Capabilities:
Get file system object information

Disassembly:
push 0x394
mov eax, 0x56367a
call fcn.00543992
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x3a0], edi
test ecx, ecx
je 0x440483
mov eax, dword [ebp + 0x10]
xor esi, esi
sub eax, esi
je 0x440455
sub eax, 1
je 0x44036b
sub eax, 1
je 0x440343
sub eax, 1
je 0x44036b
push 0x5724f1
mov ecx, edi
call fcn.0040d3d6
mov eax, edi
call fcn.0054393c
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x44032d
lea eax, [ebp - 0x28c]
push eax
jmp 0x440332
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x44032d
push esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], esi
push eax
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], esi
call fcn.0042922f
test eax, eax
je 0x44032d
call fcn.0041ad3a
push eax
lea ecx, [ebp - 0x3a0]
call fcn.0040d32d
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x44040b
test byte [ebp - 0x21c], 0x18
jne 0x44042d
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x224]
call dword [0x56f9e0]
mov ecx, ebx
call esi
jmp 0x44042d
mov eax, dword [ebx]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x56f9e0]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.0040dd8d
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.0040ec0b
jmp 0x440339
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x44032d
lea eax, [ebp - 0x390]
jmp 0x440368
call fcn.00410d82
int3

Function at 0x440616
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.0048f0c4
call fcn.0041154c
cmp dword [eax + 0x14], 0
jne 0x440631
mov ecx, esi
pop esi
jmp fcn.0043f93b
pop esi
ret

Function at 0x441501
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00409d80
call fcn.0041154c
cmp dword [eax + 0x14], 0
jne 0x44151c
mov ecx, esi
pop esi
jmp fcn.00440d77
pop esi
ret
Function at 0x44a147
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x44a160
call fcn.004114f8
mov esi, dword [eax + 0xc]
push 0x57a5b8
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x44a1a2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44a1a2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x44a1a2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0044a1ab
jmp 0x44a1a4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x471452
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x4715e5
je 0x47160b
cmp eax, 0xa1
jb 0x471649
cmp eax, 0xa2
jbe 0x47160b
cmp eax, 0xa3
jbe 0x471649
cmp eax, 0xa5
jbe 0x47160b
cmp eax, 0xa6
jbe 0x471649
cmp eax, 0xa8
jbe 0x47160b
cmp eax, 0x100
jne 0x471649
cmp dword [edi + 0xc0], 0xffffffff
je 0x47160b
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x47160b
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x47153a
sub eax, 1
jne 0x47160b
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x471529
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x56f9e0]
mov ecx, edi
call esi
test eax, eax
jne 0x471586
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x4714ff
jmp 0x471663
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x471663
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x56f9e0]
mov ecx, edi
call esi
test eax, eax
jne 0x471586
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x471551
jmp 0x471663
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x56f9e0]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x56f9e0]
mov ecx, edi
call esi
mov ecx, eax
call fcn.00418a31
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x56f9e0]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x471663
cmp eax, 0x200
jb 0x471649
cmp eax, 0x202
jbe 0x47160b
cmp eax, 0x203
jbe 0x471649
cmp eax, 0x205
jbe 0x47160b
add eax, 0xfffffdf9
cmp eax, 1
ja 0x471649
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x47162a
cmp dword [eax + 0x20], ebx
je 0x47162a
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x471649
cmp dword [eax + 0x20], ebx
je 0x471649
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esi + 4], 0x203
jne 0x471668
lea eax, [edi + 0x2250]
test eax, eax
je 0x47165f
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x471668
xor eax, eax
inc eax
jmp 0x471670
push esi
mov ecx, edi
call fcn.0046952a
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x48f77e
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5befdc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x48f7ad
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x48f7da
cmp dword [0x5d1894], 0
jne 0x48f7da
lea eax, [esi - 0x41]
cmp eax, 0x19
jbe 0x48f7d6
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jb 0x48f7d6
push esi
call fcn.005537d3
pop ecx
jmp 0x48f847
mov eax, esi
jmp 0x48f847
xor eax, eax
mov word [ebp - 0x10c], ax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.0040cba5
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push esi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005436cb
leave
ret 4
Function at 0x4f3e09
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x4f3ebd
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x4f3eb9
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4f3eb9
cmp dword [ebx], eax
jne 0x4f3eb9
mov eax, dword [ebx + 4]
sub eax, 1
je 0x4f3e88
sub eax, 1
je 0x4f3e56
sub eax, 1
jne 0x4f3eb9
mov edi, 0x428e
jmp 0x4f3e8d
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x4f3e8d
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x56f9e0]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x4f3e8d
add edi, 3
jmp 0x4f3e8d
mov edi, 0x3ea0
push edi
call fcn.0041a9d1
test eax, eax
je 0x4f3ebd
push edi
push eax
mov ecx, 0x5d2d78
call fcn.0040e575
test eax, eax
je 0x4f3ebd
mov eax, dword [0x5d2d78]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x4f3eb2
call fcn.00410d82
int3

Function at 0x4fdcc0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.00553803
pop ecx
test eax, eax
jne 0x4fdd02
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040ffa7
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4fdcc8
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
leave
ret

Function at 0x5052ae
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 8
mov eax, 0x56300c
call fcn.0054395e
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x50538e
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x50538e
cmp edi, 0x43
je 0x5052f3
cmp edi, 0x2d
jne 0x50538e
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x50538e
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.0041ad3a
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d32d
movzx eax, byte [esi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 0xe5]
push eax
movzx eax, byte [esi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.0040e1a4
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
inc eax
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0040ec0b
mov esi, dword [ebp - 0x14]
push ebx
mov ecx, esi
call fcn.0050271e
call fcn.00543927
ret 4
Function at 0x4066a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x42e73b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x4045c4
call fcn.0040788b
push 4
mov dword [esp + 0x18], 0
call fcn.004089a4
mov edi, eax
add esp, 4
test edi, edi
je 0x406714
push ebx
call fcn.00407686
mov dword [edi], eax
call fcn.00407445
push 0
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.0040784c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x406708
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0xc]
call fcn.00407874
pop ebx
jmp 0x406716
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x40957b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431354]
jne 0x409585
repz ret
jmp fcn.0040dbcc
Function at 0xe4d096
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor eax, 0xb0f4ae0
jmp 0xf3f18f
inc eax
ror eax, 2
stc
cmc
sub eax, 0x690698
stc
rol eax, 1
stc
add eax, 0x22e17ecb
clc
rol eax, 1
stc
jmp 0xd90d9b
lea esi, [esi + 4]
cmp ecx, esi
stc
cmp ebp, 0x5e725d97
xor eax, ebx
jmp 0xdd4677
push ecx
push edx
push eax
mov ah, 0x21
rdtsc
push ebx
push esi
cwde
push ebp
pushfd
movsx dx, bl
cwd
rcl cx, 0xfe
push edi
ror ch, cl
clc
rdtsc
mov ecx, 0
push ecx
bts ebp, ebp
bt ebp, 0xfe
mov esi, dword [esp + 0x28]
not edi
setae dl
bswap esi
not esi
btc dx, 0x77
ror esi, 1
bswap esi
sbb eax, 0x5c3b2cfc
add esi, ecx
cdq
mov edi, esp
sub esp, 0xc0
movzx bx, ch
sub eax, ebp
mov ebx, esi
cdq
mov edx, 0
bsr eax, esi
bswap bp
adc eax, 0x4f693a80
sub ebx, edx
btr eax, 0x3d
rcl ax, cl
lea ebp, [0xe4d108]
setp ah
mov eax, dword [esi]
jmp 0xe11f61
xor ebx, eax
jmp 0x170d852
add ebp, eax
jmp 0x17bedaa
push ebp
ret
Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20

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

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
nop
pop eax
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x965370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x96538e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x98e074
push ecx
mov edi, eax
call fcn.00979198
mov esi, eax
add esp, 8
test esi, esi
jne 0x9653cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0097902e
push esi
call fcn.00978fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x968850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x9688ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x993720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x9688ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.009791e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x9688ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x993720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x96892a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.0097a082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x968957
mov word [eax], si
add eax, 2
push eax
call fcn.0097a030
add esp, 4
jmp 0x968959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x9688ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x9688b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x968ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret