joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1027972
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x20]
xor ebx, ebx
cmp eax, ebx
push edi
je 0x1027992
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x20], ebx
cmp dword [ebp + 8], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
je 0x10279a9
push dword [ebp + 8]
call edi
cmp eax, ebx
mov dword [esi + 0x20], eax
je 0x10279cb
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x10279ba
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi + 0x28], ebx
cmp dword [ebp + 0xc], ebx
je 0x10279d5
push dword [ebp + 0xc]
call edi
cmp eax, ebx
mov dword [esi + 0x28], eax
jne 0x10279d5
mov eax, 0x80041006
jmp 0x1027ab4
push dword [ebp + 8]
lea eax, [ebp - 4]
push dword [0x1038038]
mov dword [ebp - 4], ebx
push eax
push 2
call fcn.0102671e
add esp, 0x10
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x1027ab1
push dword [ebp - 4]
mov ecx, esi
call fcn.01027907
push dword [ebp - 4]
mov ecx, esi
call fcn.01027818
mov dword [ebp + 8], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [esi + 0x644]
dec eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x200
or eax, 0x20019
push eax
push ebx
push dword [ebp - 4]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
inc edi
test eax, eax
jne 0x1027aa0
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x43c]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
push dword [0x1038b04]
mov dword [ebp - 0xc], edi
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0xc]
mov ecx, esi
call fcn.01027874
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x1027a97
cmp dword [esi + 0x10], edi
je 0x1027a97
cmp dword [esi + 0x14], edi
je 0x1027a97
mov dword [esi + 0x18], edi
mov dword [esi + 8], 2
mov dword [esi + 0xc], ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 4]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp + 8], ebx
jl 0x1027ab1
mov dword [esi + 0x1c], edi
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x1029aa0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1037f7c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
inc esi
mov dword [ebp - 4], eax
xor eax, eax
push 4
pop ebx
mov dword [edi], esi
cmp dword [0x1038b08], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], ebx
jne 0x1029b80
lea ecx, [ebp - 0x214]
push ecx
push 0x20019
push eax
push 0x1007318
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1029b63
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x1007304
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x218], 0
jne 0x1029b63
cmp dword [ebp - 0x220], ebx
jne 0x1029b7a
cmp dword [ebp - 0x21c], ebx
jne 0x1029b7a
cmp dword [ebp - 0x224], esi
je 0x1029b6e
mov dword [0x1038b08], esi
jmp 0x1029c37
mov dword [0x1038b08], 2
jmp 0x1029b8c
mov dword [0x1038b08], esi
cmp dword [0x1038b08], esi
je 0x1029c37
mov eax, dword [0x1038b0c]
test eax, eax
jne 0x1029c30
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1029c12
push 0x10040c0
push 0x105
lea eax, [ebp - 0x210]
push eax
call fcn.01011193
test eax, eax
jl 0x1029c39
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1029c12
push 0x10040b0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x218], 0
jne 0x1029c06
mov dword [0x1038b0c], esi
jmp 0x1029c37
mov dword [0x1038b0c], 2
jmp 0x1029c34
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1029c22
call esi
jmp 0x1029c39
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x1029c39
cmp eax, esi
je 0x1029c37
and dword [edi], 0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010248c0
leave
ret 4
Function at 0x1029c4d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1037f7c]
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
inc edi
mov dword [eax], edi
xor esi, esi
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0xc], esi
call fcn.01029aa0
cmp eax, esi
mov dword [ebp - 0x14], eax
jl 0x1029de0
cmp dword [ebp - 8], edi
jne 0x1029c95
xor eax, eax
jmp 0x1029de0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push 0x1007408
mov ebx, 0x80000002
push ebx
call edi
test eax, eax
jne 0x1029cf9
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
je 0x1029ce7
cmp dword [ebp - 8], 0xea
jne 0x1029cf9
cmp dword [ebp - 0x10], 1
jne 0x1029cf9
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
xor eax, eax
jmp 0x1029ddf
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push 0x1007398
push ebx
call edi
test eax, eax
jne 0x1029d4b
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
push dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], esi
je 0x1029d45
cmp dword [ebp - 8], 0xea
jne 0x1029d4b
cmp dword [ebp - 0x10], 1
je 0x1029cf2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push esi
push dword [0x10383fc]
push ebx
call edi
cmp eax, esi
jne 0x1029dcd
push 4
pop ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [0x1038400]
mov dword [ebp - 8], esi
push dword [ebp - 0xc]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xc]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jne 0x1029db3
cmp dword [ebp - 0x10], ebx
jne 0x1029daa
cmp dword [ebp - 8], esi
je 0x1029ddc
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
jmp 0x1029ddc
mov dword [ebp - 0x14], 0x80041001
jmp 0x1029ddc
cmp edi, 2
je 0x1029ddc
cmp edi, esi
jle 0x1029dc8
and edi, 0xffff
or edi, 0x80070000
mov dword [ebp - 0x14], edi
jmp 0x1029ddc
jle 0x1029dd9
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.010248c0
leave
ret 8
Function at 0x7321fe
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp], ah
mov bh, byte [esp + 1]
rcr si, cl
jns 0x732186
js 0x7321bf

Function at 0x732210
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea eax, [ecx + ecx]
jmp 0x732263
and dx, 0x5f75
not ax
shr bh, 5
mov word [esp], si
jmp 0x732300
mov dl, al
bsf edx, esp
js 0x73224d
and dx, 0x5f75
call 0x732318
xchg esp, eax
not ax
shr bh, 5
mov word [esp], si
jmp 0x732300
xchg edx, ebx
bt ax, cx
jg 0x73233c
mov ah, bh
jmp 0x73233e
lea esp, [esp + 4]
inc esi
not al
mov bh, ah
rdtsc
jmp 0x7322ea
not esi
lea ebx, [eax + ebx]
pushfd
jmp 0x732340
mov ah, bh
jmp 0x732326
ror esi, 0
jmp 0x73244b
mov al, byte [esp]
mov ebx, 0x4cdf763
not dl
rdtsc
sub esp, 0xc
add esp, 9
jmp 0x732385
outsb dx, byte [esi]
mov ebx, dword [esp]
lea eax, [ebx*4]
call fcn.0073240a
in eax, dx
jb 0x732361
xchg dword [edx - 0x33], esi
lea esp, [esp + 3]
lea esp, [esp + 3]
lea esp, [esp + 4]
dec esi
mov ah, 0x95
shr eax, cl
jmp 0x7323ae
jmp 0x7323bc
add esi, dword [ebp]
mov al, byte [esp]
xchg bx, ax
cmc
jbe 0x73247f
rdtsc
jmp 0x732497
je 0x73236f
mov ebx, dword [esp]
lea eax, [ebx*4]
jmp 0x732394
rol esi, 0
push esi
lea ebx, [esi + 0xd4]
mov ah, dl
jmp 0x732396
not dl
rdtsc
sub esp, 0xc
jmp 0x732358
jno 0x732349
mov al, byte [esp]
mov ebx, 0x4cdf763
jmp 0x7323d2
rdtsc
jmp 0x732497
jmp 0x73245e
dec bh
mov bl, bh
mov bh, 0x66
inc ebx
mov bx, 0x16d7
mov eax, dword [esp]
jmp 0x7324cf
movzx edx, byte [esi - 1]
mov bx, di
btc ax, bp
jmp 0x7325a5
push edi
mov ax, bx
xchg byte [esp], bl
bts bx, si
je 0x732506
jne 0x732506
or dword [eax + reloc.PSAPI.DLL_GetMappedFileNameW], ecx
movsd dword es:[edi], dword [esi]
aam 0x47
mov bh, 0x66
inc ebx
mov bx, 0x16d7
jmp 0x73248c
call fcn.00732558
push ss
nop
push es
popal
nop
and dword [eax + reloc.PSAPI.DLL_GetMappedFileNameW], ecx
aam 0x1c
outsd dx, dword [esi]
jbe 0x73257c
mov al, byte [0xcdc2bb66]
mov bx, 0xcdc2
lea ebp, [ebp - 0x1b]
call 0x73257d
in eax, 0x67
not dword [edx - reloc.PSAPI.DLL_GetMappedFileNameW]
and al, 3
xchg dword [esp + 8], ebp
mov bh, 0x5e
setb al
cmp eax, edx
mov ebx, 0x4fafda5c
jmp 0x73251c
neg ebx
not ax
mov ebx, edi
mov ah, byte [esp]
neg bx
jmp 0x73258c
and dh, bh
shl byte [esi - 0x77], 1
add al, 0x24
mov byte [esp], ch
xchg dword [esp + 0xc], ebp
jmp 0x732567
push dword [esp + 0xc]
ret 0x10
jnp 0x732481
dec bh
mov bl, bh
jmp 0x7324e7

Function at 0x73240a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov edx, dword [esp]
mov edx, 0x78b5d58b
lea edx, [ebx*4]
lea eax, [eax + 0x16]
mov edx, 0x6d9107d3
bswap ebx
jmp 0x732432
neg bl
clc
mov ax, word [esp]
xchg dword [esp], eax
add al, 0x24
lea ebx, reloc.PSAPI.DLL_GetMappedFileNameW
jmp 0x7323de
mov bl, 5
xchg dword [esp], eax
call fcn.0073241c
jbe 0x732412
dec edx
sub eax, 0x41c15bdc
sal dword [eax + reloc.PSAPI.DLL_GetMappedFileNameW], 1
cli

Function at 0x74042c
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x727126
pushfd
or dword [esp], 0x100
popfd
cpuid
nop
jmp 0x72713d
pop ebx
ret
mov dword [esp], esi
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x72711a
Function at 0x758e71
Capabilities:
Encode data using base64

Disassembly:
push dword [esp + 1]
jmp 0x759199
lea esp, [esp + 8]
jbe 0x758707
ja 0x758741

Function at 0x411710
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
jmp 0x41172a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411731
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411720
mov eax, 1
add ebx, ebx
jne 0x411743
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x411738
jne 0x411754
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411738
xor ecx, ecx
sub eax, 3
jb 0x411768
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4117da
mov ebp, eax
add ebx, ebx
jne 0x411773
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x411780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4117a4
inc ecx
add ebx, ebx
jne 0x411790
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x411785
jne 0x4117a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411785
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4117c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4117b5
jmp 0x411726
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4117c4
add edi, ecx
jmp 0x411726
pop esi
mov edi, esi
mov ecx, 0x27e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4117e2
cmp byte [edi], 5
jne 0x4117e2
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 0x4117e7
lea edi, [esi + 0xf000]
mov eax, dword [edi]
or eax, eax
je 0x411856
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12cd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12cf8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x411814
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12cfc]
or eax, eax
je 0x411850
mov dword [ebx], eax
add ebx, 4
jmp 0x411831
call dword [esi + 0x12d0c]
mov ebp, dword [esi + 0x12d00]
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 0x41188a
sub esp, 0xffffff80
jmp 0x4022e2
Function at 0x5a211e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x5a213e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5a212a
add dl, dl
jne 0x5a2149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5a219a
xor eax, eax
add dl, dl
jne 0x5a2156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x5a223b
add dl, dl
jne 0x5a2165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5a2170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5a217b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5a2186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x5a2190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x5a2135
mov eax, 1
add dl, dl
jne 0x5a21a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x5a21b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5a219f
sub eax, ebx
mov ebx, 1
jne 0x5a21e6
mov ecx, 1
add dl, dl
jne 0x5a21cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x5a21d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5a21c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5a2135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x5a21fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x5a2208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x5a21f4
cmp eax, 0x7d00
jae 0x5a222b
cmp eax, 0x500
jb 0x5a2226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5a2135
cmp eax, 0x7f
ja 0x5a222e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5a2135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x5a225c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x5a2135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

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

Disassembly:
pushal
mov esi, 0x409015
lea edi, [esi - 0x8015]
push edi
or ebp, 0xffffffff
jmp 0x40e102
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e109
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e0f8
mov eax, 1
add ebx, ebx
jne 0x40e11b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e110
jne 0x40e12c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e110
xor ecx, ecx
sub eax, 3
jb 0x40e140
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e1b2
mov ebp, eax
add ebx, ebx
jne 0x40e14b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e158
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e17c
inc ecx
add ebx, ebx
jne 0x40e168
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e15d
jne 0x40e179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e15d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e19c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e18d
jmp 0x40e0fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e19c
add edi, ecx
jmp 0x40e0fe
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40e1ba
cmp byte [edi], 6
jne 0x40e1ba
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 0x40e1bf
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e22e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe56c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe60c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e1ec
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe610]
or eax, eax
je 0x40e228
mov dword [ebx], eax
add ebx, 4
jmp 0x40e209
call dword [esi + 0xe620]
mov ebp, dword [esi + 0xe614]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x40e262
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x4035b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633610
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
mov eax, dword [0x6d9120]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x20]
call fcn.00407aa0
xor eax, eax
mov dword [ebp - 4], 0
cmp byte [esi + 0x700], al
lea ecx, [ebp - 0x20]
sete al
add eax, 0x80000001
push eax
call fcn.004089b0
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
call fcn.00403300
lea ecx, [ebp - 0x20]
call fcn.00407b70
test eax, eax
jne 0x40361e
xor bl, bl
jmp 0x40364b
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push dword [ebp + 8]
call fcn.00403300
push ecx
mov ecx, esp
mov byte [ebp - 4], 1
push str.PassIDform
call fcn.00403300
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00409020
mov bl, 1
lea ecx, [ebp - 0x20]
call fcn.00407af0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x403b90
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x604
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x604]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x403bb0
lea ecx, [ebp - 0x604]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403bd0
sub ecx, edx
sar ecx, 1
add ecx, ecx
cmp word [ebp + ecx - 0x606], 0x5c
jne 0x403c02
cmp ecx, 0x400
jae 0x403c97
xor eax, eax
mov word [ebp + ecx - 0x604], ax
mov ax, word [ebp - 0x604]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test ax, ax
je 0x403c68
push esi
push edi
movzx edi, ax
xor esi, esi
nop dword [eax]
cmp di, 0x5c
je 0x403c2c
cmp di, 0x2f
jne 0x403c42
cmp word [ebp + esi - 0x606], 0x3a
je 0x403c42
push 0
lea eax, [ebp - 0x204]
push eax
call ebx
mov word [ebp + esi - 0x204], di
xor eax, eax
add esi, 2
mov word [ebp + esi - 0x204], ax
movzx eax, word [ebp + esi - 0x604]
mov edi, eax
test ax, ax
jne 0x403c20
pop edi
pop esi
push 0
lea eax, [ebp - 0x204]
push eax
call ebx
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 4]
test eax, 0x410
pop ebx
setne al
xor ecx, ebp
call fcn.005dddbe
mov esp, ebp
pop ebp
ret
call fcn.005ddef2
int3
Function at 0x403d40
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x6d9120]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x204]
push edi
push str._s.
push eax
call fcn.004079d0
add esp, 0xc
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
nop word [eax + eax]
lea eax, [ebp - 0x428]
push eax
push edi
lea eax, [ebp - 0x204]
push str._s_s
push eax
call fcn.004079d0
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
call ebx
lea eax, [ebp - 0x454]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x403d90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005dddbe
mov esp, ebp
pop ebp
ret