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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x4709e1
dec al
je 0x470a1d
dec al
je 0x470a61
dec al
je 0x470acc
jmp 0x470b56
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x470b56
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x4709f1
jmp 0x470b56
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x470b56
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x470a2d
jmp 0x470b56
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x470b56
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x470a8f
xor ebp, ebp
jmp 0x470aa0
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x470aa9
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x470a71
jmp 0x470b56
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x470b56
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x470b24
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0046ddd8
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x470ae0
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47d61c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
cmp word [ebx + 0x23a], 0
je 0x47d63e
mov edx, esi
mov eax, dword [ebx + 0x23c]
call dword [ebx + 0x238]
mov edx, esi
mov eax, ebx
call fcn.0047c750
cmp dword [ebx + 0xe0], 0
je 0x47d802
cmp dword [ebx + 0xe4], 0
je 0x47d802
mov dword [ebx + 0x1f8], esi
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x478e1c]
call fcn.004797bc
mov edi, eax
mov dword [ebx + 0x118], edi
xor edx, edx
mov eax, edi
call fcn.00451864
mov eax, dword [ebx + 0x118]
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xd8], 0x47d9c8
mov dword [eax + 0xd4], ebx
mov dword [eax + 0xd0], 0x47db18
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x47db64
mov dword [eax + 0x13c], ebx
mov dword [eax + 0x138], fcn.0047a374
mov edx, dword [ebx + 0xe0]
call fcn.00437958
mov edx, dword [ebx + 0xe4]
mov eax, dword [ebx + 0x118]
call fcn.0043797c
mov eax, dword [ebx + 0xdc]
mov eax, dword [eax + 0x44]
add eax, dword [esi + 0x32]
mov esi, eax
mov edx, esp
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456368
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 0xe4]
add edx, esi
cmp eax, edx
jge 0x47d741
mov edx, esp
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456368
mov edx, dword [esp + 0xc]
sub edx, dword [ebx + 0xe4]
sar edx, 1
jns 0x47d734
adc edx, 0
mov eax, dword [ebx + 0x118]
call fcn.00437930
jmp 0x47d74e
mov edx, esi
mov eax, dword [ebx + 0x118]
call fcn.00437930
mov eax, dword [ebx + 0xdc]
mov esi, dword [eax + 0x40]
add esi, dword [eax + 0x48]
sub esi, dword [ebx + 0x94]
mov edx, esp
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456368
mov eax, dword [esp + 8]
mov edx, dword [ebx + 0xe0]
add edx, esi
cmp eax, edx
jge 0x47d793
mov eax, dword [ebx + 0xdc]
mov esi, dword [eax + 0x40]
sub esi, dword [ebx + 0xe0]
add esi, dword [ebx + 0x94]
mov edx, esi
mov eax, dword [ebx + 0x118]
call fcn.0043790c
push 0xffffffffffffffec
mov eax, dword [ebx + 0x118]
call fcn.0043e988
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x118]
call fcn.0043e988
push eax
call sub.user32.dll_SetWindowLongA
mov byte [ebx + 0x114], 0
mov byte [ebx + 0x115], 0
mov byte [ebx + 0x116], 0
mov byte [ebx + 0x117], 0
mov eax, ebx
call fcn.0047d218
push 4
mov eax, dword [ebx + 0x118]
call fcn.0043e988
push eax
call sub.user32.dll_ShowWindow
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x47dbcc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, edx
mov ebx, eax
cmp word [ebx + 0x242], 0
je 0x47dbee
mov edx, ebx
mov eax, dword [ebx + 0x244]
call dword [ebx + 0x240]
mov edx, esi
mov eax, ebx
call fcn.0047c9c8
cmp dword [ebx + 0x11c], 0
je 0x47dd95
cmp dword [ebx + 0x120], 0
je 0x47dd95
mov dword [ebx + 0x1fc], esi
mov ecx, dword [ebx + 4]
mov dl, 1
mov eax, dword [0x478e1c]
call fcn.004797bc
mov edi, eax
mov dword [ebx + 0x154], edi
xor edx, edx
mov eax, edi
call fcn.00451864
mov eax, dword [ebx + 0x154]
mov dword [eax + 0xdc], ebx
mov dword [eax + 0xd8], 0x47df58
mov dword [eax + 0xd4], ebx
mov dword [eax + 0xd0], 0x47e058
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x47e0a4
mov edx, dword [ebx + 0x11c]
call fcn.00437958
mov edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x154]
call fcn.0043797c
mov eax, dword [ebx + 0x118]
mov eax, dword [eax + 0x44]
add eax, dword [esi + 0x32]
mov esi, eax
mov edx, esp
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456368
mov eax, dword [esp + 0xc]
mov edx, dword [ebx + 0x120]
add edx, esi
cmp eax, edx
jge 0x47dcd4
mov eax, dword [ebx + 0x118]
mov edx, dword [eax + 0x44]
add edx, dword [eax + 0x4c]
sub edx, dword [ebx + 0x120]
mov eax, dword [ebx + 0x154]
call fcn.00437930
jmp 0x47dce1
mov edx, esi
mov eax, dword [ebx + 0x154]
call fcn.00437930
mov eax, dword [ebx + 0x118]
mov esi, dword [eax + 0x40]
add esi, dword [eax + 0x48]
sub esi, dword [ebx + 0x94]
mov edx, esp
mov eax, dword [0x491454]
mov eax, dword [eax]
call fcn.00456368
mov eax, dword [esp + 8]
mov edx, dword [ebx + 0x11c]
add edx, esi
cmp eax, edx
jge 0x47dd26
mov eax, dword [ebx + 0x118]
mov esi, dword [eax + 0x40]
sub esi, dword [ebx + 0x11c]
add esi, dword [ebx + 0x94]
mov edx, esi
mov eax, dword [ebx + 0x154]
call fcn.0043790c
push 0xffffffffffffffec
mov eax, dword [ebx + 0x154]
call fcn.0043e988
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x154]
call fcn.0043e988
push eax
call sub.user32.dll_SetWindowLongA
mov byte [ebx + 0x150], 0
mov byte [ebx + 0x151], 0
mov byte [ebx + 0x152], 0
mov byte [ebx + 0x153], 0
mov eax, ebx
call fcn.0047d2bc
push 4
mov eax, dword [ebx + 0x154]
call fcn.0043e988
push eax
call sub.user32.dll_ShowWindow
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x10000
push 2
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [0x4043c0], eax
call edi
push 0x8040
push 2
mov dword [0x4043bc], eax
call esi
push eax
mov dword [0x4043f8], eax
call edi
push 0x400
push 2
mov dword [0x4043e8], eax
call esi
push eax
mov dword [0x4043d8], eax
call edi
mov dword [0x4043c4], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x4043c4]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x40209a
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4020ac
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x4020e5
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4020df
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x4043c4]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020bf
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8
Function at 0x40cbc7
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41a2f8
call fcn.00413724
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x41b69c
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x41b754
push 4
mov ebx, 0x41b68c
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00403291
mov dword [esi + 0x3c], 0x41b804
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00403291
mov dword [edi], 0x41b80c
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.0040c1be
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.0040c1be
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.0040c1be
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.0040b761
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040c1be
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.0040c1be
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x412ff0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call fcn.0041468e
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x413018
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x413027
mov eax, 1
ret 4

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x577d6ce0
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x2511330e
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x414000
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x414006
or ebp, 0xffffffff
xor ebx, ebx
pop esi
lea edi, [esi - 0x13006]
push edi
add word [edi + 0x126d0], 1
add esi, 0x1b3
jmp 0x41402e
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x414039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x414028
mov eax, 1
add ebx, ebx
jne 0x41404b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x414040
jne 0x41405c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x414040
xor ecx, ecx
sub eax, 3
jb 0x4140ca
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4140e6
mov ebp, eax
add ebx, ebx
jne 0x41407b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x414088
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4140ac
inc ecx
add ebx, ebx
jne 0x414098
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x41408d
jne 0x4140a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41408d
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x4140d0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4140bc
jmp 0x41402e
mov eax, ebp
jmp 0x414070
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4140d0
add edi, ecx
jmp 0x41402e
pop esi
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0x27b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4140f6
cmp byte [edi], 1
jne 0x4140f6
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 0x4140fb
pop edi
mov eax, dword [edi]
or eax, eax
je 0x414166
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1208c]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x414123
push edx
mov ecx, edi
jns 0x414153
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [esi + 0x12090]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x414140
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x414197
cmp al, 0xef
ja 0x41418a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41416c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x414179
popal
jmp section.UPX0

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x40ff00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
or ebp, 0xffffffff
jmp 0x40ff22
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40ff29
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40ff18
mov eax, 1
add ebx, ebx
jne 0x40ff3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40ff30
jne 0x40ff4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ff30
xor ecx, ecx
sub eax, 3
jb 0x40ff60
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40ffd2
mov ebp, eax
add ebx, ebx
jne 0x40ff6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40ff78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40ff9c
inc ecx
add ebx, ebx
jne 0x40ff88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40ff7d
jne 0x40ff99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40ff7d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40ffbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40ffad
jmp 0x40ff1e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40ffbc
add edi, ecx
jmp 0x40ff1e
pop esi
mov edi, esi
mov ecx, 0x324
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40ffda
cmp byte [edi], 1
jne 0x40ffda
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 0x40ffdf
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x410057
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1043c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10504]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41000c
mov ecx, edi
jns 0x41003b
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 + 0x10508]
or eax, eax
je 0x410051
mov dword [ebx], eax
add ebx, 4
jmp 0x410029
call dword [esi + 0x1050c]
popal
jmp 0x4057df

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4079f2
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x674181d9]
test eax, eax
test byte [0x417ee4b8], al
add byte [edx], bl
push 0x63
xor dl, dl
pop esi
sub al, 0xb7
or byte [esi + 0x3b], ah
jl 0x4079e2
or dword [esi - 0x7b], esp
leave
cli
and eax, dword [edx + edx*8 - 0x6ece88c]
and dh, byte [ebp + 0x32]
leave
ror byte [edi], cl
xchg esp, eax
ret 0xc083
dec ebp
cld
mov esi, 0xaccd335e
call 0xff7b354f
adc eax, 0x8bc35de5
call dword [ebp - 0x75]
in al, dx
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x41f604]
xor eax, ebp
mov edi, dword [esi]
cld
push esi
mov esi, dword [ebp - 0x14]
jne 0x4079f2
push edi
jmp 0x407a20
inc ecx
add byte [edx + 0x69], bl
inc edx
rol byte [edx + ecx - 0x58af397d], 0x56
cmpsd dword [esi], dword es:[edi]
push esi
add cl, byte [edi - 0x743fcc4d]
dec ebp
cld
pop ebp
xor ecx, ebp
pop esi
call fcn.0040514f
mov esp, ebp
pop ebp
cdq
mov edi, edi
xchg ecx, eax
mov ebp, esp
jl 0x407a15
or byte [0x4000], bh
je 0x407a4e
cmp eax, 0x2e478000
je 0x407a04
cmp eax, 0x8c4b0000
inc esp
adc eax, 0xce60e8
add bh, al
add byte [esi], dl
add byte [eax], al
dec ebp
add byte [eax], al
dec ebx
mov word [ebp + edx - 0x18], es
pushal
into
add byte [eax], al
mov dword [eax], 0x4d000016
call fcn.00406d15
push 0x16
pop eax
pop ebp
ret

Function at 0x408d5c
Capabilities:
Access peb ldr_data

Disassembly:
dec edi
mov word [ebp - 8], ax
mov edi, dword [eax]
in al, 0x6a
add esi, edi
jo 0x408d10
invalid
push eax
lea eax, [ebp - 0x1c]
push 1
push eax
call 0x413776
inc edx
les ebx, [eax*4 + 0x381375c0]
inc ebp
in al, dx
je 0x408d32
mov es, word [ebp - 5]
dec esi
push eax
add esi, dword [eax + 0xeebfd00]
push gs
xor al, 0xe9
add dword [esi - 0xb39111a], edx
sahf
adc ch, bl
cld
add al, byte [eax]
add byte [eax + 0x5a40feb], dl
add eax, 0xe7d292fa
add eax, 0xe7d292fa
test al, 0xf7
sbb dword [edi - 0xd], ecx
in al, dx
ja 0x408d55
jle 0x408cfb

Function at 0x408db6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add dword [esi + 0x1e6b7fb0], ecx
xchg dword [0x28728bc7], esp
Function at 0x401a30
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x403e55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebp
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x10]
mov ebp, 1
push eax
push 0x20019
push 0
push str.SOFTWARE_
push 0x80000002
mov dword [esp + 0x13c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x401ab9
mov esi, dword [esp + 0x130]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], ebp
lea ecx, [esp + 8]
mov byte [esp + 0x128], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x401b5d
mov dx, word [0x4076c8]
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push str.Location
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x20]
lea eax, [esp + 0xc]
push edx
push 0x407038
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0xc]
push 0x407184
call sub.MFC42.DLL_CString::TrimRight
mov esi, dword [esp + 0x134]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], ebp
mov byte [esp + 0x12c], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop edi
mov ecx, dword [esp + 0x120]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x124
ret 4
Function at 0x5f33f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x5f8494]
cmp dword [eax + 0x28], 0
jne 0x5f3408
xor eax, eax
jmp 0x5f3537
mov ecx, dword [0x5f8414]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
add edx, 0xe
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [0x5f8408], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov dword [0x5f8404], eax
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x10], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x5f8408]
mov dword [ebp - 0x40], ecx
mov edx, dword [0x5f8404]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x40]
shr eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
shr ecx, 1
mov dword [ebp - 0x1c], ecx
push 0
mov edx, dword [0x5f848c]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x80000000
push 0x5f7604
push 0x5f7620
push 0x88
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [0x5f8400], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005f3330
push 5
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x5f33c0
mov edx, dword [0x5f8494]
mov eax, dword [edx + 0x34]
imul eax, eax, 0x3e8
push eax
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x5f840c], eax
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x5f3537
cmp dword [ebp - 0x38], 0x12
jne 0x5f352b
mov dword [0x5f841c], 0
call fcn.005f3540
xor eax, eax
jmp 0x5f3537
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x5f34fc
mov esp, ebp
pop ebp
ret 4

Function at 0x5f4840
Capabilities:
Read .ini file
Terminate process

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