joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c715
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43c752
cmp dword [ebp + 0x14], edi
je 0x43c752
cmp ecx, edi
jne 0x43c759
call fcn.0043de00
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043b0e7
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43c76d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43c78e
cmp ebx, 0xffffffff
je 0x43c77d
push ebx
push edi
push ecx
call fcn.0043d930
add esp, 0xc
cmp esi, edi
je 0x43c73a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43c73a
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43c7aa
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43c7b1
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43c8a2
test word [esi + 0xc], 0x10c
je 0x43c805
mov eax, dword [esi + 4]
test eax, eax
je 0x43c805
jl 0x43c903
cmp ebx, eax
mov edi, ebx
jb 0x43c7d6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43c8aa
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043a4d5
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43c89a
cmp ebx, dword [ebp - 0xc]
jb 0x43c872
cmp dword [ebp - 0xc], 0
je 0x43c82f
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43c824
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43c82b
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43c83a
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43c83a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43c8d6
push eax
push dword [ebp - 8]
push esi
call fcn.0044384a
pop ecx
push eax
call fcn.00444781
add esp, 0xc
test eax, eax
je 0x43c915
cmp eax, 0xffffffff
je 0x43c903
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43c89a
push esi
call fcn.00443877
cmp eax, 0xffffffff
pop ecx
je 0x43c907
cmp dword [ebp - 4], 0
je 0x43c8d6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43c7b9
mov eax, dword [ebp + 0x14]
jmp 0x43c754
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43c8c1
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043d930
add esp, 0xc
call fcn.0043de00
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43c74a
cmp dword [ebp + 0xc], 0xffffffff
je 0x43c8ec
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043d930
add esp, 0xc
call fcn.0043de00
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43c74a
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43c754
or dword [esi + 0xc], 0x10
jmp 0x43c907
Function at 0x43ecd3
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x46b338]
je 0x43ecee
inc edi
cmp edi, 0x17
jb 0x43ecdf
cmp edi, 0x17
jae 0x43ee6e
push ebp
push 3
call fcn.00446e2e
cmp eax, 1
pop ecx
je 0x43ee3a
push 3
call fcn.00446e2e
test eax, eax
pop ecx
jne 0x43ed22
cmp dword [0x46b060], 1
je 0x43ee3a
cmp ebx, 0xfc
je 0x43ee6d
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x5a0018
push ebp
call fcn.0043acc6
add esp, 0xc
test eax, eax
je 0x43ed58
push esi
push esi
push esi
push esi
push esi
call fcn.0043afeb
add esp, 0x14
push 0x104
mov esi, 0x5a0031
push esi
push 0
mov byte [0x5a0135], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x43ed9c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043acc6
add esp, 0xc
test eax, eax
je 0x43ed9c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043afeb
add esp, 0x14
push esi
call fcn.0043d220
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x43ede1
push esi
call fcn.0043d220
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5a032c
push 0x452bdc
sub ecx, eax
push ecx
push eax
call fcn.00446d7b
add esp, 0x14
test eax, eax
je 0x43ede1
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043afeb
add esp, 0x14
jmp 0x43ede3
xor esi, esi
push 0x452bd8
push ebx
push ebp
call fcn.0043cf1b
add esp, 0xc
test eax, eax
je 0x43ee03
push esi
push esi
push esi
push esi
push esi
call fcn.0043afeb
add esp, 0x14
push dword [edi*8 + 0x46b33c]
push ebx
push ebp
call fcn.0043cf1b
add esp, 0xc
test eax, eax
je 0x43ee25
push esi
push esi
push esi
push esi
push esi
call fcn.0043afeb
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00446bbe
add esp, 0xc
jmp 0x43ee6d
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x43ee6d
cmp ebp, 0xffffffff
je 0x43ee6d
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x46b33c]
push dword [esi]
call fcn.0043d220
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x446bbe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043efb2
xor ebx, ebx
cmp dword [0x5a09f8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x446c94
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x446d74
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4536d4
push edi
call esi
cmp eax, ebx
je 0x446d74
push eax
call fcn.0043ef44
mov dword [esp], 0x4536c4
push edi
mov dword [0x5a09f8], eax
call esi
push eax
call fcn.0043ef44
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x5a09fc], eax
call esi
push eax
call fcn.0043ef44
mov dword [0x5a0a00], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043be27
test eax, eax
pop ecx
pop ecx
je 0x446c62
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043afeb
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x446c94
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043ef44
cmp eax, ebx
pop ecx
mov dword [0x5a0a08], eax
je 0x446c94
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043ef44
pop ecx
mov dword [0x5a0a04], eax
mov eax, dword [0x5a0a04]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x446d19
cmp dword [0x5a0a08], ecx
je 0x446d19
push eax
call fcn.0043efbb
push dword [0x5a0a08]
mov esi, eax
call fcn.0043efbb
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x446d19
cmp edi, ebx
je 0x446d19
call esi
cmp eax, ebx
je 0x446ce6
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x446ce6
test byte [ebp - 0x18], 1
jne 0x446d19
lea eax, [ebp - 0x10]
push eax
call fcn.0043be5e
test eax, eax
pop ecx
je 0x446d01
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043afeb
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x446d10
or dword [ebp + 0x10], 0x200000
jmp 0x446d54
or dword [ebp + 0x10], 0x40000
jmp 0x446d54
mov eax, dword [0x5a09fc]
cmp eax, dword [ebp - 8]
je 0x446d54
push eax
call fcn.0043efbb
cmp eax, ebx
pop ecx
je 0x446d54
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x446d54
mov eax, dword [0x5a0a00]
cmp eax, dword [ebp - 8]
je 0x446d54
push eax
call fcn.0043efbb
cmp eax, ebx
pop ecx
je 0x446d54
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5a09f8]
call fcn.0043efbb
cmp eax, ebx
pop ecx
je 0x446d74
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446d76
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6f4746
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.00410b80
mov edi, dword [esi + 0xe338]
cmp cl, 0xdf
mov ebx, eax
mov eax, dword [esi + ebx*4 + 0xe334]
add cx, bp
imul eax, ebp
xor cx, bx
xor edx, edx
ror ecx, 0xea
div edi
rol cl, 0x1c
sal cl, 0x91
mov ecx, dword [esi + 0xd468]
cmp ebp, 0x5cf05fd0
xor edx, edx
lea eax, [eax + ecx]
mov dword [esi + 0xd46c], eax
nop
mov eax, dword [esi + ebx*4 + 0xe338]
test bl, 0x69
imul eax, ebp
ror ebp, 0xad
jmp 0x70e170
push ebp
bswap ebp
mov ebp, dword [esi + 0xd46c]
clc
bts ebx, esp
sub ebp, ecx
cmp bp, 0x6c4
lea eax, [eax - 1]
btc bx, sp
shrd ebx, edi, 0xfd
xor edx, edx
sar bx, 0xf2
movzx ebx, bx
div ebp
mov bh, al
movzx bx, ch
not bl
push edi
cmovle bx, dx
movsx ebx, bx
mov ebx, esi
mov ebx, esi
mov di, 0x7ecc
xchg di, di
mov edi, eax
jmp 0x5cbb0e
mov ecx, dword [esi + 0xd468]
cmc
mov eax, dword [esi + 0xd470]
btc dx, 0xc1
sal dx, cl
mov edx, dword [esi + 0xe338]
cmc
sub eax, ecx
add eax, 1
imul eax, edx
cmc
push ebx
jmp 0x5e523f
div edi
shl bp, 0xd8
mov edi, 0xffff0000
and ebp, 0x554f3589
adc ebp, esi
mov ebp, 0xffff8000
clc
cmp eax, 0x5d7514ad
add eax, ecx
test sp, 0x6da2
mov dword [esi + 0xd468], eax
lea esp, [esp]
rol ax, cl
adc ah, dl
btc ax, ax
Function at 0x405d6b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a0c], 0
push esi
jne 0x405da2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405d7c
mov dword [ecx*4 + 0x422a08], eax
inc ecx
cmp ecx, 0x100
jl 0x405d77
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405dd3
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a08]
xor eax, esi
inc ecx
dec edx
jne 0x405db5
pop edi
not eax
pop esi
ret 0xc

Function at 0x416213
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00416292
jae 0x41621f
xor ecx, ecx
call fcn.00416292
jae 0x416249
xor eax, eax
call fcn.00416292
jae 0x41625a
mov al, 0x10
call fcn.00416292
adc al, al
jae 0x41623b
jne 0x416287
stosb byte es:[edi], al
jmp 0x416220
call fcn.0041629e
dec ecx
loop 0x416266
mov eax, ebp
call fcn.0041629c
jmp 0x416288
lodsb al, byte [esi]
shr eax, 1
je 0x4162ae
adc ecx, 2
mov ebp, eax
jmp 0x416288
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0041629c
cmp eax, 0x7d00
jae 0x416286
cmp eax, 0x500
jae 0x416287
cmp eax, 0x7f
ja 0x416288
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416220
pop ebp
ret 8

Function at 0x401750
Capabilities:
Terminate process

Disassembly:
mov ah, 0x40
add byte [esi + 0x13134014], dh
xlatb
inc eax
ficom word [0xcfca011b]
sbb ebx, dword [ebx]
add bl, byte [ebx]
insd dword es:[edi], dx
int3
and al, 0x8b
in al, dx
mov eax, dword [ebp + 8]
mov ecx, dword [0x7740e5c8]
push esp
or byte [ebx + 0x40e5c80d], cl
ja 0x4017b1
add ecx, 0x19
push 0x40d274
adc eax, 0xc18015ff
inc eax
in eax, 0xa1
pop edi
jp 0x4017b1
add byte [ebx - 0x3f7af33c], al
je 0x4016fd
push eax
xchg ebp, eax
push esp
ror byte [ebp + 0x6440ffca], cl
rol dword [eax], 0x83
les ecx, [eax]
push 1
call dword [sym.imp.MSVCRT.dll_exit]
nop
push ebp
xor byte [ebx + 0x36ec5d], cl
add al, al
mov eax, dword [0xa6410278]
test eax, eax
movsd dword es:[edi], dword [esi]
dec esp
inc eax
inc ecx
add byte [esp + edx + 0x68], dh
inc eax
cmp al, 0x41
add byte [eax - 0x18], dl
sahf
inc eax
add byte [eax], al
mov cx, word [0x418d74]
add byte [esi - 0x75], ah
or eax, 0x418d74
fist word [edx + ebx*4]
adc eax, 0x411800
push edx
push eax
call 0x7a405850
jmp 0x401755
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x407ef8
nop
mov ecx, 0xf9964f2
nop
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..text
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x14f679a3
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
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 0x430000
Capabilities:
Authenticate hmac
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
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x405f80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00405bd9
push eax
push esi
push dword [ebp + 8]
call fcn.00405b8e
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x406064
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00405bd9
push eax
push esi
push dword [ebp + 8]
call fcn.00405b8e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00405bc9
push ds
insb byte es:[edi], dx
xchg dword [eax + ecx*4], esi
popfd
jl 0x40604e
invalid
invalid

Function at 0x4064a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00405bd9
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00405b8e
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x3d3d5639
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
mov ecx, 0x518a4f0a
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x55136f3c
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
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
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
mov esi, 0x16551867
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x48ee74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a9b30]
jne 0x48ee7e
repz ret
jmp fcn.00493927

Function at 0x491ab1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a9b30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0048c052
and dword [ebp - 0x14], 0
cmp dword [0x4acb0c], 0
mov dword [ebp - 0x18], eax
jne 0x491b64
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x491c0c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x491c0c
mov esi, dword [fcn.00488080]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4acb0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4acb10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4acb14], eax
call edi
push eax
call esi
mov dword [0x4acb1c], eax
test eax, eax
je 0x491b64
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4acb18], eax
mov eax, dword [0x4acb18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.00488084]
cmp eax, ecx
je 0x491bbd
cmp dword [0x4acb1c], ecx
je 0x491bbd
push eax
call esi
push dword [0x4acb1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x491bbd
test ebx, ebx
je 0x491bbd
call edi
test eax, eax
je 0x491bb4
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x491bb4
test byte [ebp - 8], 1
jne 0x491bbd
or dword [ebp + 0x10], 0x200000
jmp 0x491bf0
mov eax, dword [0x4acb10]
cmp eax, dword [ebp - 0x18]
je 0x491bf0
push eax
call esi
test eax, eax
je 0x491bf0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x491bf0
mov eax, dword [0x4acb14]
cmp eax, dword [ebp - 0x18]
je 0x491bf0
push eax
call esi
test eax, eax
je 0x491bf0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4acb0c]
call esi
test eax, eax
je 0x491c0c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x491c0e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048ee74
leave
ret

Function at 0x438ca9
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x438a14
sub edi, 0xfdf1dc7
call fcn.00438cd4
mov edi, edx
xor dword [eax], ecx
sub edx, 0x5e125e4d
add edx, edi
inc edx
inc eax
push edx
pop edx
cmp eax, esi
jne fcn.00438ca9
add edx, edx
dec edx
ret
Function at 0x4097d0
Capabilities:
Copy file
Get disk information
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x618
push esi
xor esi, esi
cmp dword [0x46554c], 0x516
jne 0x4097f0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualLock]
mov eax, dword [ebp + 0xc]
shr eax, 3
cmp eax, esi
jbe 0x4098f1
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
push edi
mov dword [ebp + 0xc], ecx
mov dword [ebp - 4], eax
cmp dword [0x46554c], 0x29
jne 0x409843
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x4013c0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
cmp dword [0x46554c], 0xe1b
jne 0x40985d
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp dword [0x46554c], 0x1c
jne 0x4098b0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
lea eax, [ebp - 8]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
push esi
push esi
push esi
lea eax, [ebp - 0xd8]
push eax
call ebx
push esi
push esi
push esi
push esi
call ebx
push esi
lea eax, [ebp - 0x618]
push eax
push 0x4013f0
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
push esi
call dword [sym.imp.KERNEL32.dll_LocalSize]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0040967e
cmp dword [0x46554c], 0x4fa
jne 0x4098e2
xor eax, eax
mov word [ebp + 8], ax
lea edi, [ebp + 0xa]
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterW]
add dword [ebp + 0xc], 8
dec dword [ebp - 4]
jne 0x40980f
pop edi
pop ebx
pop esi
leave
ret 0xc