joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53ed95
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push 0xf
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00533a13
add esp, 0xc
ror esp, 0
xchg ebx, ebx
jnp 0x53edd9
pushf
xchg edx, ecx
xchg edx, ecx
jle 0x53edc4
xchg esp, esp
lea ebx, [ebx + 0x4782]
lea ebx, [ebx - 0x4782]
popf
jno 0x53edd6
jp 0x53edd9
mov edx, 0x51ec45c6
mov byte [ebp - 0x14], 0x51
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xa], 0x6a
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 9], 0x73
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0xd], 0x34
mov byte [ebp - 8], 0x74
mov byte [ebp - 0x11], 0x64
mov byte [ebp - 0xc], 0x33
mov byte [ebp - 7], 0x75
mov byte [ebp - 0x10], 0x66
mov byte [ebp - 0xb], 0x47
mov byte [ebp - 6], 0
mov cl, byte [ebp - 0x14]
sub cl, 1
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
mov al, byte [ebp - 0xa]
sub al, 1
mov byte [ebp - 0xa], al
mov cl, byte [ebp - 0x13]
sub cl, 1
mov byte [ebp - 0x13], cl
mov dl, byte [ebp - 0xe]
sub dl, 1
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 9]
sub al, 1
mov byte [ebp - 9], al
mov cl, byte [ebp - 0x12]
sub cl, 1
mov byte [ebp - 0x12], cl
mov dl, byte [ebp - 0xd]
sub dl, 1
mov byte [ebp - 0xd], dl
mov al, byte [ebp - 8]
sub al, 1
mov byte [ebp - 8], al
mov cl, byte [ebp - 0x11]
sub cl, 1
mov byte [ebp - 0x11], cl
mov dl, byte [ebp - 0xc]
sub dl, 1
mov byte [ebp - 0xc], dl
mov al, byte [ebp - 0x10]
sub al, 1
mov byte [ebp - 0x10], al
mov cl, byte [ebp - 0xb]
sub cl, 1
mov byte [ebp - 0xb], cl
mov dl, byte [ebp - 7]
sub dl, 1
mov byte [ebp - 7], dl
call fcn.005414bf
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x53eea1
xor eax, eax
jmp 0x53ef10
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00523000
mov dword [ebp - 0x18], eax
push 0xf
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.00533a13
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x53eecb
xor eax, eax
jmp 0x53ef10
cmp edx, 0x6783
xchg ebx, ebx
rol esi, 0x13
ror esi, 0x13
lea ebx, [ebx]
jge 0x53eee8
jns 0x53eedf
lea esp, [esp]
mov esp, esp
nop
jl 0x53eee8
call 0x513c3477
mov eax, dword [ebp - 0x18]
push eax
call fcn.00545b94
add esp, 4
xchg esp, esp
jg 0x53ef05
ja 0x53eefa
lea esp, [esp]
js 0x53eeff
je 0x53ef01
jle 0x53ef05
mov eax, 0xc4d8b92
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5422e1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0xe
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.00533a13
add esp, 0xc
or ebx, 0
shl edi, 0
lea edx, [edx + 0x3c20]
sub edx, 0x3c20
jp 0x542325
pushf
jno 0x542312
popf
jp 0x542316
lea ebx, [ebx + 0x6839]
lea ebx, [ebx - 0x6839]
jnp 0x542325
sub eax, 0x7aec45c6
mov byte [ebp - 0x14], 0x7a
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x66
mov byte [ebp - 0x13], 0x74
mov byte [ebp - 0xf], 0x4a
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xd], 0x67
mov byte [ebp - 0x12], 0x75
mov byte [ebp - 0xb], 0
mov byte [ebp - 0x16], 0x75
mov byte [ebp - 0xc], 0x70
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x11], 0x66
mov byte [ebp - 0xe], 0x6f
jns 0x54235f
dec edi
inc edi
cld
jo 0x542377
jno 0x542366
lea eax, [eax + 0x2165]
lea eax, [eax - 0x2165]
jmp 0x542374
jno 0x542377
mov ebp, 0x80f44d8a
jmp 0xf4a1ab81
mov cl, byte [ebp - 0xc]
sub cl, 1
mov byte [ebp - 0xc], cl
mov dl, byte [ebp - 0x13]
sub dl, 1
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0x17]
sub al, 1
mov byte [ebp - 0x17], al
mov cl, byte [ebp - 0x15]
sub cl, 1
mov byte [ebp - 0x15], cl
mov dl, byte [ebp - 0x11]
sub dl, 1
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0x14]
sub al, 1
mov byte [ebp - 0x14], al
mov cl, byte [ebp - 0x12]
sub cl, 1
mov byte [ebp - 0x12], cl
mov dl, byte [ebp - 0xe]
sub dl, 1
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 0x10]
sub al, 1
mov byte [ebp - 0x10], al
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
mov al, byte [ebp - 0xd]
sub al, 1
mov byte [ebp - 0xd], al
mov cl, byte [ebp - 0x16]
sub cl, 1
mov byte [ebp - 0x16], cl
inc ecx
dec ecx
cmc
jl 0x5423ed
jge 0x5423f7
jno 0x5423f1
jo 0x5423f3
jl 0x5423f7
xor eax, 0xf0c3e813
invalid
call fcn.005414bf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x54240a
jmp 0x5424b4
shr esp, 0
cmp edi, 0x3761
shr esp, 0
add ebx, dword [esp]
sub ebx, dword [esp]
jne 0x542423
mov edi, edi
je 0x542423
add eax, 0x52e8558d
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00523000
mov dword [ebp - 4], eax
push 0xe
push 0
lea ecx, [ebp - 0x18]
push ecx
call fcn.00533a13
add esp, 0xc
xchg ebx, edi
xchg ebx, edi
ror ebx, 0x1f
rol ebx, 0x1f
lea edx, [edx + 0x2b4b]
sub edx, 0x2b4b
jg 0x54246f
pushf
push edi
add edi, 0x5fa7
ror edi, 0x14
pop edi
popf
jge 0x54246c
jle 0x54246f
mov edi, 0xfc7d83
cmp dword [ebp - 4], 0
jne 0x542477
jmp 0x5424b4
or esp, 0
js 0x54247c
and esp, 0xffffffff
and esp, 0xffffffff
jno 0x54248a
xchg esp, esp
jo 0x54248a
add eax, 0xfc558ba8
mov edx, dword [ebp - 4]
push edx
call fcn.00545b94
add esp, 4
cmp esp, 0x2cdf
test eax, 0x6619
jb 0x5424ad
pushf
clc
popf
xchg ebx, ebx
jae 0x5424ad
add eax, 0x5008458b
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x545415
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
cmp dword [0x5201ac], 1
jne 0x54558c
push 0xc
push 0
lea eax, [ebp - 0x18]
push eax
call fcn.00533a13
add esp, 0xc
jne 0x54543d
ror eax, 0
js 0x54545c
pushf
rol esi, 0
lea esi, [esi + 0xe10]
sub esi, 0xe10
or eax, eax
popf
xchg ebx, eax
xchg ebx, eax
jns 0x54545c
mov edi, 0x48e845c6
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0xe], 0x64
mov byte [ebp - 0x17], 0x6d
mov byte [ebp - 0x12], 0x42
mov byte [ebp - 0xd], 0
mov byte [ebp - 0x16], 0x70
mov byte [ebp - 0x11], 0x6d
mov byte [ebp - 0x15], 0x63
mov byte [ebp - 0x10], 0x6d
mov byte [ebp - 0x14], 0x62
mov byte [ebp - 0xf], 0x70
call 0x545491
add esp, 4
jle 0x545496
cmp edi, esi
cmp edx, 0x61bf
jo 0x5454aa
jo 0x5454a2
jbe 0x5454a4
jo 0x5454a6
jno 0x5454aa
call 0xe8a1debe
mov cl, byte [ebp - 0x18]
sub cl, 1
mov byte [ebp - 0x18], cl
mov dl, byte [ebp - 0x13]
sub dl, 1
mov byte [ebp - 0x13], dl
mov al, byte [ebp - 0xe]
sub al, 1
mov byte [ebp - 0xe], al
mov cl, byte [ebp - 0x17]
sub cl, 1
mov byte [ebp - 0x17], cl
mov dl, byte [ebp - 0x12]
sub dl, 1
mov byte [ebp - 0x12], dl
mov al, byte [ebp - 0x16]
sub al, 1
mov byte [ebp - 0x16], al
mov cl, byte [ebp - 0x11]
sub cl, 1
mov byte [ebp - 0x11], cl
mov dl, byte [ebp - 0x15]
sub dl, 1
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x10]
sub al, 1
mov byte [ebp - 0x10], al
mov cl, byte [ebp - 0x14]
sub cl, 1
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
call fcn.005414bf
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x54551f
xor eax, eax
jmp 0x5455f5
xchg edi, edi
jge 0x54553c
pushf
and edi, edi
popf
lea edi, [edi + 0x2517]
lea edi, [edi - 0x2517]
je 0x545537
mov esp, esp
jl 0x54553c
call 0x513c9acd
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00523000
mov dword [ebp - 8], eax
push 0xc
push 0
lea edx, [ebp - 0x18]
push edx
call fcn.00533a13
add esp, 0xc
push esi
pop esi
xchg esp, esp
jge 0x545576
pushf
shr esp, 0
jge 0x545569
jne 0x54556b
popf
jl 0x54556f
jp 0x545571
jmp 0x545573
jl 0x545576
mov eax, 0xf87d83
cmp dword [ebp - 8], 0
je 0x545586
mov eax, dword [ebp - 8]
mov dword [0x5201ac], eax
jmp 0x54558a
xor eax, eax
jmp 0x5455f5
jmp 0x545595
mov ecx, dword [0x5201ac]
mov dword [ebp - 8], ecx
ror esp, 0
ror edx, 0xf
rol edx, 0xf
neg ebx
neg ebx
jno 0x5455b0
pushf
add esp, 0
popf
js 0x5455ad
jo 0x5455b0
sub eax, 0x89f8558b
push ebp
cld
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
xor edx, 0x6803
xor edx, 0x6803
push edx
add edx, 0x2c78
ror edx, 8
pop edx
add esi, dword [esp]
sub esi, dword [esp]
ja 0x5455d5
js 0x5455de
nop
js 0x5455da
jns 0x5455de
add eax, 0xfc458b77
mov eax, dword [ebp - 4]
push eax
call fcn.00545b94
add esp, 4
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x547559
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0
push 0x5203cc
call fcn.0052ceea
add esp, 0xc
mov byte [0x5203cc], 0x80
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0xc], 0x10325476
pop ebp
ret

Function at 0x547855
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0xc
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00533a13
add esp, 0xc
ja 0x547870
jne 0x547872
test dword [esp], esi
neg ebx
neg ebx
jbe 0x547880
xchg esp, esp
ja 0x547880
xor eax, 0x44ec45c6
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0xf], 0x49
mov byte [ebp - 0xa], 0x66
mov byte [ebp - 0x13], 0x6d
mov byte [ebp - 0xe], 0x62
mov byte [ebp - 9], 0
mov byte [ebp - 0x12], 0x70
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0x11], 0x74
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0x10], 0x66
mov byte [ebp - 0xb], 0x6d
sub eax, 0
xchg edi, eax
xchg edi, eax
push ebx
add ebx, 0x768
ror ebx, 9
pop ebx
xor esp, 0
jns 0x5478dd
pushf
or ecx, ecx
xchg ecx, edi
xchg ecx, edi
mov eax, eax
ror edi, 0
popf
jne 0x5478d6
lea ecx, [ecx]
xchg ebx, ebx
js 0x5478dd
or dword [edx - 0x167f13b3], 0xec4d8801
mov cl, byte [ebp - 0x14]
sub cl, 1
mov byte [ebp - 0x14], cl
mov dl, byte [ebp - 0xf]
sub dl, 1
mov byte [ebp - 0xf], dl
mov al, byte [ebp - 0xa]
sub al, 1
mov byte [ebp - 0xa], al
mov cl, byte [ebp - 0x13]
sub cl, 1
mov byte [ebp - 0x13], cl
mov dl, byte [ebp - 0xe]
sub dl, 1
mov byte [ebp - 0xe], dl
mov al, byte [ebp - 0x12]
sub al, 1
mov byte [ebp - 0x12], al
mov cl, byte [ebp - 0xd]
sub cl, 1
mov byte [ebp - 0xd], cl
mov dl, byte [ebp - 0x11]
sub dl, 1
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0xc]
sub al, 1
mov byte [ebp - 0xc], al
mov cl, byte [ebp - 0x10]
sub cl, 1
mov byte [ebp - 0x10], cl
mov dl, byte [ebp - 0xb]
sub dl, 1
mov byte [ebp - 0xb], dl
call fcn.005414bf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x547952
xor eax, eax
jmp 0x5479ee
jb 0x547954
neg esi
neg esi
ror esp, 0
jne 0x547964
jae 0x54795f
js 0x547961
je 0x547964
xor eax, 0x50ec458d
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00523000
mov dword [ebp - 4], eax
push 0xc
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.00533a13
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x54798e
xor eax, eax
jmp 0x5479ee
rol eax, 0xa
ror eax, 0xa
lea ecx, [ecx + 0x6fb0]
sub ecx, 0x6fb0
jbe 0x5479a2
jp 0x5479b8
lea eax, [eax + 0x201]
lea eax, [eax - 0x201]
jnp 0x5479b2
lea edi, [edi]
jnp 0x5479b8
ljmp 0xe850:0xfc458b14
mov eax, dword [ebp - 4]
push eax
call fcn.00545b94
add esp, 4
test esp, 0x72b2
shr eax, 0
and ecx, ecx
ror edx, 0x17
rol edx, 0x17
jp 0x5479e7
pushf
shr esi, 0
popf
jb 0x5479e0
jno 0x5479e2
lea ecx, [ecx]
jnp 0x5479e7
mov eax, 0x51084d8b
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401130
Capabilities:
Delete directory
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
push 0
push 0x13
push 4
push 0x15
push 0
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x401199
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x143
jge 0x4011ad
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x401190
cmp dword [ebp - 4], 0
jbe 0x4011fc
push 0x40
mov eax, 0x1000
push eax
mov ecx, 0x1400
push ecx
push 0
push 0x4010e0
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x28]
push 0
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
jne 0x4011f5
push 0
call fcn.004015d1
add esp, 4
mov dword [0x4db138], eax
mov dword [ebp + 8], 0x27
mov eax, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402881
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x417890
cmp edx, dword [eax]
je 0x4028a3
add eax, 8
inc ecx
cmp eax, 0x417920
jl 0x402894
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x417890]
jne 0x4029d1
mov eax, dword [0x4db144]
cmp eax, 1
je 0x4029ab
test eax, eax
jne 0x4028d4
cmp dword [0x4177e4], 1
je 0x4029ab
cmp edx, 0xfc
je 0x4029d1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40290b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00403980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00403a70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40294e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00403a70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x406970
push edi
call fcn.00403b80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00403980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403990
lea eax, [ebp - 0xa0]
push 0x406950
push eax
call fcn.00403990
push dword [esi + 0x417894]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403990
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00403aeb
add esp, 0x2c
pop edi
jmp 0x4029d1
lea eax, [ebp + 8]
lea esi, [esi + 0x417894]
push 0
push eax
push dword [esi]
call fcn.00403a70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push edi
push 0x41a4e8
push 0x10
call fcn.00408cb1
pop ecx
xor edi, edi
pop ecx
push eax
push 0x1028
push edi
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [0x423d20], eax
jne 0x4016a0
push 0xffffffffffffffff
call fcn.0040c443
push edi
push edi
push edi
push 0xf001f
push eax
call dword [sym.imp.kernel32.dll_MapViewOfFile]
cmp eax, edi
mov dword [0x423d24], eax
jne 0x4016bf
push 0xffffffffffffffff
call fcn.0040c443
mov dword [eax], 0x1028
mov eax, dword [0x423d24]
mov dword [eax + 4], 0x1194
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov ecx, dword [0x423d24]
mov dword [ecx + 8], eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ecx, dword [0x423d24]
push 0x423f34
mov dword [ecx + 0xc], eax
mov eax, dword [0x423d24]
mov dword [eax + 0x10], edi
mov eax, dword [0x423d24]
add eax, 0x101c
push eax
call fcn.0040bb60
mov eax, dword [0x423d24]
add eax, 0x14
push eax
call fcn.0040171f
add esp, 0xc
pop edi
ret

Function at 0x40198c
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push 0x423f34
lea eax, [ebp - 0x210]
push dword [ebp + 8]
push 0x41a5e8
push eax
call fcn.0040ba39
add esp, 0x10
lea eax, [ebp + 8]
xor ebx, ebx
push eax
push 0x2001f
push ebx
push 0x41a5b8
push 0x2d
mov dword [ebp + 8], ebx
call fcn.00408cb1
pop ecx
pop ecx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401a8c
push edi
push 0x40
pop ecx
lea edi, [ebp - 0x10b]
mov byte [ebp - 0x10c], bl
mov esi, 0x41a460
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x104
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 1
push esi
push 0x13
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop edi
jne 0x401a4f
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0040ba90
pop ecx
test eax, eax
pop ecx
je 0x401a83
lea eax, [ebp - 0x210]
push eax
call fcn.0040c050
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
push 1
push ebx
push 1
push esi
push 0x13
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret
Function at 0x401e21
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1210
call fcn.0040c020
push ebx
push edi
mov ebx, 0x41a738
push 0
push ebx
push 0xd
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
mov edi, 0x423b18
push eax
push edi
push 0x41a72c
push 9
call fcn.00408cb1
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0040ba39
add esp, 0x10
cmp byte [ebp + 8], 0
jne 0x401e88
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x401fc1
push esi
mov esi, 0x1008
push esi
lea eax, [ebp - 0x1210]
push 0
push eax
call fcn.0040bc80
add esp, 0xc
mov dword [ebp - 0x1210], esi
mov dword [ebp - 0x120c], 0x3ed
push 0
push ebx
push 0xd
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push 0x41a454
push 6
call fcn.00408cb1
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1208]
push eax
call fcn.0040ba39
lea eax, [ebp - 0x1008]
push edi
push eax
call fcn.0040bb60
add esp, 0x14
push 1
pop esi
push esi
push 0x41a71c
push 0xc
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0xe08]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push esi
push 0x41a710
push 8
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0xc08]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push esi
push 0x41a44c
push 6
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0xa08]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push esi
push 0x41a444
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.0040bb60
pop ecx
pop ecx
push 0
push 0x41a474
push 0xe
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp - 0x608]
push 0x41a708
push eax
call fcn.0040ba39
lea eax, [ebp - 0x1210]
push esi
push eax
call fcn.00401fc5
add esp, 0x18
pop esi
pop edi
pop ebx
leave
ret
Function at 0x402292
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push eax
push 0x208
call dword [sym.imp.kernel32.dll_GetTempPathA]
push 0x41a804
push 9
call fcn.00408cb1
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0040bb70
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.0040844d
push 0x41a800
push 0
call fcn.00408cb1
add esp, 0x20
mov edx, eax
lea ecx, [ebp - 0x208]
call fcn.00408010
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x4022f8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1318
call fcn.0040c020
push ebx
push esi
push edi
call fcn.0040723e
mov ebx, 0x4232f8
push ebx
call fcn.004024d2
mov dword [esp], 0x423500
call fcn.004024d2
pop ecx
xor esi, esi
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
and byte [ebp - 0x20c], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 1
push 1
push 0x41a4c4
push 0xc
stosb byte es:[edi], al
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
lea eax, [ebp - 0x1318]
push 0x1008
push eax
push esi
push 0x41a4b4
push 0xe
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
call fcn.00408323
add esp, 0x14
test eax, eax
jge 0x4023ae
push esi
push 0x41a864
push 0x10
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00408952
push eax
push ebx
push 0x41a72c
push 9
jmp 0x4023c3
lea eax, [ebp - 0x1310]
push eax
lea eax, [ebp - 0x1110]
push eax
push 0x41a788
push 5
call fcn.00408cb1
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ba39
add esp, 0x10
call fcn.0040723e
mov ebx, eax
lea eax, [ebp - 0x20c]
neg ebx
sbb bl, bl
inc bl
mov byte [ebp - 4], bl
push dword [ebp - 4]
push eax
call fcn.0040844d
pop ecx
lea eax, [ebp - 0x20c]
pop ecx
push eax
push 0x41a850
push 0x10
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.0040a709
pop ecx
test bl, bl
pop ecx
je 0x40248b
call fcn.0040723e
test eax, eax
je 0x40244f
push 0x41a848
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
push 1
push 0x41a840
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00407e55
add esp, 0xc
jmp 0x40248b
call fcn.0040c6cc
push dword [eax]
call fcn.0040c609
pop ecx
push eax
call fcn.0040c6cc
push dword [eax]
push 0x41a820
push 0x1d
call fcn.00408cb1
pop ecx
pop ecx
push eax
push esi
push 0x41a840
push 7
call fcn.00408cb1
pop ecx
pop ecx
push eax
call fcn.00407e55
add esp, 0x14
cmp dword [ebp + 8], esi
je 0x4024cd
push esi
call dword [sym.imp.kernel32.dll_Sleep]
call section.UPX0
push 0x423f34
lea eax, [ebp - 0x310]
push 0x41a810
push eax
call fcn.0040ba39
add esp, 0xc
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x20c]
call fcn.00408010
push esi
call dword [sym.imp.kernel32.dll_ExitProcess]
pop edi
pop esi
pop ebx
leave
ret