joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458ae4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47cb74]
cmp dword [eax + 0x30], 0
je 0x458b8e
cmp dword [ebx + 0x94], 0
jne 0x458b88
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458a74
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x458b88
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 0x458b4e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x458b88
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.00417d60
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458b5d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4596ec
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 0x459721
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.00404488
jmp 0x45972e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45a840
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45a881
mov eax, esi
call fcn.00440cf4
test al, al
je 0x45a881
mov eax, dword [ebx + 0x84]
call fcn.004409f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a881
push 0
mov eax, dword [ebx + 0x84]
call fcn.004409f0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45df70
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45df9e
mov eax, ebx
call fcn.0045ea24
cmp dword [ebx + 0x40], 0
je 0x45df97
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45e00f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45e001
cmp dword [ebx + 8], 0
je 0x45dfc0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45dfd2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45e001
cmp dword [ebx + 8], 0
je 0x45dfb3
cmp eax, 3
je 0x45dfe5
dec eax
jne 0x45dfb3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45dfb3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45dfb3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45e02d
cmp dword [ebx + 0x14], 0xcc
je 0x45e02d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045e038
pop ebx
ret
Function at 0x46fd80
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414f54]
call fcn.00404d34
xor eax, eax
push ebp
push 0x46fec4
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47b6e0], 0
jne 0x46fdd3
mov ecx, dword [0x47b8c0]
mov dl, 1
mov eax, dword [0x40765c]
call fcn.0040bfb4
call fcn.00403dac
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402fd8
mov eax, ebx
call fcn.00404c00
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46fed4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405d74
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404c10
test eax, eax
jle 0x46fe6b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46fe64
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404620
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404608
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408528
test eax, eax
jne 0x46fe64
mov ebx, 0x15
jmp 0x46fe70
mov ebx, 0x10
jmp 0x46fe70
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x47b6e0]
call fcn.0046fbf8
mov eax, dword [ebp - 8]
call fcn.0046fbf8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405d8c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fecb
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043bc
lea eax, [ebp - 0x10]
mov edx, dword [0x414f54]
call fcn.00404e04
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x29fa4ece
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
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
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x6d30631d
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4188d8
Capabilities:
Encode data using xor

Disassembly:
pop ebp
mov ebp, 0xf26b53cc
not dword cs:[edi + 0x68e023f9]
mov ah, 0x1a
stosd dword es:[edi], eax

Function at 0x4194d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
mov al, byte [0x4cd04e]
push esi
mov esi, ecx
push edi
mov cl, byte [0x4cd043]
xor cl, al
mov al, byte [0x4cd041]
mov byte [0x4cd043], cl
mov cl, al
or cl, 0xc
shr cl, 2
and ecx, 0xff
mov dword [esp + 8], ecx
fild dword [esp + 8]
fdivr qword [0x4d0a08]
fadd qword [0x4d09a8]
fstp qword [0x4d0a08]
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4195e5
mov dl, byte [0x4cd045]
mov cl, byte [0x4cd04d]
or dl, 2
or al, cl
shr dl, 1
and edx, 0xff
mov byte [0x4cd041], al
mov dword [esp + 8], edx
fild dword [esp + 8]
fdivr qword [0x4cd058]
fadd qword [0x4cb350]
fstp qword [0x4d09a8]
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x419593
mov edx, dword [0x4d0af4]
push 0x4d07e0
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, dword [0x4d0af4]
push eax
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
mov dword [0x4cffc8], eax
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [0x4cd03c]
mov edi, eax
mov dword [esp + 0x10], 0
lea edx, [ecx*4]
mov ecx, dword [0x4cd038]
or edx, ecx
mov dword [esp + 0xc], edx
fild qword [esp + 0xc]
fstp qword [0x4cd058]
call fcn.00419410
test edi, edi
mov dword [esi], edi
je 0x4195e5
push str.IsThemeActive
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 8], eax
pop edi
pop esi
add esp, 0xc
ret

Function at 0x47a300
Capabilities:
Encode data using xor

Disassembly:
pop ss
pop ss
arpl word [esp + esi*8 + 0x4c], bp
dec esp
jg 0x47a2f7
jg 0x47a2d5
jg 0x47a2eb
pop esp
and eax, 0xac034083
jg 0x47a28e
jnp 0x47a321
insb byte es:[edi], dx
insb byte es:[edi], dx
xchg esi, eax
push 0xffffffffffffffe1
mov ah, 0xeb
scasd eax, dword es:[edi]
inc esp
sbb ch, cl
pop ebx
je 0x47a283
mov eax, 0x6856f995
inc ebx
jl 0x47a2ff
push ebx
Function at 0x405218
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ecx + 0x6c], 0
je 0x4052a9
cmp dword [ecx + 0x74], 0
je 0x4052a9
push ebx
push esi
push edi
push 8
lea eax, [ebp - 8]
push eax
call dword [0x4593a4]
push 1
call dword [0x4593a0]
mov ebx, dword [0x45939c]
rdtsc
push 0x64
call dword [0x45923c]
rdtsc
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
call ebx
mov esi, eax
add esi, 0x1f3
call ebx
cmp esi, eax
ja 0x405267
rdtsc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov edi, dword [ebp - 0x14]
cmp edi, dword [ebp - 0xc]
jl 0x40524b
mov esi, dword [ebp - 0x18]
jg 0x405287
cmp esi, dword [ebp - 0x10]
jb 0x40524b
push dword [ebp - 8]
call dword [0x459398]
sub esi, dword [ebp - 0x10]
push 0
sbb edi, dword [ebp - 0xc]
push 0x1388
push edi
push esi
call fcn.00431190
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
leave
ret

Function at 0x406391
Capabilities:
Hash data using crc32b
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
mov eax, ecx
push 8
shl eax, 0x18
mov edx, ecx
pop esi
test eax, eax
jns 0x4063ab
add eax, eax
xor eax, 0x4c11db7
jmp 0x4063ad
shl eax, 1
test dl, 1
je 0x4063bc
shr edx, 1
xor edx, 0xedb88320
jmp 0x4063be
shr edx, 1
dec esi
jne 0x40639e
mov dword [ecx*4 + 0x74dba0], eax
mov dword [ecx*4 + 0x74f3a0], edx
inc ecx
cmp ecx, 0xff
jbe 0x406394
pop esi
ret

Function at 0x406a6d
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
jle 0x406a9b
push esi
not eax
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
xor eax, dword [esi*4 + 0x74f3a0]
inc ecx
dec edx
jne 0x406a81
pop edi
not eax
pop esi
ret

Function at 0x40779c
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
push esi
xor esi, esi
inc esi
mov dword [0x74f8a8], eax
push edi
mov edx, esi
mov eax, 0x74f8a8
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x750264
jl 0x4077b1
pop edi
mov dword [0x469090], esi
mov dword [0x75026c], esi
pop esi
ret
Function at 0x4077df
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0x75026c], 0
push ebx
push ebp
push esi
push edi
mov esi, 0x74f8a8
jne 0x4077fd
push 0x1571
call fcn.0040779c
pop ecx
mov dword [0x469090], 0x270
mov dword [0x750268], esi
mov edx, 0xe3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x40781c
mov edx, 0x18c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi - 0x38c]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x407852
mov edx, dword [0x74f8a8]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi - 0x38c]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4078ee
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ecx
dec dword [0x469090]
jne 0x4078fc
call fcn.004077df
mov eax, dword [0x750268]
mov eax, dword [eax]
add dword [0x750268], 4
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov ecx, eax
and ecx, 0xff3a58ad
shl ecx, 7
xor eax, ecx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov ecx, eax
shr ecx, 0x12
xor ecx, eax
test ecx, ecx
mov dword [esp], ecx
fild dword [esp]
jge 0x407942
fadd qword [0x45af28]
fmul qword [0x45af20]
pop ecx
ret

Function at 0x41f7e6
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x469090]
jne 0x4078b9
call fcn.004077df
mov eax, dword [0x750268]
mov ecx, dword [eax]
add dword [0x750268], 4
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
jmp 0x4078ac
push esi
push 0x20041229
push 6
push 0x45d128
mov esi, ecx
call fcn.00406a6d
push eax
push 0x15
push 0x45a198
call fcn.00406a6d
push eax
push 0x16
push str.http:__www.alcot.biz_
call fcn.00406a6d
add esp, 0x24
add esi, 4
push eax
mov ecx, esi
call fcn.0040795f
mov ecx, esi
pop esi
jmp 0x407991
Function at 0x432a2e
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x45f1a8
call fcn.00433998
mov edi, 0x94
mov eax, edi
call fcn.004399d0
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [0x459228]
mov ecx, dword [esi + 0x10]
mov dword [0x753170], ecx
mov eax, dword [esi + 4]
mov dword [0x75317c], eax
mov edx, dword [esi + 8]
mov dword [0x753180], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x753174], esi
cmp ecx, 2
je 0x432a8e
or esi, 0x8000
mov dword [0x753174], esi
shl eax, 8
add eax, edx
mov dword [0x753178], eax
xor esi, esi
push esi
mov edi, dword [0x4591a4]
call edi
cmp word [eax], 0x5a4d
jne 0x432ac9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x432ac9
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x432ae1
cmp eax, 0x20b
je 0x432ace
mov dword [ebp - 0x1c], esi
jmp 0x432af5
cmp dword [ecx + 0x84], 0xe
jbe 0x432ac9
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x432aef
cmp dword [ecx + 0x74], 0xe
jbe 0x432ac9
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00439979
pop ecx
test eax, eax
jne 0x432b09
push 0x1c
call fcn.00432a0a
pop ecx
call fcn.0043373e
test eax, eax
jne 0x432b1a
push 0x10
call fcn.00432a0a
pop ecx
call fcn.004398d7
mov dword [ebp - 4], esi
call fcn.0043605e
test eax, eax
jge 0x432b33
push 0x1b
call fcn.004329e5
pop ecx
call dword [0x45919c]
mov dword [0x7549d4], eax
call fcn.004397b5
mov dword [0x75313c], eax
call fcn.00439713
test eax, eax
jge 0x432b59
push 8
call fcn.004329e5
pop ecx
call fcn.004394e0
test eax, eax
jge 0x432b6a
push 9
call fcn.004329e5
pop ecx
push 1
call fcn.00433ead
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x432b80
push eax
call fcn.004329e5
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [0x4591a0]
call fcn.00439483
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x432ba1
movzx eax, word [ebp - 0x40]
jmp 0x432ba4
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00404d6a
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x432bc2
push edi
call fcn.00433fda
call fcn.00433ffc
jmp 0x432bf4
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004339d3
ret
Function at 0x43ab80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x43abae
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x43abb5
cmp ebx, dword [eax + 4]
jae 0x43abb5
xor eax, eax
jmp 0x43ada5
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x43abc6
xor eax, eax
inc eax
jmp 0x43ada4
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x43abdc
cmp ecx, edx
jae 0x43ad21
cmp dword [eax + 4], 0
je 0x43abe5
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x43abcd
cmp dword [ebp + 8], 0
je 0x43ac07
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x43ad21
cmp eax, esi
jae 0x43ad21
mov eax, dword [0x753448]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x43ac2c
cmp dword [esi*4 + 0x753450], edi
je 0x43ad25
inc esi
cmp esi, eax
jl 0x43ac1a
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x459248]
test eax, eax
je 0x43ada1
cmp dword [ebp - 8], 0x1000000
jne 0x43ada1
test byte [ebp - 0xc], 0xcc
je 0x43acaa
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x43ada1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x43ada1
cmp word [eax + 0x18], 0x10b
jne 0x43ada1
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x43ada1
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x43acaa
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x43acaa
test byte [ecx + 0x27], 0x80
jne 0x43ad21
push 1
push 0x753490
call dword [0x45910c]
test eax, eax
jne 0x43abbe
mov ecx, dword [0x753448]
test ecx, ecx
mov edx, ecx
jle 0x43acde
lea eax, [ecx*4 + 0x75344c]
cmp dword [eax], edi
je 0x43acde
dec edx
sub eax, 4
test edx, edx
jg 0x43acd2
test edx, edx
jne 0x43ad0f
push 0xf
pop ebx
cmp ecx, ebx
jg 0x43aceb
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x43ad03
lea eax, [edx*4 + 0x753450]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x43acf1
cmp ecx, 0x10
jge 0x43ad0f
inc ecx
mov dword [0x753448], ecx
push 0
push 0x753490
call dword [0x45910c]
jmp 0x43abbe
xor eax, eax
jmp 0x43ada4
test esi, esi
jle 0x43abbe
mov ebx, dword [0x45910c]
push 1
push 0x753490
call ebx
test eax, eax
jne 0x43abbe
cmp dword [esi*4 + 0x753450], edi
je 0x43ad7b
mov eax, dword [0x753448]
lea esi, [eax - 1]
test esi, esi
jl 0x43ad69
cmp dword [esi*4 + 0x753450], edi
je 0x43ad65
dec esi
jns 0x43ad59
test esi, esi
jge 0x43ad79
cmp eax, 0x10
jge 0x43ad74
inc eax
mov dword [0x753448], eax
lea esi, [eax - 1]
jmp 0x43ad7b
je 0x43ad93
xor ecx, ecx
test esi, esi
jl 0x43ad93
lea eax, [ecx*4 + 0x753450]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x43ad81
push 0
push 0x753490
call ebx
jmp 0x43abbe
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x446490
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x446531
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov esi, dword [ecx + 4]
xor eax, eax
cmp esi, edx
push edi
jle 0x4464df
mov edi, dword [ecx]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x46c260]
shl eax, 8
xor eax, ebp
inc edx
cmp edx, esi
jl 0x4464c1
xor edx, edx
mov esi, dword [ecx + 0xc]
cmp esi, edx
jle 0x44650c
mov edi, dword [ecx + 8]
lea esp, [esp]
movzx ebx, byte [edi + edx]
mov ebp, eax
shr ebp, 0x18
xor ebx, ebp
mov ebp, dword [ebx*4 + 0x46c260]
shl eax, 8
xor eax, ebp
inc edx
cmp edx, esi
jl 0x4464f0
mov edx, dword [ecx]
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
pop edi
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
pop esi
shr eax, 0x18
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x40212e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x402148
xor esi, esi
jmp 0x402176
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0040faa0
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x4021b1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x4021aa
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x402246
xor esi, esi
jmp 0x402246
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x4021d4
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x4021e7
xor esi, esi
jmp 0x40223d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x4021f9
jmp 0x4021c4
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x40223d
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x40222f
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.0040faa0
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call fcn.0040ee20
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.004022ad
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x402cbc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x41915c
call fcn.0040ed94
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00402c7e
mov edi, eax
cmp edi, esi
je 0x402d06
cmp dword [ebp - 0x10], esi
je 0x402cff
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x402da3
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x402d77
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00402cbc
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x402d64
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x402d29
cmp dword [ebp - 0x10], esi
je 0x402d72
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x402da3
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x402d8a
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x402da1
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4