joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a6c0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44a86b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a84c
mov dl, 1
mov eax, dword [0x411644]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a83b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004386f4
test al, al
je 0x44a82e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x44a87c
lea eax, [ebp - 0x254]
call fcn.00408780
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a82e
xor eax, eax
push ebp
push 0x44a827
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x44a8b4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a810
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44a810
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a82e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a731
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415120
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a872
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

Function at 0x44b1a0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44b211
cmp dword [0x451bc8], 0
jne 0x44b1d2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44b15c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44b1ed
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44b211
push esp
push 0
push 0
push 0x44b100
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret
Function at 0x44b308
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44b31f
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f30
mov eax, dword [0x44ff40]
cmp word [eax + 2], 0
jne 0x44b347
mov eax, dword [0x44ff40]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044c9e0
mov eax, dword [0x44ffe8]
cmp word [eax + 2], 0
jne 0x44b361
mov eax, dword [0x44ffe8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044cbd8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411228]
call fcn.004030a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b104]
call fcn.00420d4c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44b4e8
mov eax, dword [0x44fe64]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042111c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44d178
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44fe64]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bdbc
test eax, eax
je 0x44b456
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408174
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bde4
test eax, eax
je 0x44b46a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov eax, dword [0x44fd68]
cmp byte [eax], 0
jne 0x44b49e
mov eax, ebx
call fcn.0044b610
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044d354
mov eax, ebx
call fcn.0044dd18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b4de
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b890
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x451bb0]
cmp dword [eax + 0x30], 0
je 0x44b93a
cmp dword [ebx + 0x94], 0
jne 0x44b934
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44b820
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44b934
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44b8fa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44b934
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413590
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44b909
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44c49c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44c4d1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f00
jmp 0x44c4de
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44d530
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44d571
mov eax, esi
call fcn.00433db4
test al, al
je 0x44d571
mov eax, dword [ebx + 0x84]
call fcn.00433b54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d571
push 0
mov eax, dword [ebx + 0x84]
call fcn.00433b54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4043a6
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
and al, 0
je 0x4043b3
cmp ebx, 0x7f
jbe 0x404441
xor edi, edi
inc edi
cmp ebx, 0x100
jae 0x4043dd
cmp dword [esi + 0x28], edi
jle 0x4043d0
push edi
push ebx
push esi
call fcn.00405c24
add esp, 0xc
jmp 0x4043d9
mov eax, dword [esi + 0x48]
movzx eax, byte [eax + ebx*2]
and eax, edi
test eax, eax
je 0x40444e
mov edx, dword [esi + 0x48]
mov eax, ebx
sar eax, 8
movzx ecx, al
test byte [edx + ecx*2 + 1], 0x80
je 0x4043fe
push 2
mov byte [ebp + 8], al
mov byte [ebp + 9], bl
mov byte [ebp + 0xa], 0
pop eax
jmp 0x404407
mov byte [ebp + 8], bl
mov byte [ebp + 9], 0
mov eax, edi
push edi
push dword [esi + 4]
lea ecx, [ebp - 4]
push 3
push ecx
push eax
lea eax, [ebp + 8]
push eax
push 0x100
push dword [esi + 0x14]
call fcn.00405868
add esp, 0x20
test eax, eax
je 0x40444e
cmp eax, edi
jne 0x404434
movzx eax, byte [ebp - 4]
jmp 0x404450
movzx ecx, byte [ebp - 3]
xor eax, eax
mov ah, byte [ebp - 4]
or eax, ecx
jmp 0x404450
cmp ebx, 0x41
jl 0x40444e
cmp ebx, 0x5a
lea eax, [ebx + 0x20]
jle 0x404450
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4073a4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x4143b4], edi
jne 0x40738e
call fcn.0040943b
push 0x104
mov esi, 0x412a30
push esi
push edi
mov byte [0x412b34], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4143a4]
cmp eax, edi
mov dword [0x412890], esi
je 0x4073bd
cmp byte [eax], 0
mov ebx, eax
jne 0x4073bf
mov ebx, esi
lea eax, [ebp - 4]
push eax
push edi
lea esi, [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.0040720b
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
shl esi, 2
add eax, esi
push eax
call fcn.00408f65
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4073ef
or eax, 0xffffffff
jmp 0x407414
lea eax, [ebp - 4]
push eax
lea ecx, [esi + edi]
push edi
lea esi, [ebp - 8]
mov eax, ebx
call fcn.0040720b
mov eax, dword [ebp - 4]
dec eax
pop ecx
mov dword [0x412874], eax
pop ecx
mov dword [0x412878], edi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4084be
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
push ebx
xor ebx, ebx
cmp eax, 0x61
push esi
mov esi, dword [0x412b8c]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
je 0x408464
cmp eax, 0x72
je 0x40845d
cmp eax, 0x77
jne 0x408575
mov ecx, 0x301
jmp 0x408469
xor ecx, ecx
or esi, 1
jmp 0x40846c
mov ecx, 0x109
or esi, 2
push edi
xor edi, edi
inc edi
jmp 0x40854c
cmp edi, ebx
je 0x40855a
movzx eax, ax
cmp eax, 0x54
jg 0x4084f6
je 0x4084e9
sub eax, 0x2b
je 0x4084d3
sub eax, 0x19
je 0x4084c9
sub eax, 0xe
je 0x4084b5
dec eax
jne 0x40852e
cmp dword [ebp - 4], ebx
jne 0x40852e
mov dword [ebp - 4], 1
or ecx, 0x20
jmp 0x40854c
cmp dword [ebp - 4], ebx
jne 0x40852e
mov dword [ebp - 4], 1
or ecx, 0x10
jmp 0x40854c
test cl, 0x40
jne 0x40852e
or ecx, 0x40
jmp 0x40854c
test cl, 2
jne 0x40852e
and ecx, 0xfffffffe
and esi, 0xfffffffc
or ecx, 2
or esi, 0x80
jmp 0x40854c
mov eax, 0x1000
test eax, ecx
jne 0x40852e
or ecx, eax
jmp 0x40854c
sub eax, 0x62
je 0x408541
dec eax
je 0x408529
sub eax, 0xb
je 0x408515
sub eax, 6
jne 0x40852e
test ch, 0xc0
jne 0x40852e
or ecx, 0x4000
jmp 0x40854c
cmp dword [ebp - 8], ebx
jne 0x40852e
mov dword [ebp - 8], 1
and esi, 0xffffbfff
jmp 0x40854c
cmp dword [ebp - 8], ebx
je 0x408532
xor edi, edi
jmp 0x40854c
mov dword [ebp - 8], 1
or esi, 0x4000
jmp 0x40854c
test ch, 0xc0
jne 0x40852e
or ecx, 0x8000
inc edx
inc edx
mov ax, word [edx]
cmp ax, bx
jne 0x408475
push 0x1a4
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
call fcn.0040b7fe
add esp, 0x10
mov ecx, eax
cmp ecx, ebx
pop edi
jge 0x408579
xor eax, eax
jmp 0x408593
mov eax, dword [ebp + 0x14]
inc dword [0x4128b0]
mov dword [eax + 0xc], esi
mov dword [eax + 4], ebx
mov dword [eax], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x10], ecx
pop esi
pop ebx
leave
ret
Function at 0x409059
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x518
mov eax, dword [case.0x40bc71.0]
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
push dword [0x413144]
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
cmp eax, 1
mov esi, 0x100
jne 0x40910c
xor eax, eax
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, esi
jb 0x409001
mov al, byte [ebp - 0x12]
test al, al
mov byte [ebp - 0x118], 0x20
je 0x409051
push ebx
lea edx, [ebp - 0x11]
push edi
movzx ecx, byte [edx]
movzx eax, al
cmp eax, ecx
ja 0x409047
sub ecx, eax
inc ecx
mov ebx, ecx
shr ecx, 2
lea edi, [ebp + eax - 0x118]
mov eax, 0x20202020
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
inc edx
mov al, byte [edx]
inc edx
test al, al
jne 0x409020
pop edi
pop ebx
push 0
push dword [0x413028]
lea eax, [ebp - 0x518]
push dword [0x413144]
push eax
push esi
lea eax, [ebp - 0x118]
push eax
push 1
call fcn.0040999c
push 0
push dword [0x413144]
lea eax, [ebp - 0x218]
push esi
push eax
push esi
lea eax, [ebp - 0x118]
push eax
push esi
push dword [0x413028]
call fcn.00405868
push 0
push dword [0x413144]
lea eax, [ebp - 0x318]
push esi
push eax
push esi
lea eax, [ebp - 0x118]
push eax
push 0x200
push dword [0x413028]
call fcn.00405868
add esp, 0x5c
xor eax, eax
mov cx, word [ebp + eax*2 - 0x518]
test cl, 1
je 0x4090e9
or byte [eax + 0x413041], 0x10
mov cl, byte [ebp + eax - 0x218]
mov byte [eax + 0x413160], cl
jmp 0x409105
test cl, 2
je 0x4090fe
or byte [eax + 0x413041], 0x20
mov cl, byte [ebp + eax - 0x318]
jmp 0x4090e1
mov byte [eax + 0x413160], 0
inc eax
cmp eax, esi
jb 0x4090c6
jmp 0x409150
xor eax, eax
cmp eax, 0x41
jb 0x40912c
cmp eax, 0x5a
ja 0x40912c
or byte [eax + 0x413041], 0x10
mov cl, al
add cl, 0x20
mov byte [eax + 0x413160], cl
jmp 0x40914b
cmp eax, 0x61
jb 0x409144
cmp eax, 0x7a
ja 0x409144
or byte [eax + 0x413041], 0x20
mov cl, al
sub cl, 0x20
jmp 0x409124
mov byte [eax + 0x413160], 0
inc eax
cmp eax, esi
jb 0x40910e
mov ecx, dword [ebp - 4]
pop esi
call fcn.0040575c
leave
ret

Function at 0x40b46e
Capabilities:
Clear file content

Disassembly:
push 0xc
push 0x40d478
call fcn.00405234
mov ebx, dword [ebp + 8]
cmp ebx, dword [0x413268]
jae 0x40b47f
mov eax, ebx
sar eax, 5
lea edi, [eax*4 + 0x413280]
mov eax, ebx
and eax, 0x1f
lea esi, [eax + eax*8]
shl esi, 2
mov eax, dword [edi]
test byte [eax + esi + 4], 1
je 0x40b47f
push ebx
call fcn.0040b199
pop ecx
and dword [ebp - 4], 0
mov eax, dword [edi]
test byte [eax + esi + 4], 1
je 0x40b457
push ebx
call fcn.0040b158
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x40b443
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c], eax
jmp 0x40b447
and dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 0
je 0x40b466
call fcn.004054fa
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
call fcn.004054f1
mov dword [eax], 9
or dword [ebp - 0x1c], 0xffffffff
or dword [ebp - 4], 0xffffffff
call fcn.0040b477
mov eax, dword [ebp - 0x1c]
jmp 0x40b48d
call fcn.004054f1
mov dword [eax], 9
or eax, 0xffffffff
call fcn.0040526f
ret
Function at 0x4372a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4372cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4372cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x348d40b3
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x431024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x1554693f
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x411237
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x854
mov eax, dword [0x41b014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov dword [ebp - 0x818], ecx
push esi
xor esi, esi
mov dword [ebp - 0x814], ebx
xor eax, eax
inc esi
mov dword [0x45e21c], eax
cmp dword [ebx + 0x20], eax
je 0x4113f5
mov dword [ebp - 0x84c], eax
lea eax, [ebp - 0x804]
push edi
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x854]
push eax
push dword [ebx + 0x10]
mov dword [ebp - 0x83c], 0x400
push 0x1073
push dword [0x41b084]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x20]
xor ebx, ebx
cmp word [eax], bx
jne 0x4112bb
push 0x4b
pop edi
mov esi, ebx
jmp 0x4113d1
lea ecx, [ebp - 0x810]
push ecx
push ebx
push ecx
push ebx
push eax
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 2
pop edi
mov esi, ebx
cmp eax, edi
je 0x4112e3
push 0x4a
pop edi
jmp 0x4113d1
lea eax, [ebp - 0x80c]
push eax
push ebx
lea eax, [ebp - 0x808]
push eax
push ebx
lea eax, [ebp - 0x804]
push eax
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x808], 1
je 0x411322
cmp dword [ebp - 0x808], edi
je 0x411322
cmp dword [ebp - 0x808], 7
je 0x411322
mov edi, ebx
mov eax, dword [ebp - 0x80c]
add eax, edi
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4113ca
push 0x49
pop edi
lea eax, [ebp - 0x80c]
push eax
push ebx
lea eax, [ebp - 0x808]
push eax
push 0
lea eax, [ebp - 0x804]
push eax
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4113c1
lea eax, [ebp - 0x80c]
mov edx, ebx
push eax
lea ecx, [ebp - 0x808]
call fcn.0040bd9d
test eax, eax
jne 0x4113c1
push dword [ebp - 0x80c]
push ebx
push dword [ebp - 0x808]
push eax
mov eax, dword [ebp - 0x814]
push dword [eax + 0x20]
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4113c1
lea eax, [ebp - 0x804]
push eax
push dword [0x41b098]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x4113c1
xor esi, esi
inc esi
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4113cd
push 0x76
pop edi
test esi, esi
jne 0x4113f4
lea eax, [ebp - 0x804]
movzx ecx, di
push eax
push 0x10
push 0x48
push ecx
push dword [ebp - 0x818]
push dword [0x41be1c]
call fcn.0049afb9
add esp, 0x18
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00419cc0
mov esp, ebp
pop ebp
ret
Function at 0x419f74
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41a478
call fcn.0041a288
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x419fd4
cmp eax, 0xffffffff
je 0x419fd4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x419fcd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x419fcd
cmp edx, 0x10000000
jae 0x419fcd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x419fca
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0041a2cd
ret 4

Function at 0x41a020
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41a05e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41a056
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41a060
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41a046
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41a130
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x41a146
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x41a161
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x4954f3
Capabilities:
Encode data using xor

Disassembly:
call 0x49546c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x49549c
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x4954b8
xor edx, 0
jmp 0x4954c3
xor edx, edx
jmp 0x4954da
jmp 0x4954e6
xor eax, eax
push 0x8427d7c0
call 0x4954f3
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x49552f
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x495508
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x495546
add eax, 0
jno 0x49554b
add esi, 0
ret 0x10
Function at 0x4962b4
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x4962d6
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x496478
cmp edi, dword [ebp + 0x10]
jb 0x496478
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.00495da0
inc edi
jmp 0x49635f
jmp 0x49636c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00495da0
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00495da0
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x4963c0
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x4963a4
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.004963ee
add dword [eax], 0x39
jle 0x4963ca
sub al, 0xf5
mov ch, al
call fcn.00496403
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x4980db
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x4980f1
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x498102
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.00498143
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx