joyce8/EMBER2024-capa huggingface dataset:
Function at 0x615560
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630770
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x693a90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x6c6368]
mov ebx, dword [ebp + 8]
xor edi, edi
test esi, esi
jne 0x6155c1
push 0x30
call fcn.004cdf52
add esp, 4
test eax, eax
je 0x6155b3
mov ecx, eax
call fcn.006103d0
mov esi, eax
jmp 0x6155b5
xor esi, esi
mov dword [0x6c6368], esi
mov dword [0x6c6540], esi
cmp dword [esi + 0x10], edi
jne 0x61560a
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.0042abc0
mov ecx, eax
call fcn.00611460
mov dword [esi + 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, 0xd
lea eax, [ebp - 0x3c]
mov edi, edi
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x6155f0
mov ecx, 0x1a
lea eax, [ebp - 0x2e]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x615601
mov esi, dword [esi + 0x10]
test esi, esi
je 0x615660
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 1
call fcn.0048c630
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x61563b
push ebx
push str.SeDebugPrivilege
push 0
call eax
mov edi, eax
mov edx, 0x16
lea ecx, [ebp - 0x84]
mov byte [ecx], 0
lea ecx, [ecx + 1]
dec edx
jne 0x615646
mov ecx, 0x2c
lea eax, [ebp - 0x6e]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x615657
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005e72d5
mov esp, ebp
pop ebp
ret

Function at 0x616890
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x61693a
cmp dword [esi + 4], 0xffffffff
jne 0x61693a
lea edi, [esi + 0x140]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x6168c2
sub ecx, edx
mov al, byte [ecx + esi + 0x13f]
cmp al, 0x5c
je 0x6168ef
cmp al, 0x2f
je 0x6168ef
push 0xffffffffffffffff
push 0x668fc0
push 0x104
push edi
call fcn.005e929a
add esp, 0x10
push 0x20
call fcn.004cdf52
mov ecx, dword [ebp + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x18], ecx
add esp, 4
mov ecx, eax
mov word [eax], 0x100
mov byte [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0xc], 0
call fcn.00617620
xor ecx, ecx
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov dword [esi], eax
mov eax, ecx
pop edi
pop esi
pop ecx
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
pop ecx
pop ebp
ret 0xc
Function at 0x618400
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov bl, dl
mov edx, ecx
mov edi, dword [edx + 8]
mov ecx, dword [edx]
mov esi, edi
and esi, 0xfffd
or esi, 2
mov eax, esi
xor eax, 1
imul eax, esi
shr eax, 8
xor bl, al
movsx eax, bl
xor eax, ecx
and eax, 0xff
shr ecx, 8
mov eax, dword [eax*4 + 0x667810]
xor eax, ecx
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, edi
and eax, 0xff
shr edi, 8
xor edi, dword [eax*4 + 0x667810]
mov al, bl
mov dword [edx + 8], edi
pop edi
pop esi
pop ebx
ret

Function at 0x618490
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
and eax, 0xff
shr esi, 8
mov eax, dword [eax*4 + 0x667810]
xor eax, esi
movzx ecx, al
add ecx, dword [edi + 4]
mov dword [edi], eax
mov eax, dword [edi + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov dword [edi + 4], ecx
shr ecx, 0x18
xor ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x667810]
mov dword [edi + 8], eax
pop edi
pop esi
ret

Function at 0x6184e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x6184eb
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x6185b5
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
movzx eax, byte [edx + 1]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
movzx eax, byte [edx + 2]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
movzx eax, byte [edx + 3]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
movzx eax, byte [edx + 4]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
movzx eax, byte [edx + 5]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
movzx eax, byte [edx + 6]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
movzx eax, byte [edx + 7]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
add edx, 8
sub esi, 8
dec edi
jne 0x618500
pop edi
test esi, esi
je 0x6185da
lea esp, [esp]
movzx eax, byte [edx]
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x667810]
lea edx, [edx + 1]
dec esi
jne 0x6185c0
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x401b28
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetTopWindow]
push edi
push dword [section..data]
call esi
push dword [section..data]
call esi
push dword [0x404004]
call esi
push dword [section..data]
call esi
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov byte [ebx + edi], bl
push dword [0x404008]
call esi
inc ebx
cmp ebx, 0x100
jl 0x401b58
and byte [edi + 0x100], 0
push dword [0x404010]
call esi
and byte [edi + 0x101], 0
xor ebx, ebx
xor ebp, ebp
mov eax, ebx
push dword [0x404010]
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx ecx, byte [ebx + edi]
add ecx, ebp
movzx eax, byte [edx + eax]
lea ebp, [ecx + eax]
call esi
push dword [0x404014]
and ebp, 0xff
call esi
movzx eax, byte [ebx + edi]
push dword [0x404018]
mov dword [esp + 0x18], eax
call esi
mov al, byte [edi + ebp]
mov byte [ebx + edi], al
push dword [0x404010]
call esi
mov al, byte [esp + 0x14]
mov byte [edi + ebp], al
push dword [0x40400c]
call esi
push dword [0x404020]
call esi
inc ebx
cmp ebx, 0x100
jl 0x401b86
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push dword [0x40401c]
mov esi, dword [sym.imp.USER32.dll_GetTopWindow]
call esi
mov ebx, dword [ebp + 8]
push dword [0x404018]
movzx eax, byte [ebx + 0x100]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 0x101]
mov dword [ebp - 4], eax
call esi
push dword [0x40401c]
call esi
and dword [ebp + 8], 0
cmp dword [ebp + 0x10], 0
jle 0x401cbf
push edi
push dword [0x40403c]
call esi
mov eax, dword [ebp - 8]
push dword [0x404024]
inc eax
and eax, 0xff
mov dword [ebp - 8], eax
call esi
mov eax, dword [ebp - 8]
push dword [0x404024]
lea edi, [eax + ebx]
mov al, byte [eax + ebx]
add eax, dword [ebp - 4]
and eax, 0xff
mov dword [ebp - 4], eax
call esi
mov eax, dword [ebp - 4]
movzx ecx, byte [edi]
mov dl, byte [eax + ebx]
add eax, ebx
mov byte [edi], dl
mov dword [ebp - 0xc], ecx
mov byte [eax], cl
push dword [0x404030]
call esi
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add eax, ecx
mov cl, byte [edi]
add ecx, dword [ebp - 0xc]
and ecx, 0xff
mov cl, byte [ecx + ebx]
xor byte [eax], cl
push dword [0x404020]
call esi
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x10]
jl 0x401c41
pop edi
mov al, byte [ebp - 4]
mov byte [ebx + 0x101], al
push dword [0x404008]
call esi
mov al, byte [ebp - 8]
pop esi
mov byte [ebx + 0x100], al
pop ebx
leave
ret
Function at 0x406020
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
push esi
mov esi, dword [esp + 8]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 4], eax
call fcn.0040de40
cmp eax, 0x17
je 0x40605e
mov dword [esi], 0x40d494
pop esi
ret
mov dword [esi], 0x405ff0
pop esi
ret

Function at 0x406070
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x4c
mov eax, dword [0x441f98]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [esp + 0x58]
push ebp
push esi
mov esi, dword [esp + 0x5c]
mov eax, dword [esi + 0x18]
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
push edi
mov edi, 0x38
jb 0x4060a2
mov edi, 0x78
sub edi, eax
push edi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0042daf0
add esp, 0xc
mov byte [esp + 0x10], 0x80
lea ecx, [esp + edi + 0x11]
lea eax, [esi + 0x1a]
mov ebp, 2
movzx edx, byte [eax - 2]
mov byte [ecx - 1], dl
movzx edx, byte [eax - 1]
mov byte [ecx], dl
movzx edx, byte [eax]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
sub ebp, 1
jne 0x4060c5
add edi, 8
push edi
lea eax, [esp + 0x14]
push eax
push esi
call fcn.00405ef0
add esp, 0xc
lea ecx, [ebx + 1]
lea eax, [esi + 0xa]
lea edi, [ebp + 4]
movzx edx, byte [eax - 2]
mov byte [ecx - 1], dl
movzx edx, byte [eax - 1]
mov byte [ecx], dl
movzx edx, byte [eax]
mov byte [ecx + 1], dl
movzx edx, byte [eax + 1]
mov byte [ecx + 2], dl
add eax, 4
add ecx, 4
sub edi, 1
jne 0x406105
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 4], eax
call fcn.0040de40
cmp eax, 0x17
je 0x406174
pop edi
mov dword [esi], 0x40d494
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0043424a
add esp, 0x4c
ret
mov ecx, dword [esp + 0x58]
pop edi
mov dword [esi], 0x405ff0
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043424a
add esp, 0x4c
ret
Function at 0x410440
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mul edx
add ebx, eax
mov eax, dword [edi + 8]
adc ecx, edx
mov edx, dword [esi + 4]
adc ebp, 0
mul edx
add ebx, eax
mov eax, dword [esp + 0x24]
adc ecx, edx
adc ebp, 0
mul ebx
mov dword [edi + 0xc], eax
mul dword [esi]
add ebx, eax
mov eax, dword [esp + 0x18]
mov ebx, 0
adc ecx, edx
adc ebp, 0
add ecx, dword [eax + 0x10]
adc ebp, 0
mov eax, dword [edi]
adc ebx, 0
mov edx, dword [esi + 0x10]
mul edx
add ecx, eax
mov eax, dword [edi + 4]
adc ebp, edx
mov edx, dword [esi + 0xc]
adc ebx, 0
mul edx
add ecx, eax
mov eax, dword [edi + 8]
adc ebp, edx
mov edx, dword [esi + 8]
adc ebx, 0
mul edx
add ecx, eax
mov eax, dword [edi + 0xc]
adc ebp, edx
mov edx, dword [esi + 4]
adc ebx, 0
mul edx
add ecx, eax
mov eax, dword [esp + 0x24]
adc ebp, edx
adc ebx, 0
mul ecx
mov dword [edi + 0x10], eax
mul dword [esi]
add ecx, eax
mov eax, dword [esp + 0x18]
mov ecx, 0
adc ebp, edx
adc ebx, 0
add ebp, dword [eax + 0x14]
adc ebx, 0
mov eax, dword [edi]
adc ecx, 0
mov edx, dword [esi + 0x14]
mul edx
add ebp, eax
mov eax, dword [edi + 4]
adc ebx, edx
mov edx, dword [esi + 0x10]
adc ecx, 0
mul edx
add ebp, eax
mov eax, dword [edi + 8]
adc ebx, edx
mov edx, dword [esi + 0xc]
adc ecx, 0
mul edx
add ebp, eax
mov eax, dword [edi + 0xc]
adc ebx, edx
mov edx, dword [esi + 8]
adc ecx, 0
mul edx
add ebp, eax
mov eax, dword [edi + 0x10]
adc ebx, edx
mov edx, dword [esi + 4]
adc ecx, 0
mul edx
add ebp, eax
mov eax, dword [esp + 0x24]
adc ebx, edx
adc ecx, 0
mul ebp
mov dword [edi + 0x14], eax
mul dword [esi]
add ebp, eax
mov eax, dword [esp + 0x18]
mov ebp, 0
adc ebx, edx
adc ecx, 0
add ebx, dword [eax + 0x18]
adc ecx, 0
mov eax, dword [edi]
adc ebp, 0
mov edx, dword [esi + 0x18]
mul edx
add ebx, eax
mov eax, dword [edi + 4]
adc ecx, edx
mov edx, dword [esi + 0x14]
adc ebp, 0
mul edx
add ebx, eax
mov eax, dword [edi + 8]
adc ecx, edx
mov edx, dword [esi + 0x10]
adc ebp, 0
mul edx
add ebx, eax
mov eax, dword [edi + 0xc]
adc ecx, edx
mov edx, dword [esi + 0xc]
adc ebp, 0
mul edx
add ebx, eax
mov eax, dword [edi + 0x10]
adc ecx, edx
mov edx, dword [esi + 8]
adc ebp, 0
mul edx
add ebx, eax
mov eax, dword [edi + 0x14]
adc ecx, edx
mov edx, dword [esi + 4]
adc ebp, 0
mul edx
add ebx, eax
mov eax, dword [esp + 0x24]
adc ecx, edx
adc ebp, 0
mul ebx
mov dword [edi + 0x18], eax
mul dword [esi]
add ebx, eax
mov eax, dword [esp + 0x18]
mov ebx, 0
adc ecx, edx
adc ebp, 0
add ecx, dword [eax + 0x1c]
adc ebp, 0
mov eax, dword [edi]
adc ebx, 0
mov edx, dword [esi + 0x1c]
mul edx
add ecx, eax
mov eax, dword [edi + 4]
adc ebp, edx
mov edx, dword [esi + 0x18]
adc ebx, 0
mul edx
add ecx, eax
mov eax, dword [edi + 8]
adc ebp, edx
mov edx, dword [esi + 0x14]
adc ebx, 0
mul edx
add ecx, eax
mov eax, dword [edi + 0xc]
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x38629da
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2d523718
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x2aca56bc
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x246f42bf
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x409d10
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422d58
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push 0x46c080
xor ebx, ebx
push eax
xor esi, esi
mov dword [ebp - 4], ebx
call fcn.0040a1b0
add esp, 8
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], ebx
je 0x409e16
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ebx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00409ef0
mov ebx, dword [ebp - 0x24]
test eax, eax
jne 0x409e09
test ebx, ebx
je 0x409e14
mov edx, dword [section..text_1]
mov eax, dword [edx + 0xc]
mov ecx, section..text_1
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.__s_
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406de0
mov edi, dword [ebp - 0x14]
mov eax, edi
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x409dc0
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
mov eax, dword [ebp + 8]
push edx
push edi
push 2
push 0
push eax
push ebx
call dword [0x46c630]
neg eax
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e09
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebx, ebx
je 0x409e14
push ebx
call dword [0x46c628]
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409e5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fcc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422f18
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x42b520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
push 0x42c598
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0040a1b0
add esp, 8
lea ecx, [ebp - 0x18]
push 0x42c5fc
push ecx
mov byte [ebp - 4], 1
call fcn.0040a1b0
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [section..text_1]
mov eax, dword [edx + 0xc]
mov ecx, section..text_1
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 0x6a
mov byte [ebp - 4], 3
call fcn.00406e80
add esp, 4
cmp eax, ebx
je 0x40fd51
push eax
lea eax, [ebx + 0x6a]
lea edi, [ebp - 0x14]
call fcn.004069d0
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx - 0xc], ebx
je 0x40fddd
mov edx, dword [ebp - 0x18]
cmp dword [edx - 0xc], ebx
je 0x40fddd
cmp dword [esi - 0xc], ebx
je 0x40fddd
xor eax, eax
mov dword [ebp - 0x14], eax
nop
cmp eax, 2
jge 0x40fddd
xor ecx, ecx
cmp eax, ebx
setne cl
push 2
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
add ecx, 0x80000001
mov dword [ebp - 0x20], ebx
call fcn.0040fc30
test eax, eax
jne 0x40fdc1
mov edi, dword [ebp - 0x18]
cmp esi, ebx
je 0x40fdc1
push esi
call dword [0x424070]
lea ecx, [eax + eax + 2]
push ecx
push esi
push 1
push ebx
push edi
mov edi, dword [ebp - 0x28]
push edi
call dword [0x46c630]
jmp 0x40fdc4
mov edi, dword [ebp - 0x28]
cmp edi, ebx
je 0x40fdd2
push edi
call dword [0x46c628]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
jmp 0x40fd70
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40fdfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40fe42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x57bb255e
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x269d7357
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x745e50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.data
lea edi, [esi - 0x302000]
push edi
or ebp, 0xffffffff
jmp 0x745e72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x745e79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x745e68
mov eax, 1
add ebx, ebx
jne 0x745e8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x745e9c
jne 0x745eac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x745eac
dec eax
add ebx, ebx
jne 0x745ea8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x745e80
xor ecx, ecx
sub eax, 3
jb 0x745ec4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x745f36
sar eax, 1
mov ebp, eax
jmp 0x745ecf
add ebx, ebx
jne 0x745ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x745edc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x745f00
inc ecx
add ebx, ebx
jne 0x745eec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x745ee1
jne 0x745efd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x745ee1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x745f20
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x745f11
jmp 0x745e6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x745f20
add edi, ecx
jmp 0x745e6e
pop esi
mov edi, esi
mov ecx, 0x2d17
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x745f3e
cmp byte [edi], 0x1b
jne 0x745f3e
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 eax, ebx
loop 0x745f43
lea edi, [esi + 0x342000]
mov eax, dword [edi]
or eax, eax
je 0x745fbb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x345964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x345a2c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x745f70
mov ecx, edi
jns 0x745f9f
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 + 0x345a30]
or eax, eax
je 0x745fb5
mov dword [ebx], eax
add ebx, 4
jmp 0x745f8d
call dword [esi + 0x345a34]
popal
jmp 0x458305