joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b30
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.0040c6f0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x412bcb
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x578630]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x412bcb
cmp eax, 1
je 0x412bec
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x412bcb
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x412b98
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x412bc7
xor eax, eax
inc eax
jmp 0x412c0b
cmp edi, eax
jae 0x412bcf
xor eax, eax
jmp 0x412c0b
cmp eax, esi
jae 0x412bd6
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x578630]
jmp 0x412bef
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x412ee3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x5787f0], ebx
push esi
push edi
jne 0x412f63
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x412f9e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
mov dword [0x5787f0], eax
je 0x412f9e
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x5787f4], eax
call esi
cmp dword [0x578630], 2
mov dword [0x5787f8], eax
jne 0x412f63
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x578800], eax
je 0x412f63
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x5787fc], eax
mov eax, dword [0x5787fc]
test eax, eax
je 0x412fa8
call eax
test eax, eax
je 0x412f8f
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x578800]
test eax, eax
je 0x412f8f
test byte [ebp - 8], 1
jne 0x412fa8
cmp dword [0x57863c], 4
jb 0x412fa2
or byte [ebp + 0x12], 0x20
jmp 0x412fc7
xor eax, eax
jmp 0x412fd7
or byte [ebp + 0x12], 4
jmp 0x412fc7
mov eax, dword [0x5787f4]
test eax, eax
je 0x412fc7
call eax
mov ebx, eax
test ebx, ebx
je 0x412fc7
mov eax, dword [0x5787f8]
test eax, eax
je 0x412fc7
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x5787f0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413104
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x413132
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x413139
cmp ebx, dword [eax + 4]
jae 0x413139
xor eax, eax
jmp 0x413329
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x41314a
xor eax, eax
inc eax
jmp 0x413328
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x413160
cmp ecx, edx
jae 0x4132a5
cmp dword [eax + 4], 0
je 0x413169
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x413151
cmp dword [ebp + 8], 0
je 0x41318b
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x4132a5
cmp eax, esi
jae 0x4132a5
mov eax, dword [0x578808]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x4131b0
cmp dword [esi*4 + 0x578810], edi
je 0x4132a9
inc esi
cmp esi, eax
jl 0x41319e
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x413325
cmp dword [ebp - 8], 0x1000000
jne 0x413325
test byte [ebp - 0xc], 0xcc
je 0x41322e
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x413325
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x413325
cmp word [eax + 0x18], 0x10b
jne 0x413325
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x413325
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x41322e
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x41322e
test byte [ecx + 0x27], 0x80
jne 0x4132a5
push 1
push 0x578850
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x413142
mov ecx, dword [0x578808]
test ecx, ecx
mov edx, ecx
jle 0x413262
lea eax, [ecx*4 + 0x57880c]
cmp dword [eax], edi
je 0x413262
dec edx
sub eax, 4
test edx, edx
jg 0x413256
test edx, edx
jne 0x413293
push 0xf
pop ebx
cmp ecx, ebx
jg 0x41326f
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x413287
lea eax, [edx*4 + 0x578810]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x413275
cmp ecx, 0x10
jge 0x413293
inc ecx
mov dword [0x578808], ecx
push 0
push 0x578850
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x413142
xor eax, eax
jmp 0x413328
test esi, esi
jle 0x413142
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x578850
call ebx
test eax, eax
jne 0x413142
cmp dword [esi*4 + 0x578810], edi
je 0x4132ff
mov eax, dword [0x578808]
lea esi, [eax - 1]
test esi, esi
jl 0x4132ed
cmp dword [esi*4 + 0x578810], edi
je 0x4132e9
dec esi
jns 0x4132dd
test esi, esi
jge 0x4132fd
cmp eax, 0x10
jge 0x4132f8
inc eax
mov dword [0x578808], eax
lea esi, [eax - 1]
jmp 0x4132ff
je 0x413317
xor ecx, ecx
test esi, esi
jl 0x413317
lea eax, [ecx*4 + 0x578810]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x413305
push 0
push 0x578850
call ebx
jmp 0x413142
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4141b3
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x4141cc
or eax, 0xffffffff
jmp 0x41422d
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x414229
push 0x3d
push esi
call fcn.004155be
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x414229
cmp esi, eax
je 0x414229
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x578650]
sete cl
cmp eax, dword [0x578654]
mov dword [ebp - 8], ecx
jne 0x41420f
mov edi, eax
call fcn.00414152
mov dword [0x578650], eax
cmp eax, ebx
jne 0x414268
cmp dword [ebp + 0xc], ebx
je 0x414231
cmp dword [0x578658], ebx
je 0x414231
call fcn.0041049f
test eax, eax
je 0x414268
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x41423a
xor eax, eax
jmp 0x41422c
push 4
call fcn.0040cb75
cmp eax, ebx
pop ecx
mov dword [0x578650], eax
je 0x414229
mov dword [eax], ebx
cmp dword [0x578658], ebx
jne 0x414268
push 4
call fcn.0040cb75
cmp eax, ebx
pop ecx
mov dword [0x578658], eax
je 0x414229
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x578650]
call fcn.00414105
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x4142c9
cmp dword [esi], ebx
je 0x4142c9
lea esi, [esi + edi*4]
push dword [esi]
call fcn.0040d518
cmp dword [ebp - 8], ebx
pop ecx
jne 0x4142ac
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x41430a
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x4142a3
mov eax, edi
shl eax, 2
push eax
push dword [0x578650]
call fcn.00410598
cmp eax, ebx
pop ecx
pop ecx
je 0x41430a
jmp 0x414305
cmp dword [ebp - 8], ebx
jne 0x414375
cmp edi, ebx
jge 0x4142d8
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x578650]
call fcn.00410598
cmp eax, ebx
pop ecx
pop ecx
je 0x414229
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x578650], eax
cmp dword [ebp + 0xc], ebx
je 0x41435f
push dword [ebp - 4]
call fcn.0040cbb0
inc eax
inc eax
push eax
call fcn.0040cb75
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x41435f
push dword [ebp - 4]
push esi
call fcn.00411c70
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x414358
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.0040d518
pop ecx
cmp dword [ebp - 8], ebx
je 0x41436d
push dword [ebp - 4]
call fcn.0040d518
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x41422c
push dword [ebp - 4]
call fcn.0040d518
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x414236
Function at 0x41474a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
cmp esi, dword [0x5798c8]
push edi
jae 0x41491f
mov eax, esi
sar eax, 5
lea edi, [eax*4 + 0x5798e0]
mov eax, dword [edi]
and esi, 0x1f
shl esi, 3
add eax, esi
mov dl, byte [eax + 4]
test dl, 1
je 0x41491f
and dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
je 0x4147f5
test dl, 2
jne 0x4147f5
test dl, 0x48
je 0x4147bf
cmp byte [eax + 5], 0xa
je 0x4147bf
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea ecx, [ebx + 1]
mov dword [ebp - 0xc], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push ecx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x414808
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop ecx
cmp eax, ecx
jne 0x4147f0
mov dword [0x578628], ecx
jmp 0x414926
cmp eax, 0x6d
jne 0x4147fc
xor eax, eax
jmp 0x414933
push eax
call fcn.004122de
pop ecx
jmp 0x414930
mov eax, dword [ebp - 0x10]
mov ecx, dword [edi]
add dword [ebp - 0xc], eax
test byte [ecx + esi + 4], 0x80
je 0x41491a
test eax, eax
je 0x41482f
cmp byte [ebx], 0xa
jne 0x41482f
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x414838
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, eax
cmp eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jae 0x414914
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, 0x1a
je 0x414904
cmp al, 0xd
je 0x41486a
mov byte [ebx], al
inc ebx
inc dword [ebp - 8]
jmp 0x4148f6
dec ecx
cmp dword [ebp - 8], ecx
jae 0x414884
mov eax, dword [ebp - 8]
inc eax
cmp byte [eax], 0xa
jne 0x41487f
add dword [ebp - 8], 2
jmp 0x4148d8
mov dword [ebp - 8], eax
jmp 0x4148f2
inc dword [ebp - 8]
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4148ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4148f2
cmp dword [ebp - 0x10], 0
je 0x4148f2
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x4148cd
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x4148d8
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x4148f5
cmp ebx, dword [ebp + 0xc]
jne 0x4148dd
cmp byte [ebp - 1], 0xa
jne 0x4148dd
mov byte [ebx], 0xa
jmp 0x4148f5
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00414ad8
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x4148f6
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 0xc]
cmp dword [ebp - 8], ecx
jb 0x41484e
jmp 0x414914
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x414914
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 0xc]
jmp 0x414933
and dword [0x578628], 0
mov dword [0x578624], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41497c
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0040c6f0
mov eax, dword [0x41b0e0]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x5798c8]
mov dword [ebp - 4], eax
jae 0x414abf
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x5798e0]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x414abf
push 1
push esi
push ebx
call fcn.00414ad8
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 0x1008], eax
je 0x414ac9
push 2
push esi
push ebx
call fcn.00414ad8
add esp, 0xc
cmp eax, 0xffffffff
je 0x414ac9
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x414a69
push 0x1000
lea eax, [ebp - 0x1004]
push esi
push eax
call fcn.00412ad0
push 0x8000
push ebx
call fcn.00415625
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x414a28
mov eax, edi
push eax
lea eax, [ebp - 0x1004]
push eax
push ebx
call fcn.00412507
add esp, 0xc
cmp eax, 0xffffffff
je 0x414a46
sub edi, eax
test edi, edi
jg 0x414a1d
jmp 0x414a5c
cmp dword [0x578628], 5
jne 0x414a59
mov dword [0x578624], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00415625
pop ecx
pop ecx
jmp 0x414aa9
jge 0x414aa9
push 0
push dword [ebp + 0xc]
push ebx
call fcn.00414ad8
push ebx
call fcn.004124cb
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x414aa9
mov dword [0x578624], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x578628], eax
push 0
push dword [ebp - 0x1008]
push ebx
call fcn.00414ad8
add esp, 0xc
mov eax, esi
pop edi
jmp 0x414acc
mov dword [0x578624], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.0040c0d7
leave
ret

Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x431072
nop
mov ebx, 0x40915c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7b8d5bf2
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..7LWLf
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4310d2
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3c3e4c68
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
sub eax, 0x403d10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x69cd70
Capabilities:
Hash data using sha1

Disassembly:
mov edx, dword [esp + 4]
push edi
mov ecx, 0x17
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], 0xc3d2e1f0
pop edi
ret

Function at 0x69ce50
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x28]
push ebp
mov edx, dword [eax + 0x10]
mov ecx, dword [eax]
mov ebp, dword [eax + 0xc]
push esi
mov esi, dword [eax + 8]
mov dword [esp + 0x18], edx
push edi
xor dl, dl
xor edi, edi
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ebp
mov byte [esp + 0x13], dl
mov dword [esp + 0x24], edi
cmp edi, 0x3c
ja case.0x69ce92.4
xor eax, eax
mov al, byte [edi + 0x69cfec]
jmp dword [eax*4 + 0x69cfd8]
mov dword [esp + 0x14], 0x5a827999
jmp case.0x69ce92.4
mov dword [esp + 0x14], 0x6ed9eba1
jmp case.0x69ce92.4
mov dword [esp + 0x14], 0x8f1bbcdc
jmp case.0x69ce92.4
mov dword [esp + 0x14], 0xca62c1d6
mov al, dl
and al, 0xf
cmp dl, 0xf
mov byte [esp + 0x28], al
mov edi, dword [esp + 0x28]
jbe 0x69cf0c
mov edx, edi
and edx, 0xff
lea eax, [edx - 8]
lea ebp, [edx - 3]
and eax, 0xf
and ebp, 0xf
mov eax, dword [ebx + eax*4]
xor eax, dword [ebx + ebp*4]
lea ebp, [edx + 2]
and ebp, 0xf
xor eax, dword [ebx + ebp*4]
mov ebp, dword [ebx + edx*4]
xor eax, ebp
mov ebp, eax
add eax, eax
shr ebp, 0x1f
or ebp, eax
mov dword [ebx + edx*4], ebp
mov ebp, dword [esp + 0x20]
mov dl, byte [esp + 0x13]
cmp dl, 0x14
jae 0x69cf1f
mov eax, ecx
mov edx, esi
not eax
and eax, ebp
and edx, ecx
or eax, edx
jmp 0x69cf3d
cmp dl, 0x28
jb 0x69cf37
cmp dl, 0x3c
jae 0x69cf37
mov eax, esi
mov edx, esi
or eax, ecx
and edx, ecx
and eax, ebp
or eax, edx
jmp 0x69cf3d
mov eax, ebp
xor eax, esi
xor eax, ecx
mov edx, dword [esp + 0x18]
and edi, 0xff
mov ebx, edx
shr ebx, 0x1b
shl edx, 5
or ebx, edx
mov edx, ebx
mov ebx, dword [esp + 0x34]
add edx, dword [ebx + edi*4]
mov edi, dword [esp + 0x14]
add edx, edi
mov edi, dword [esp + 0x1c]
add edx, edi
mov edi, dword [esp + 0x24]
add eax, edx
mov edx, ecx
shl edx, 0x1e
shr ecx, 2
mov dword [esp + 0x1c], ebp
or edx, ecx
mov ecx, dword [esp + 0x18]
mov ebp, esi
mov esi, edx
mov dl, byte [esp + 0x13]
inc dl
inc edi
cmp dl, 0x50
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], dl
mov dword [esp + 0x24], edi
jb 0x69ce85
mov edx, dword [esp + 0x30]
mov edi, dword [edx]
mov ebx, dword [edx + 4]
add edi, eax
mov eax, dword [esp + 0x1c]
mov dword [edx], edi
mov edi, dword [edx + 8]
add edi, esi
mov esi, dword [edx + 0xc]
add ebx, ecx
mov ecx, dword [edx + 0x10]
add esi, ebp
mov dword [edx + 8], edi
mov dword [edx + 0xc], esi
pop edi
add ecx, eax
pop esi
mov dword [edx + 4], ebx
pop ebp
mov dword [edx + 0x10], ecx
pop ebx
add esp, 0x1c
ret
Function at 0x6a8ee0
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.006a8e20
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
push esi
push 1
test eax, eax
push 0x1f0fff
je 0x6a8f0b
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
pop esi
ret
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.DLL_WaitForInputIdle]
pop esi
ret

Function at 0x6a91f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x80
push ebx
push ebp
push esi
push edi
push 0x28c264
call fcn.006a8fe0
mov ebp, eax
add esp, 4
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x6a929b
mov eax, dword [ebp + 0xc]
push eax
call fcn.006a8fe0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x6a92a6
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.006a8fe0
mov ebx, eax
mov eax, dword [ebp]
add esp, 4
test eax, eax
je 0x6a9245
push eax
jmp 0x6a9249
mov edx, dword [ebp + 0x10]
push edx
call fcn.006a8fe0
mov esi, eax
add esp, 4
mov eax, dword [esi]
test eax, eax
je 0x6a928d
test eax, 0x80000000
je 0x6a9267
and eax, 0x7fffffff
jmp 0x6a9273
push eax
call fcn.006a8fe0
add esp, 4
add eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x6a92ef
add esi, 4
mov dword [ebx], eax
add ebx, 4
mov eax, dword [esi]
test eax, eax
jne 0x6a9259
mov eax, dword [ebp + 0x24]
add ebp, 0x14
test eax, eax
jne 0x6a9214
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
lea eax, [esp + 0x10]
push 0x6ad1d0
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.006a8fe0
add esp, 4
lea edx, [esp + 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0
lea eax, [esp + 0x14]
push 0x6ad1c0
push eax
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
lea ecx, [esp + 0x10]
push 0x6ad1a0
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edx, dword [ebp + 0xc]
push edx
call fcn.006a8fe0
mov edi, dword [sym.imp.KERNEL32.DLL_lstrcatA]
add esp, 4
push eax
lea eax, [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x10]
push 0x6ad190
push ecx
call edi
mov esi, dword [esi]
test esi, 0x80000000
jne 0x6a9343
push esi
call fcn.006a8fe0
add esp, 4
add eax, 2
lea edx, [esp + 0x10]
push eax
push edx
call edi
push 0
lea eax, [esp + 0x14]
push 0x6ad1c0
push eax
call dword [sym.imp.USER32.DLL_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.DLL_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]