joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418b83
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x418c20
push ebx
push esi
call fcn.00418b4c
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004177d1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x418bcd
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418c1f
push edi
push eax
call fcn.00411350
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x418bed
call fcn.004108af
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418c1e
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004177d1
add esp, 0x20
test eax, eax
jne 0x418c0c
push edi
call fcn.004108af
jmp 0x418c14
push ebx
call fcn.004108af
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x41d5cf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4309b0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d60f
cmp byte [ebx], 0xa
jne 0x41d60f
or byte [eax + edi + 0x28], 4
jmp 0x41d614
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d712
mov al, byte [edx]
cmp al, 0x1a
je 0x41d6f4
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d643
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d668
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d672
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x41d625
jmp 0x41d712
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d6ef
cmp dword [ebp - 0xc], 0
je 0x41d6ef
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x4309b0]
test byte [eax + edi + 0x28], 0x48
je 0x41d6c9
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d6b4
mov byte [esi], dl
jmp 0x41d6c5
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4309b0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d712
cmp byte [ebp - 1], 0xa
jne 0x41d6d8
cmp esi, ebx
jne 0x41d6d8
mov byte [esi], 0xa
jmp 0x41d711
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00415910
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d712
mov byte [esi], 0xd
jmp 0x41d711
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x4309b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d70e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d712
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d71b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x4309b0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41d75e
cmp word [esi], dx
jne 0x41d75e
or byte [edi + eax + 0x28], 4
jmp 0x41d763
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41d8b6
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41d896
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d7a5
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d7db
cmp eax, edx
jae 0x41d7e7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41d77d
jmp 0x41d8b6
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41d892
cmp dword [ebp - 0x14], 0
je 0x41d892
mov eax, dword [ebx*4 + 0x4309b0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d86a
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d833
mov word [esi], cx
jmp 0x41d866
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x4309b0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x4309b0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x4309b0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d8b6
pop ebx
cmp word [ebp - 4], bx
jne 0x41d87b
cmp esi, dword [ebp + 0xc]
jne 0x41d87b
mov word [esi], bx
jmp 0x41d8b3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00415910
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d8b6
push 0xd
jmp 0x41d8af
mov ecx, dword [ebx*4 + 0x4309b0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d8ad
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d8b6
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4315cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec eax
mov dword [esp + 0x10], ebx
dec eax
mov dword [esp + 0x18], edi
push ebp
dec eax
mov ebp, esp
dec eax
sub esp, 0x60
dec eax
mov eax, dword [0xd88f]
dec eax
xor eax, esp
dec eax
mov dword [ebp - 0x10], eax
dec eax
mov ebx, ecx
dec eax
mov dword [ebp - 0x30], ecx
xor edi, edi
dec eax
mov dword [ecx], edi
dec eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x28], 0x650076
mov dword [ebp - 0x24], 0x730072
mov dword [ebp - 0x20], 0x6f0069
mov dword [ebp - 0x1c], 0x2e006e
mov dword [ebp - 0x18], 0x6c0064
mov dword [ebp - 0x14], 0x6c
dec eax
lea edx, [ebp - 0x28]
dec eax
lea ecx, [ebp - 0x38]
call fcn.0043091c
test eax, eax
js 0x43171c
inc eax
mov byte [ebp - 0x40], bh
dec esp
lea eax, [0x8e8e]
dec eax
lea edx, [ebp - 0x28]
dec eax
lea ecx, [0xd33b]
call fcn.00430a6c
dec eax
lea edx, [ebp - 0x28]
test eax, eax
jns 0x4316a4
dec eax
lea eax, [0xfffffd9f]
dec eax
mov dword [0xd320], eax
dec esp
lea eax, [0x8e81]
dec eax
lea ecx, [0xd30a]
call fcn.00430a6c
test eax, eax
js 0x431724
invalid
popfd
add byte [eax], al
invalid
dec esp
dec esp
lea eax, [0x8e79]
dec eax
lea ecx, [0xd2c2]
call fcn.00430a6c
test eax, eax
js 0x43172c
mov ecx, eax
call fcn.0042fd28
in eax, 0xff
dec esp
Function at 0x406190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x4060b7
xor edi, edi
movzx ecx, word [edx + 0x26]
nop
jmp 0x4060ca
mov esi, dword [edx + 0x28]
nop
jmp 0x4060dc
nop
jmp 0x4060e9
xor eax, eax
nop
jmp 0x4060fb
lodsb al, byte [esi]
nop
cmp al, 0x61
nop
jmp 0x40610b
jl 0x40613a
nop
jmp 0x40611e
jmp 0x406129
sub al, 0x20
nop
jmp 0x40613a
nop
jmp 0x406146
ror edi, 0xd
nop
add edi, eax
dec ecx
nop
jmp 0x406158
jne 0x4060dc
nop
nop
jmp 0x406171
push edx
jmp 0x406180
push edi
nop
mov edx, dword [edx + 0x10]
nop
jmp fcn.00406190
mov eax, dword [edx + 0x3c]
add eax, edx
nop
jmp 0x4061a1
mov eax, dword [eax + 0x78]
nop
test eax, eax
nop
je 0x406397
nop
jmp 0x4061bd
add eax, edx
mov ecx, dword [eax + 0x18]
push eax
nop
jmp 0x4061d5
mov ebx, dword [eax + 0x20]
nop
jmp 0x4061e9
add ebx, edx
nop
jmp 0x4061fc
nop
jmp 0x40620e
test ecx, ecx
nop
je 0x406386
jmp 0x406225
nop
jmp 0x406234
xor edi, edi
dec ecx
nop
mov esi, dword [ebx + ecx*4]
jmp 0x406245
add esi, edx
nop
jmp 0x406255
xor eax, eax
jmp 0x406267
lodsb al, byte [esi]
ror edi, 0xd
jmp 0x40627a
add edi, eax
cmp al, ah
jne 0x406255
nop
jmp 0x40628f
add edi, dword [ebp - 8]
nop
jmp 0x40629e
cmp edi, dword [ebp + 0x24]
jne 0x4061fc
jmp 0x4062ba
nop
pop eax
nop
jmp 0x4062d0
mov ebx, dword [eax + 0x24]
nop
add ebx, edx
nop
jmp 0x4062eb
mov cx, word [ebx + ecx*2]
nop
jmp 0x4062fd
mov ebx, dword [eax + 0x1c]
nop
jmp 0x406314
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
mov dword [esp + 0x24], eax
pop ebx
pop ebx
jmp 0x40632f
popal
jmp 0x40633e
pop ecx
nop
jmp 0x406351
pop edx
nop
jmp 0x406361
push ecx
jmp 0x406374
jmp eax
nop
pop eax
jmp 0x406397
jmp 0x4063a5
pop edi
pop edx
mov edx, dword [edx]
nop
jmp 0x4060aa

Function at 0x406568
Capabilities:
Encode data using xor

Disassembly:
call fcn.0040643d
mov ecx, 0x1fc
call 0x406568
rcr dword [esi + 0x30], 0x4c
push cs
pop es
xor byte [esi + ecx + 7], cl
loop 0x40656b
fcmovnu st(0), st(6)
fidiv dword [eax + 0x21]
pop ebp
mov dh, 0xb6
invalid
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
sub byte [esi + ebx], 0x29
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf6
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0x7a
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x27
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x7c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0xd
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xad
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x55
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x4c
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x91
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x20
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 9
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xe1
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xfb
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x35
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x4037fe
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403827
cmp al, 0x22
je 0x40381f
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x403813
cmp byte [esi], 0x22
jne 0x403831
inc esi
jmp 0x403831
cmp al, 0x20
jle 0x403831
inc esi
cmp byte [esi], 0x20
jg 0x40382b
mov al, byte [esi]
test al, al
je 0x40383b
cmp al, 0x20
jle 0x403824
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004038a9
push 0x405004
push section..data
call fcn.0040388f
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40386b
movzx eax, word [ebp - 0x14]
jmp 0x40386e
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004038c1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x469210
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x55000]
push edi
jmp 0x46922a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x469231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469220
mov eax, 1
add ebx, ebx
jne 0x469243
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x469254
jne 0x469273
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469273
dec eax
add ebx, ebx
jne 0x469260
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x469238
add ebx, ebx
jne 0x46926f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4692c5
xor ecx, ecx
sub eax, 3
jb 0x46928b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4692fa
sar eax, 1
mov ebp, eax
jmp 0x469296
add ebx, ebx
jne 0x469296
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469264
inc ecx
add ebx, ebx
jne 0x4692a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x469264
add ebx, ebx
jne 0x4692b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4692a6
jne 0x4692c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4692a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4692e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4692d6
jmp 0x469226
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4692e4
add edi, ecx
jmp 0x469226
pop esi
mov edi, esi
mov ecx, 0x1f53
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x469302
cmp byte [edi], 8
jne 0x469302
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 0x469307
lea edi, [esi + 0x66000]
mov eax, dword [edi]
or eax, eax
je 0x46937f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x69000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x69118]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x469334
mov ecx, edi
jns 0x469363
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 + 0x6911c]
or eax, eax
je 0x469379
mov dword [ebx], eax
add ebx, 4
jmp 0x469351
call dword [esi + 0x6912c]
mov ebp, dword [esi + 0x69120]
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 0x4693b3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x401e60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x401ed0
xor eax, eax
jmp 0x401fb1
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x401ee8
xor eax, eax
jmp 0x401fb1
push ebp
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
add eax, 0x1474
call fcn.004018b0
mov esp, ebp
pop ebp
ret

Function at 0x404b24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x404b33
pop dword [ebp - 0x18]
mov eax, 0x404b33
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x83a54963
add dword [ebp - 0x28], 0xcaacfbe8
mov dword [ebp - 0x24], 0xd2f50670
add dword [ebp - 0x24], 0x5f3e45d5
mov dword [ebp - 0x20], 0x34282fd7
add dword [ebp - 0x20], 0x18241457
mov dword [ebp - 0x1c], 0xbbda998c
sub dword [ebp - 0x1c], 0xbbda998c
lea eax, [ebp - 0x28]
push eax
mov eax, 0x205f8588
sub eax, 0x201d5514
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0xf0c8f0f7
sub dword [ebp - 0x28], 0x7c5687a1
mov dword [ebp - 0x24], 0x535674d2
sub dword [ebp - 0x24], 0x11ea135d
mov dword [ebp - 0x20], 0x92112d97
sub dword [ebp - 0x20], 0x2ea1c12b
mov dword [ebp - 0x1c], 0x851146ab
add dword [ebp - 0x1c], 0x7aeeb955
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xf6790421
sub eax, 0xf636d2fd
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3b46c
push 0
call eax
mov ecx, 0x78344e20
sub ecx, 0x78340fe9
xor edx, edx
add edx, eax
mov ebx, 0x434400
add ebx, dword [ebp - 0x18]
mov edi, 0xdb5da014
sub dword [ebp - 8], ebx
mov esi, dword [ebx]
xor dword [ebp - 8], esi
xor esi, edi
mov dword [ebp - 0x14], 0x18960856
mov dword [edx], esi
add edx, 4
add ebx, 0x116efef4
add ebx, 0xee910110
loop 0x404c46
add eax, 0x84911f00
sub eax, 0x84903351
mov ebx, eax
add eax, 0xc313d949
sub eax, 0xc313d944
mov ecx, 0x400000
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c
Function at 0x407010
Capabilities:
Enumerate pe sections

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

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40892f
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov edi, dword [esp]
add esp, 4
call fcn.00408955
add ebx, 1
mov ecx, ecx
xor dword [edx], edi
inc ebx
inc ecx
inc edx
cmp edx, eax
jne fcn.0040892f
add ecx, ebx
or ecx, ebx
ret

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6e0b088c
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x77ba36c0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x41118c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00411140
test al, al
jne 0x4111ad
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x4111f9
xor eax, eax
push ebp
push 0x4111e9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404f58
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4111f0
lea eax, [ebp - 0xc]
call fcn.0041117c
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411438
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x411440
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x41152d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.0040ea30
mov edx, dword [ebp - 8]
mov ecx, 0x411548
xor eax, eax
call fcn.0041131c
push 0
mov eax, dword [ebp - 4]
call fcn.00404f58
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x4114fb
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0xb7
je 0x41145a
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 4]
mov al, 0x2f
call fcn.00410f44
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.004084dc
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.0040efb8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x18]
mov ecx, 2
mov al, 0x60
call fcn.00410f14
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x406f70]
call fcn.0040c21c
call fcn.004040b0
jmp 0x41145a
mov eax, esi
mov edx, dword [ebp - 4]
call fcn.00404ecc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x411534
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404ec4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404ec4
ret

Function at 0x41155c
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
mov eax, dword [0x417d90]
cmp dword [eax], 2
jne 0x4115c4
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_RegCloseKey_2
test eax, eax
jne 0x41157f
xor eax, eax
jmp 0x4115d3
lea eax, [esp + 8]
push eax
push 0x4115d8
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4115c4
xor eax, eax
jmp 0x4115d3
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret