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

Disassembly:
mov edx, 0xee7c13d7
mov edi, 0xe78c9323
mov dl, 0x5b
push ebx
ja 0x438c14
out dx, al
sub al, byte [esi]
or byte [ebp - 0x74e3ecbc], bl
add eax, 0x29e9034c
scasd eax, dword es:[edi]
sub bl, bh
dec esi
sub eax, 0x2c76e600
sub al, 0xf
daa
cmp dword [esi + edx*2 - 0x497139d4], eax
or al, 0x9d
xor esi, 0x410e0fea
xchg edx, eax
xchg ebx, eax
and bh, byte [edi + ebp*4]
stc
je 0x438c02
sub byte [edi], al
mov bl, ah
mov dword [edi], ebx
pop es
push 0xd
inc esi
sbb ebp, dword [0xfcf56ce8]
and bh, bl
test dword [ecx - 0x48], ebp
jg 0x438c59
pop ecx
dec ebp
xchg ebx, eax
daa
cmp ecx, edx
aam 0xf8
das
in eax, dx
sbb al, 0xe2
cmp dl, byte [edx + 0x15]
mov bl, byte cs:[0x9641e5d3]
mov bl, byte [0x9641e5d3]
rcr dword [edx - 0x1ba96cf9], cl
dec esp
sbb dl, byte [edi]
push ecx
test byte [eax - 0x7f6fb409], cl
lodsd eax, dword [esi]
scasb al, byte es:[edi]
xor dword [esi - 0x63783ad0], esp
out 0x4f, al
cmp al, byte [edx - 0x67856372]
adc al, byte [esi - 0x8b554c2]
out dx, eax
mov dword [ebx + 0x37], ecx
das
adc dl, ah
test dword [ecx], 0xc8f95987
fisub dword [eax - 0x59d15126]
dec bh
xchg edx, eax
pop edi
retf
cmp eax, 0x2d7e0ec9
xchg esi, eax
cmp al, byte [eax + 0xc]
sub ah, ah
sub dword [edi + ecx*8 + 0x6d], eax
sub bl, ch
dec edi
test al, 0xfb
mov bh, al
jmp 0x438ce1
and eax, 0xc58e9723
jg 0x438d1e
std
out dx, ax
invalid
iretd
cli
xchg ebp, eax
pop ebx
inc esp
cmc
outsd dx, dword [esi]
mov esp, 0x99904764
push cs
and bl, bl
popfd
out dx, eax
jae 0x438cc5
mov ebp, 0x37049c66
mov ch, 0x91
enter 0xffffffffffff9ffd, 0xffffffffffffffc9
leave
fild qword [eax - 0x6944d5aa]
loope 0x438c98
cmp edx, edi
mov dword [0xc9d42acc], eax
lds ecx, [ecx*8 - 0x385a540f]
add ebp, dword [ebx - 0x13e7cf55]
pop esi
inc edi
sub byte [esi - 0x78de3444], 0x27
mov eax, 0x7742eeb8
mov edi, dword [esi + 0x7b347ec8]
xor bl, dh
loopne 0x438d0c
in al, dx
invalid
pop ds
sub al, bh
pop ds
mov esi, 0x88914378
jecxz 0x438cc6
jl 0x438cae
or dword [edi - 0x6b2c35ee], 0xfffffffb
xchg ebx, eax
xor bh, dh
xor dl, byte [ebx + edi + 0x2c]
iretd
Function at 0x43e018
Capabilities:
Authenticate hmac

Disassembly:
push sp
fmul qword [edi]
xchg edx, eax
dec edi
push edi
push ecx
add esi, ebx
enter 0xd7d, 0x5c
aam 0x87
inc esi
and eax, 0xef529ecd
lds ebp, [ebx]
invalid
mov edi, 0xc75249a
scasb al, byte es:[edi]
xchg ecx, eax
call 0x69ac5784
or al, 0xf0
sal dword [ebx], 0x36
inc ebx
fdivr st(4)
je 0x43dfe3
mov al, byte [0x94b0fff3]
mov al, 0x94
xchg esp, eax
sub ecx, dword [eax + 0x6b]
adc byte [edx + ebp*4], 5
pop edi
adc al, 0x4a
mov gs, word [edi + 0x69ae8467]
and ecx, dword [ecx]
jg 0x43e019
cmp eax, 0x31ab46f5
inc ebp
js 0x43dfff
dec ecx
or esi, ebx
xchg esi, eax
mov es, word [edx + 0x35]
jno 0x43e077
or ecx, ebx
mov bl, byte [eax - 0x4dc1c872]
adc esi, esp
xchg edi, eax
popfd
mov ebp, 0xc3acd7b0
dec esp
leave
inc esp
out dx, al
jnp 0x43e0d2
pushal
and byte [ecx - 0x3e], ah
add edx, ecx
jmp 0x43e0c2
lodsd eax, dword [esi]
mov ecx, 0x3a086a7e
add byte [edi + 0xc], dl
xchg byte [edi - 0x26], ah
iretd
rcr byte [ecx], cl
call 0xc93a704f
pop ebp
or esi, edx
out dx, eax
add al, 0xd0
pop eax
sub edi, 0x765ad11c
mov ch, 0xa8
inc ecx
daa
xor eax, 0x6bb87718
adc byte [edi - 0x1d], dh
jg 0x43e0b2
imul edx, dword [eax], 0x77
jecxz 0x43e136
cli
invalid
int3
call 0x46a8cd17
adc dword [eax], esi
rcr dword [eax], cl
adc dword [eax], 0xffffffaf
mov bh, 5
mov bl, 0xa5
in al, dx
jge 0x43e096
inc ebp
mov ah, 0x7d
test al, 0x5d
cmp bh, byte [eax]
mov ecx, 0x700090c8
and ecx, 0x4dadb0c0
mov byte [ebp - 0x15], bl
invalid
push ebp
add bl, byte [edi]
arpl word [edx], bp
inc ecx
push 0xd7a27597
and byte [ecx + edi*2 - 0x6fa0e2bd], cl
invalid

Function at 0x467a6f
Capabilities:
Encode data using xor

Disassembly:
shl dword [eax + 0x31], 1
add al, 0xf3
inc esp
invalid
xor ebp, ecx
dec edi
mov ah, 0xd6
pushfd
je 0x467a8e
adc esi, dword [edi]
pop es
je 0x467aa5
adc dword [ebx + 0x1f], ecx
add esi, dword [esi]
add dword [eax + ebx - 0x20], edx
cmp dword [ebx - 0x2f], 0xc363ae24
dec ebp
test dword [ebp + 0x50d4b99], 0x8abbde00
out dx, al
fdivr dword es:[esi + 0x46ba3fef]
mov ebx, 0xd826ee8a
mov esp, 0xba3fef26
inc esi
jp 0x467b04
push ebp
fldenv [edx + esi + 0xe]
xor cl, byte fs:[esi]
aas
out 0xf8, eax
push ss
fldenv [ebp - 0x4b]
movsd dword es:[edi], dword [esi]
ret
push 0xffffffffffffffe0
clc
jnp 0x467a96
push esi
jle 0x467a64
sbb byte [ecx + 0x48d58575], dl
stosb byte es:[edi], al
mov ah, 0x29
push ecx
and dword [ebp + 0x14e116cb], esi
call 0xd082778
adc eax, dword [ecx + 0xa]
pop ecx
call 0x45ffc2df
inc ebp
mov dword [ebx - 0x4b078df6], 0x26db03c9
fistp qword [edx]
xor eax, 0x3b39671b
rcr byte [ecx + ebp*4 + 0x49], 1
leave
loope 0x467b48
fsubr qword [ebp - 0x60]
jne 0x467ab8
or bl, dh
mov dword [0x41118c5c], eax
adc dword [esi + 0x75], ebp
pop edx
pop esi
popfd
jae 0x467add
in al, 0x67
add al, 0x6d
in eax, 0x64
jmp 0xecaf54d2
xor ebx, ebp
stc
dec ecx
dec ecx
or al, 0x7e
xchg esp, eax
dec esi
xchg ebp, eax
push esp
wait
invalid
Function at 0x46ec4a
Capabilities:
Authenticate hmac

Disassembly:
cmp bh, bh
cmpsd dword [esi], dword es:[edi]
scasb al, byte es:[edi]
daa
xor eax, 0x893135f
mov ebp, 0x1a847487
daa
push edx
xchg esi, eax
sub dword [ebx + 0x11], 0x700b0ae
or bh, byte [edx - 0x62454f34]
inc edi
js 0x46ecae
aam 0xdd
push ebp
sub al, 0x81
add al, 0x96
and eax, 0x114f434a
pop ecx
scasb al, byte es:[edi]
xor byte [esi], dl
cmp byte es:[ecx], bl
div dword [edi - 0x29cbc93]
sar dword [esi - 0x4913672e], cl
xchg esi, eax
cwde
in al, dx
mov dh, 0x36
xchg esi, eax
and byte [esi], 0x6a
jecxz 0x46ec88
xlatb
shl byte [edi + 0x226cd965], 0x5c
das
popfd
xor dword es:[esi - 0x3184ff5f], edi
invalid
xor ecx, esi
or al, 0x1c
mov dword [0xbb04e4e2], eax
pop ebx
sbb byte [eax + ebp + 0x1e00f2bc], dh
cmp al, 0xb5
clc
cmpsb byte [esi], byte es:[edi]
adc dword [esi + 0x2680d919], 0xf4cc36e
cmp al, 0x22
push esp
xchg ecx, eax
cli
enter 0x2e9a, 0xffffffffffffffcf
invalid

Function at 0x488c70
Capabilities:
Encode data using xor

Disassembly:
sbb eax, 0x416bfcd1
or esp, dword [ecx - 0x418e8cbe]
inc eax
sub ecx, edx
xlatb
lcall 0x1026, 0x5268922
mov bl, 0xeb
invalid

Function at 0x49aba0
Capabilities:
Encode data using xor

Disassembly:
sbb byte [eax], al
push ebx
lds edi, [eax]
mov byte [0xa6ce6cfd], al
and al, 3
neg al
mov edi, 0x570d5f05
cli
jmp 0x49ab9f
sub edi, esi
or edi, dword [edx - 0x66]
cld
push eax
mov bh, 0x37
test eax, 0x6717c36f
sub ch, dh
sub ch, dh
cmpsd dword [esi], dword es:[edi]
cmp dword [ebx], 0xffffffca
cld
push edi
lahf
push ebx
mov eax, dword [0x88ea2b0d]
movsd dword es:[edi], dword [esi]
mov cl, 0x1f
aad 0xff
shl bl, cl
scasd eax, dword es:[edi]
sahf
mov edi, 0x881dae13
push cs
inc esp
lcall 0xe48e, 0x18e90479
sar ah, 0xcd
or ah, byte [ebp - 0x72]
or eax, dword [ebp - 0x6e]
dec ebp
xor al, 0x3c
in al, dx
mov ebp, 0x3484dbbd
mov dword [0xc261022c], eax
ficomp dword [edi]
xchg edx, eax
push 0xe48c45b3
cli
rcl byte [edi + esi*4 - 0x1c], 0xb6
push ebx
mov ah, 0xf
cmp ch, bl
and eax, dword [edi + 2]
pop esi
jge 0x49abad
popal
sbb byte [0xa18ca0e9], dl
sub al, bh
int 0x84
in eax, dx
movsb byte es:[edi], byte [esi]
invalid

Function at 0x4bbdb7
Capabilities:
Terminate process

Disassembly:
dec esp
add byte [ebx + 0xc247c], al
push ebx
mov ebx, dword [esp + 0x14]
mov dword [0x4c9d3c], edi
mov byte [0x4c9d38], bl
jne 0x4bbe0d
mov eax, dword [0x4ca3d0]
test eax, eax
je 0x4bbdfc
mov ecx, dword [0x4ca3cc]
push esi
lea esi, [ecx - 4]
cmp esi, eax
jb 0x4bbdfb
mov eax, dword [esi]
test eax, eax
je 0x4bbdf0
call eax
sub esi, 4
cmp esi, dword [0x4ca3d0]
jae 0x4bbde8
pop esi
push 0x4c5018
push 0x4c5014
call fcn.004bbe4e
pop ecx
pop ecx
push 0x4c5020
push 0x4c501c
call fcn.004bbe4e
pop ecx
pop ecx
test ebx, ebx
pop ebx
je 0x4bbe2a
call fcn.004bbe45
pop edi
ret
push dword [esp + 8]
mov dword [0x4c9d40], edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4bc905
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c5368
cmp edx, dword [eax]
je 0x4bc927
add eax, 8
inc ecx
cmp eax, 0x4c53f8
jl 0x4bc918
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c5368]
jne 0x4bca55
mov eax, dword [0x4c9cfc]
cmp eax, 1
je 0x4bca2f
test eax, eax
jne 0x4bc958
cmp dword [0x4c5290], 1
je 0x4bca2f
cmp edx, 0xfc
je 0x4bca55
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bc98f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004bd2f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bd780
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bc9d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bd780
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c1b3c
push edi
call fcn.004bf650
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004bd2f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bd300
lea eax, [ebp - 0xa0]
push 0x4c1b1c
push eax
call fcn.004bd300
push dword [esi + 0x4c536c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bd300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004bf5c4
add esp, 0x2c
pop edi
jmp 0x4bca55
lea eax, [ebp + 8]
lea esi, [esi + 0x4c536c]
push 0
push eax
push dword [esi]
call fcn.004bd780
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 0x401000
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
push ebx
or dword [ebp - 4], 0xffffffff
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp + 0xc]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
mov dword [ecx], 0xfffffff6
je 0x4010bc
push ebx
push ebx
push ebx
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4010b3
push edi
push ebx
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x4010a9
cmp dword [edi], 0x4643534d
jne 0x40109d
push esi
mov esi, dword [edi + 0x10]
add esi, edi
cmp word [edi + 0x1c], bx
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
jbe 0x40109c
mov eax, dword [esi]
add esi, 0x11
add dword [ebp - 4], eax
push esi
call fcn.004075b0
inc dword [ebp + 8]
lea esi, [esi + eax + 1]
mov ax, word [ebp + 8]
pop ecx
cmp ax, word [edi + 0x1c]
jb 0x40107c
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop ebx
leave
ret

Function at 0x4010c2
Capabilities:
Terminate process

Disassembly:
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0xc]
call fcn.00401151
add esp, 0xc
mov dword [0x416138], eax
test eax, eax
jne 0x4010ed
call fcn.004023dd
test eax, eax
mov dword [0x416138], eax
je 0x401113
jle 0x40110c
cmp dword [0x4160ec], 0
jne 0x40110c
push 0x10
push 1
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call main
add esp, 0x10
call fcn.00404e58
jmp 0x401145
call fcn.00404e58
test eax, eax
mov dword [0x416138], eax
je 0x401137
push 0x10
push 1
push eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call main
add esp, 0x10
jmp 0x401145
mov eax, dword [0x416170]
test eax, eax
je 0x401145
mov dword [0x416138], eax
push dword [0x416138]
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x404653
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push 1
and byte [ebp - 0x110], 0
pop edx
push 0x40
xor eax, eax
pop esi
lea edi, [ebp - 0x10f]
mov ecx, esi
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0xc], 0
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
push edx
mov dword [ebp - 8], edx
push dword [0x41617c]
stosb byte es:[edi], al
mov edi, str._spftw_d.pkg
lea eax, [ebp - 0x110]
push edi
push eax
call ebx
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004014c2
add esp, 0x18
test eax, eax
je 0x4047c1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x110]
push eax
call entry0
cmp dword [ebp - 4], 0
pop ecx
pop ecx
jl 0x4046db
add dword [ebp - 0xc], eax
inc dword [ebp - 8]
jmp 0x4046e1
cmp dword [ebp - 4], 0xfffffff6
je 0x4046f4
push dword [ebp - 8]
lea eax, [ebp - 0x110]
push dword [0x41617c]
push edi
push eax
jmp 0x4046a0
and byte [ebp - 0x318], 0
mov ecx, esi
xor eax, eax
lea edi, [ebp - 0x317]
rep stosd dword es:[edi], eax
and byte [ebp - 0x41c], 0
mov ecx, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x41b]
rep stosd dword es:[edi], eax
and byte [ebp - 0x214], 0
mov ecx, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov esi, 0x104
lea eax, [ebp - 0x318]
push esi
mov edi, 0x13e
push eax
push edi
push dword [0x4160d8]
call dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [ebp - 0x318]
push esi
push eax
push edi
push str.Strings
call fcn.00401457
add esp, 0x10
lea eax, [ebp - 0x214]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x214]
push 4
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x41c]
push eax
call ebx
add esp, 0xc
lea eax, [ebp - 0x41c]
push 0x10
push dword [0x4161a4]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 4], 0xfffffff6
pop edi
pop esi
pop ebx
jne 0x4047ce
xor eax, eax
leave
ret
push dword [ebp - 0xc]
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.004047e1
add esp, 0xc
leave
ret
Function at 0x40bb71
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4156d8
cmp edx, dword [eax]
je 0x40bb93
add eax, 8
inc ecx
cmp eax, 0x415768
jl 0x40bb84
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4156d8]
jne 0x40bcc1
mov eax, dword [0x416330]
cmp eax, 1
je 0x40bc9b
test eax, eax
jne 0x40bbc4
cmp dword [0x4152e4], 1
je 0x40bc9b
cmp edx, 0xfc
je 0x40bcc1
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40bbfb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407da0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004075b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40bc3e
lea eax, [ebp - 0x1a4]
push eax
call fcn.004075b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x413748
push edi
call fcn.0040ce10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407da0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407db0
lea eax, [ebp - 0xa0]
push 0x4151cc
push eax
call fcn.00407db0
push dword [esi + 0x4156dc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407db0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040cd7d
add esp, 0x2c
pop edi
jmp 0x40bcc1
lea eax, [ebp + 8]
lea esi, [esi + 0x4156dc]
push 0
push eax
push dword [esi]
call fcn.004075b0
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 0x40f2ed
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, eax
dec eax
test edi, edi
jle 0x40f32d
lea edi, [eax + 1]
movzx eax, byte [ecx]
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or eax, ebx
inc ecx
xor edx, eax
dec edi
jne 0x40f30b
and esi, 3
xor eax, eax
dec esi
je 0x40f349
dec esi
je 0x40f342
dec esi
jne 0x40f34e
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, edx
pop ebx
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x5a856b5e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
mov ecx, 0x7fe7729b
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x413004]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], 0x401000
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x1e
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], str.Window
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0x5c
push 0x114
push 0
push 0
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.USER32.dll_SetRect]
push 0
push 0xc80000
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push 0
push 0x80000000
push 0xc80000
push str.Create_Sparse_File
push str.Window
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x18], eax
push 0xa
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x401399
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x401397
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x5c]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x40135d
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004013ac
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100691a
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push 5
pop ecx
mov esi, 0x10033e0
lea edi, [ebp - 0x18]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [0x10033e0]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
je 0x100696b
push eax
push dword [ebp - 0x18]
push 0x10048d0
push 1
call fcn.01006a35
add esp, 0x10
jmp 0x10069a1
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
push dword [ebp - 0x14]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, esi
je 0x1006998
push eax
push dword [ebp - 0x18]
push 0x1004938
push 1
call fcn.01006a35
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x1007057
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x10134f0
call fcn.010076e4
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1025100
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1006e0c
cmp eax, esi
jne 0x1006dff
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1006e0f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006de6
xor esi, esi
inc esi
mov eax, dword [0x10250fc]
cmp eax, esi
jne 0x1006e22
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1006e51
mov eax, dword [0x10250fc]
test eax, eax
jne 0x1006e4b
mov dword [0x10250fc], esi
push 0x1001340
push 0x1001334
call fcn.01006d4b
pop ecx
pop ecx
test eax, eax
je 0x1006e51
jmp 0x1006f79
mov dword [0x10181d4], esi
mov eax, dword [0x10250fc]
cmp eax, esi
jne 0x1006e75
push 0x1001330
push 0x100130c
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10250fc], 2
test ebx, ebx
jne 0x1006e81
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1025108], 0
je 0x1006ea5
push 0x1025108
call fcn.01007659
pop ecx
test eax, eax
je 0x1006ea5
push 0
push 2
push 0
call dword [0x1025108]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1006f01
test al, al
je 0x1006ebf
cmp dword [ebp - 0x1c], 0
jne 0x1006f01
mov al, byte [esi]
test al, al
je 0x1006ecf
cmp al, 0x20
ja 0x1006ecf
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1006ebf
test byte [ebp - 0x3c], 1
je 0x1006edb
movzx eax, word [ebp - 0x38]
jmp 0x1006ede
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x10181d0], eax
cmp dword [0x10181c4], 0
jne 0x1006f55
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1006f10
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x1006f23
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1006eac
cmp dword [0x10181d4], 0
jne 0x1006f64
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10181d0]
jmp 0x1006f85
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01007729
ret
call fcn.010078ca
jmp 0x1006dac