joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5224a0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov dword [ecx + 0xc], 0x45f479d7
mov dword [ecx], 0
mov esi, ecx
mov dword [ecx + 0x18], 0xf3cb3e57
mov dword [esi + 0x1c], 0x40092ee0
mov dword [esi + 8], 0x75bbf938
mov dword [esi + 0x10], 0xfd3371b0
mov dword [esi + 0x20], 0x8a4406c7
mov dword [esi + 0x24], 0x2cc8e4f
mov dword [esi + 0x28], 0xd12c3bc9
mov dword [esi + 0x30], 0xebcc478b
mov dword [esi + 0x34], 0x489225be
mov dword [esi + 0x38], 0xafda13f8
mov dword [esi + 0x10], 0x3f4cdc6c
mov dword [esi + 0x28], 0xea71e659
mov dword [esi + 8], 0x1d6efe4e
mov dword [esi + 0x30], 0x5a92a305
mov dword [esi + 0x34], 0x412b44f5
xor eax, eax
mov ecx, eax
inc eax
xor ecx, 0x3c2d1e0f
cmp eax, 0x1e
not ecx
mov dword [esi + eax*4 + 0x38], ecx
jl 0x52251c
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x28]
mov edx, eax
or edx, edi
and eax, edi
and edx, dword [esi + 0x10]
or edx, eax
mov eax, ecx
shl eax, 5
shr ecx, 0x1b
or eax, ecx
add edx, eax
mov eax, edi
shr eax, 2
add edx, dword [esi + 0x24]
shl edi, 0x1e
add edx, 0x5a837999
or eax, edi
add dword [esi + 0x20], edx
mov dword [esi + 0x38], eax
call fcn.00522290
mov edi, dword [esi + 0x28]
mov ecx, dword [esi + 8]
xor ecx, dword [esi + 0x38]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x20]
xor ecx, edi
mov edx, eax
shl edx, 5
shr eax, 0x1b
or edx, eax
mov eax, edi
shr eax, 2
add ecx, edx
shl edi, 0x1e
add ecx, dword [esi + 0x24]
add ecx, 0x5a837999
or eax, edi
pop edi
add dword [esi + 0x10], ecx
mov dword [esi + 0x28], eax
mov eax, esi
pop esi
ret

Function at 0x522c00
Capabilities:
Resolve function by hash

Disassembly:
sub esp, 0x10
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x1c]
push edi
push 0xec0e4e8e
call fcn.005228b0
mov ecx, dword [esi + 0x14]
push edi
push 0xffd97fb
mov dword [ecx], eax
call fcn.005228b0
mov ecx, dword [esi + 0x14]
push edi
push 0x7c0017a5
mov dword [ecx + 4], eax
call fcn.005228b0
mov ecx, dword [esi + 0x14]
push edi
push 0x4dc9d5a0
mov dword [ecx + 8], eax
call fcn.005228b0
mov ecx, dword [esi + 0x14]
push edi
push 0x753a4fc
mov dword [ecx + 0xc], eax
call fcn.005228b0
mov edi, dword [0x51bbd0]
mov ecx, 0x51bbcc
lea edx, [esp + 8]
mov dword [0x51bb90], eax
mov eax, dword [ecx]
push edx
mov dword [edx], eax
mov eax, dword [ecx + 8]
mov cl, byte [ecx + 0xc]
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov byte [edx + 0xc], cl
mov ecx, esi
call fcn.00522b10
mov ecx, dword [esi + 0x14]
lea eax, [esp + 8]
push eax
mov edx, dword [ecx]
mov dword [0x51bb98], edx
call fcn.005229b0
mov dword [esi], eax
test eax, eax
je 0x522cda
push eax
push 0xa84aeb81
call fcn.005228b0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [esi]
push eax
push 0xfcba95ab
call fcn.005228b0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
mov edx, dword [esi]
push edx
push 0x35e273e6
call fcn.005228b0
mov ecx, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x523690
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c3a0
push 0x52395c
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x2c], 0x3459fe
mov dword [ebp - 0x28], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0xd8
call fcn.00523b50
add esp, 4
test eax, eax
je 0x5236e1
mov ecx, eax
call fcn.00523600
mov dword [ebp - 0x1c], eax
jmp 0x5236e8
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
add eax, 0xb8
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.00523560
test eax, eax
je 0x523722
cmp dword [ebp - 0x1c], 0
je 0x523718
mov ecx, dword [ebp - 0x1c]
call fcn.00523670
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00523b60
add esp, 4
mov eax, 0x2a
jmp 0x52384e
wait
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x20]
call fcn.00522b60
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xbc], 0
mov eax, dword fs:[0x20]
je 0x523751
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
call fcn.00522cf0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xc4], 0
je 0x523794
mov esi, eax
test esi, esi
je 0x523782
mov ecx, esi
call fcn.00523670
push esi
call fcn.00523b60
add esp, 4
mov eax, 0x926
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x52384e
mov ecx, dword [ebp - 0x20]
call fcn.00522fa0
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x2c], 0
jne 0x5237dc
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd0], 0
je 0x5237d6
mov esi, eax
test esi, esi
je 0x5237c7
mov ecx, esi
call fcn.00523670
push esi
call fcn.00523b60
add esp, 4
mov eax, 0xc3
wait
mov dword [ebp - 4], 0xffffffff
jmp 0x52384e
mov eax, dword ds:[0]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00522700
mov ecx, dword [ebp - 0x20]
call fcn.00523100
xor dword [ebp - 0x24], eax
wait
jmp 0x52381d
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x52383e
mov ecx, dword [ebp - 0x1c]
call fcn.00523670
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00523b60
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x52384b
mov dword [ebp - 0x24], 0x4e6
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x524210
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov ecx, dword [esp + 0xc]
push ebp
mov eax, ecx
push edi
sub eax, 0x80
je 0x52423f
sub eax, 0x40
je 0x524238
sub eax, 0x40
je 0x524231
pop edi
mov eax, 0xfffffffe
pop ebp
ret
mov edi, 8
jmp 0x524244
mov edi, 6
jmp 0x524244
mov edi, 4
mov eax, dword [esp + 0x10]
cmp eax, ecx
jge 0x52424e
mov eax, ecx
sub eax, 0x80
je 0x524275
sub eax, 0x40
je 0x52426e
sub eax, 0x40
je 0x524267
pop edi
mov eax, 0xfffffffd
pop ebp
ret
mov ebp, 0xe
jmp 0x52427a
mov ebp, 0xc
jmp 0x52427a
mov ebp, 0xa
push ebx
mov ebx, dword [esp + 0x1c]
push esi
mov esi, dword [esp + 0x14]
push edi
push ebx
push esi
call fcn.00524310
add esp, 0xc
cmp ebp, 1
jle 0x5242d7
lea eax, [ebp - 1]
add ebx, 0x20
mov dword [esp + 0x1c], eax
push edi
push 0x51be78
push esi
call fcn.005243f0
push edi
push 0
push esi
call fcn.00524360
push edi
push esi
call fcn.00524430
push edi
push ebx
push esi
call fcn.00524310
mov eax, dword [esp + 0x48]
add esp, 0x2c
add ebx, 0x20
dec eax
mov dword [esp + 0x1c], eax
jne 0x52429e
mov ebx, dword [esp + 0x20]
push edi
push 0x51be78
push esi
call fcn.005243f0
push edi
push 0
push esi
call fcn.00524360
shl ebp, 5
add ebp, ebx
push edi
push ebp
push esi
call fcn.00524310
add esp, 0x24
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
ret

Function at 0x524310
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
and edi, 0xff
mov ebp, edx
mov dword [esp + 0x1c], 4
test edi, edi
jle 0x524343
mov ecx, dword [esp + 0x18]
mov eax, ebp
sub ecx, edx
mov esi, edi
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x52433a
mov eax, dword [esp + 0x1c]
add ebp, 8
dec eax
mov dword [esp + 0x1c], eax
jne 0x52432c
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x10001a80
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
lea edx, [ebp - 0x2b4]
mov dword [esp + 0x10], 0x4009
mov dword [esp + 0xc], 0x2b4
mov dword [esp + 8], edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.shell32.dll_SHGetFileInfoW]
sub esp, 0x14
test eax, eax
je 0x10001ac6
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [ebp - 0x2b0]
leave
ret

Function at 0x10006220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10006278
cmp byte [esi + ebx - 1], 0xa
je 0x1000624c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x100150a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x100068a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call sym.___wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x10006a78
mov edi, dword [0x100150a4]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], edi
je 0x10006987
test byte [0x10007068], 8
jne 0x10006a20
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x10007078], 8
jne 0x100069e0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x10006929
cmp esi, 3
jbe 0x10006998
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x1000693a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x10010d00]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x10006929
mov dword [esp], 0x10007078
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x10006900
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x10006900
mov dword [esp], 0x10007068
call sym.___wine_dbg_get_channel_flags
test al, 8
je 0x100068eb
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x100068f3
mov eax, 0xffffffff
jmp 0x10006987
Function at 0x10006b00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x214
mov eax, dword [0x100150c0]
test eax, eax
je 0x10006bb8
mov dword [esp], ebx
call eax
mov dword [ebx + 8], eax
sub esp, 4
test eax, eax
jns 0x10006b40
mov eax, dword [ebx]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
lea edi, [ebp - 0x214]
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.MODULE
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
mov dword [esp + 8], 0x104
mov dword [esp + 4], edi
mov dword [esp], str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebx]
sub esp, 0xc
mov edx, dword [eax]
mov dword [esp + 8], edi
mov dword [esp + 4], str.SystemRoot
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0xc
jmp 0x10006b2c
mov dword [esp], str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
sub esp, 4
test eax, eax
je 0x10006bed
mov dword [esp + 4], str.AtlCreateRegistrar
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x100150c0], eax
sub esp, 8
test eax, eax
jne 0x10006b1d
mov dword [ebx + 8], 0x80004002
xor eax, eax
jmp 0x10006b2e
Function at 0x10006c00
Capabilities:
Access peb ldr_data
Extract resource via kernel32 functions
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], edi
mov dword [esp + 4], eax
call dword [sym.imp.kernel32.dll_FindResourceW]
sub esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov edx, dword [ebp - 0x10]
sub esp, 8
mov ebx, eax
mov dword [esp + 4], edx
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
sub esp, 8
test ebx, ebx
je 0x10006d90
mov eax, dword [esi]
test eax, eax
je 0x10006d78
mov edx, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x10]
mov dword [esp + 8], ebx
mov dword [esp + 0x14], 0
mov dword [ebp - 0x1c], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
lea ecx, [eax + 1]
sub esp, 0x18
lea eax, [ecx + ecx]
mov dword [ebp - 0x18], ecx
mov ecx, eax
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0x14], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
test eax, eax
mov edi, eax
je 0x10006d9c
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0xfde9
call edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 4]
xor edx, edx
sub esp, 0x18
mov word [edi + eax - 2], dx
mov eax, dword [esi]
test ecx, ecx
mov edx, dword [eax]
mov dword [esp + 4], edi
mov dword [esp], eax
jne 0x10006d68
call dword [edx + 0x28]
mov dword [esi + 8], eax
sub esp, 8
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
sub esp, 0xc
lea esp, [ebp - 0xc]
not eax
pop ebx
pop esi
shr eax, 0x1f
pop edi
pop ebp
ret 0x10
call dword [edx + 0x24]
mov dword [esi + 8], eax
sub esp, 8
jmp 0x10006d2c
mov edx, esi
mov eax, edi
call sym._create_registrar
test eax, eax
jne 0x10006c66
lea esi, [esi]
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
mov dword [esi + 8], 0x8007000e
xor eax, eax
jmp 0x10006d92
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, reloc.user32.dll_SendMessageW
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x4034d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 8], 0x20
push ebx
push esi
push edi
mov ebx, ecx
je 0x4034ed
push dword [ebp + 8]
call fcn.0040395b
mov eax, dword [ebx + 0x244]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x248]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
imul eax, eax, 0x22
imul esi, esi, 0x22
mov dword [ebp - 4], eax
sub eax, dword [ebx + 0x248]
sub eax, 0x21
push eax
call sub.MSVCRT.dll_abs
mov edi, eax
mov eax, esi
sub eax, dword [ebx + 0x244]
sub eax, 0x21
push eax
call sub.MSVCRT.dll_abs
pop ecx
cmp eax, edi
pop ecx
jle 0x403550
mov eax, esi
sub eax, dword [ebx + 0x244]
sub eax, 0x21
push eax
call sub.MSVCRT.dll_abs
mov edi, dword [ebp - 4]
pop ecx
mov dword [ebp + 8], eax
jmp 0x403568
mov edi, dword [ebp - 4]
mov eax, edi
sub eax, dword [ebx + 0x248]
sub eax, 0x21
push eax
call sub.MSVCRT.dll_abs
pop ecx
mov dword [ebp + 8], eax
sub esi, dword [ebx + 0x244]
sub edi, dword [ebx + 0x248]
fild dword [ebp + 8]
sub esi, 0x21
sub edi, 0x21
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
fild dword [ebp - 4]
mov dword [ebp - 4], edi
fdiv st(1)
fstp dword [ebp - 0xc]
fild dword [ebp - 4]
fdiv st(1)
fstp dword [ebp - 0x10]
fstp st(0)
call esi
mov edi, eax
mov eax, dword [ebp + 8]
push 3
and dword [ebp - 4], 0
cdq
pop ecx
idiv ecx
test eax, eax
mov dword [ebp + 8], eax
jle 0x40364c
jmp 0x4035c2
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 8]
call esi
cmp eax, edi
jbe 0x4035d1
call esi
sub eax, edi
cmp eax, 0x19
jb 0x4035c2
call esi
fild dword [ebp - 4]
mov esi, dword [ebx + 0x244]
mov edi, dword [ebx + 0x248]
mov dword [ebp - 8], eax
fld st(0)
fmul dword [ebp - 0xc]
fmul dword [0x407f9c]
fiadd dword [ebp - 0x18]
call sub.MSVCRT.dll__ftol
fmul dword [ebp - 0x10]
mov dword [ebx + 0x244], eax
fmul dword [0x407f9c]
fiadd dword [ebp - 0x14]
call sub.MSVCRT.dll__ftol
push edi
push esi
push eax
mov dword [ebx + 0x248], eax
push dword [ebx + 0x244]
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call fcn.00403a21
mov esi, eax
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
movsd dword es:[edi], dword [esi]
call fcn.00403660
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jl 0x4035b9
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.004039a1
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x402bff
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402c93
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402c50
cmp dword [ebp + 0x10], ebx
jne 0x402c87
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402bff
test eax, eax
jne 0x402c62
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402c37
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.00406558
cmp eax, ebx
je 0x402c9a
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402c93
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402c90
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402c90
jmp 0x402c93

Function at 0x4065c7
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
je 0x4065cb
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00404407
enter 0xffffffffffffe6ce, 0x77
mov edi, eax
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + eax + 0x78]
add edx, edi
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
call fcn.00404407
arpl word [edx + 0x45], dx
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x4065f4
mov eax, 0x41636f72
invalid
Function at 0x4103c0
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push esi
mov esi, edx
push edi
mov edi, ecx
cmp edx, 4
jb 0x4103f8
push ebx
mov ebx, edx
shr ebx, 2
imul ecx, dword [edi], 0x5bd1e995
sub edx, 4
imul esi, esi, 0x5bd1e995
add edi, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor esi, ecx
sub ebx, 1
jne 0x4103d1
pop ebx
sub edx, 1
je 0x410419
sub edx, 1
je 0x410410
sub edx, 1
jne 0x410424
movzx eax, byte [edi + 2]
shl eax, 0x10
xor esi, eax
movzx eax, byte [edi + 1]
shl eax, 8
xor esi, eax
movzx eax, byte [edi]
xor eax, esi
imul esi, eax, 0x5bd1e995
mov eax, esi
shr eax, 0xd
xor eax, esi
imul ecx, eax, 0x5bd1e995
pop edi
pop esi
mov eax, ecx
shr eax, 0xf
xor eax, ecx
ret

Function at 0x410440
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5601cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
jne 0x41046d
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c187
mov esp, ebp
pop ebp
ret
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x410472
sub esi, ecx
sar esi, 1
lea eax, [esi + 1]
call fcn.0043c7f0
mov edx, esp
xor ecx, ecx
nop dword [eax]
mov al, byte [edi + ecx*2]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jbe 0x410490
mov edi, esi
cmp esi, 4
jb 0x4104d6
mov ebx, esi
shr ebx, 2
nop word [eax + eax]
imul ecx, dword [edx], 0x5bd1e995
sub esi, 4
imul edi, edi, 0x5bd1e995
add edx, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e995
xor edi, ecx
sub ebx, 1
jne 0x4104b0
sub esi, 1
je 0x4104f7
sub esi, 1
je 0x4104ee
sub esi, 1
jne 0x410502
movzx eax, byte [edx + 2]
shl eax, 0x10
xor edi, eax
movzx eax, byte [edx + 1]
shl eax, 8
xor edi, eax
movzx eax, byte [edx]
xor eax, edi
imul edi, eax, 0x5bd1e995
mov eax, edi
shr eax, 0xd
xor eax, edi
imul ecx, eax, 0x5bd1e995
mov eax, ecx
shr eax, 0xf
xor eax, ecx
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c187
mov esp, ebp
pop ebp
ret