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

Disassembly:
mov ebx, 0x980f7a8e
leave
bound eax, qword [edx - 0x30]
xor byte [ecx + 0x1bd55494], bh
in eax, 0x70
fistp dword [ecx - 0x2e]
rcl byte [0x56a49170], cl
rcl byte [0x56a49170], cl
nop
or dword [esi], esp
mov ecx, 0x59f4eb80
cmp esi, 0x135c8811
cmc
pop ebx
loopne 0x770825
pop edx
jae 0x770851
retf 0x59fc

Function at 0x7c7e9d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7d13a8
cmp edx, dword [eax]
je 0x7c7ebf
add eax, 8
inc ecx
cmp eax, 0x7d1438
jl 0x7c7eb0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7d13a8]
jne 0x7c7fed
mov eax, dword [0xbd0d04]
cmp eax, 1
je 0x7c7fc7
test eax, eax
jne 0x7c7ef0
cmp dword [0x7d12d4], 1
je 0x7c7fc7
cmp edx, 0xfc
je 0x7c7fed
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c7f27
lea eax, [ebp - 0x1a4]
push 0x7cda70
push eax
call fcn.007c8880
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c8d10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c7f6a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c8d10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cda6c
push edi
call fcn.007cabe0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cda50
push eax
call fcn.007c8880
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c8890
lea eax, [ebp - 0xa0]
push 0x7cda4c
push eax
call fcn.007c8890
push dword [esi + 0x7d13ac]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c8890
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cda24
push eax
call fcn.007cab54
add esp, 0x2c
pop edi
jmp 0x7c7fed
lea eax, [ebp + 8]
lea esi, [esi + 0x7d13ac]
push 0
push eax
push dword [esi]
call fcn.007c8d10
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 0x40d596
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x1505
jmp 0x40d5b7
lea eax, [ecx - 0x61]
cmp eax, 0x19
ja 0x40d5af
and ecx, 0xffffffdf
imul edx, edx, 0x21
xor edx, ecx
add esi, 2
movzx ecx, word [esi]
test ecx, ecx
jne 0x40d5a4
mov eax, dword [ebp + 0x10]
movzx ecx, dl
mov edx, ecx
and ecx, 0x1f
shr edx, 5
mov dword [eax], edx
xor edx, edx
mov eax, dword [ebp + 0x14]
inc edx
shl edx, cl
pop esi
mov dword [eax], edx
pop ebp
ret 0x10

Function at 0x438c7c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
add ebx, 0x8b359e5a
call fcn.00438cb1
and ebx, ebx
add esi, esi
xor dword [ecx], eax
mov ebx, ebx
add esi, 0x51f9bc8
inc ecx
and ebx, esi
cmp ecx, edi
jne fcn.00438c7c
sub esi, 0x3121e7fb
ret
Function at 0xae89f4
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00ae89f4
ret
Function at 0x4131e0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4021a0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.004044bc
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0040451c
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x413395
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x4132b6
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.0040456c
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x413395
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x403e90
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004045cc
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x413395
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x413333
mov dword [ebp - 0x8c], 0
jmp 0x41333f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x413376
mov dword [ebp - 0x90], 0
jmp 0x413382
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x413284
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404128
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x4133bd
jmp 0x4133bc
ret
Function at 0x40125e
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x406668]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401360
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x401359
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x40131d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x40131d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x40131d
mov edx, dword [esi]
test edx, edx
jne 0x4012e9
push 0x200
push edx
push dword [0x406c18]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x401342
jmp 0x401311
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x401311
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x406c18]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x401342
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x4012a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x401359
xor edi, edi
cmp dword [esi], edi
je 0x401359
push dword [esi]
push edi
push dword [0x406c18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040300b
leave
ret

Function at 0x401371
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.0040125e
test eax, eax
jne 0x401395
push 9
pop esi
jmp 0x4013dc
cmp dword [edi], esi
je 0x4013dc
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x4013db
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x4013d5
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.0040110b
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x4013a1
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4013e2
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x401430
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x401420
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x401417
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x4013f4
mov eax, dword [esi]
pop ebx
push eax
push 0
push dword [0x406c18]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret

Function at 0x401432
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
imul esi, ecx, 0x2c
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
add esi, dword [0x406c30]
mov dword [ebp - 8], esi
mov al, byte [esi + 0x14]
mov ebx, dword [esi]
and al, 1
je 0x401458
sub ebx, 5
movzx eax, al
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push ebx
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40147c
push 0xa
pop eax
jmp 0x4014fb
test edi, edi
je 0x40149d
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x4014bc
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x4014bc
test byte [esi + 0x14], 1
je 0x4014b1
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x4014bc
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp - 0x10]
mov al, byte [esi + 0x14]
and dl, 1
mov cl, dl
and al, 0xfd
add cl, cl
shl dl, 2
or cl, al
and cl, 0xfb
or cl, dl
xor eax, eax
mov byte [esi + 0x14], cl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401bfa
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x406c24]
push esi
xor esi, esi
jmp 0x401c0c
cmp dword [edx + 4], esi
jne 0x401c65
mov edx, dword [edx]
test edx, edx
jne 0x401c05
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x401c69
push 0x20
mov dword [edx + 4], esi
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop esi
mov eax, dword [edx + 4]
add esi, 0x20
mov dword [ecx], eax
mov dword [edx + 4], ecx
add ecx, 0x20
cmp esi, 0xfe0
jbe 0x401c35
mov eax, dword [0x406c24]
mov dword [edx], eax
mov dword [0x406c24], edx
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
test edx, edx
jne 0x401c58
xor eax, eax
pop esi
ret
Function at 0x402290
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x406668]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [0x40689c], 2
mov dword [0x4068a0], 2
mov eax, 0x28
imul ecx, eax, 0x1d
mov edx, 1
imul eax, edx, 0x13
mov byte [ecx + eax + section..data], 0
mov eax, dword fs:[0x18]
mov eax, dword ds:[eax + 0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 2]
test edx, edx
je 0x402310
mov dword [0x40689c], 0
mov dword [0x4068a0], 0
mov eax, 0x28
imul ecx, eax, 0x1d
mov edx, 1
imul eax, edx, 0x13
mov byte [ecx + eax + section..data], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4025f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x406668]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x18]
mov dword [ebp - 0x34], ecx
mov edx, 8
shl edx, 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx + 0x60]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], 0
jmp 0x402644
mov edx, dword [ebp - 0x14]
add edx, 0x14
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x40276a
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x2c], 0
je 0x402679
jmp 0x40276a
mov dword [ebp - 0xc], 0
jmp 0x40268b
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + eax*4], 0
je 0x402765
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x40419c
mov edx, dword [ebp - 0x24]
add edx, 2
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax]
mov byte [ebp - 0xd], cl
mov edx, dword [ebp - 0x20]
cmp cl, byte [edx]
jne 0x4026f7
cmp byte [ebp - 0xd], 0
je 0x4026ee
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 1]
mov byte [ebp - 0xe], cl
mov edx, dword [ebp - 0x20]
cmp cl, byte [edx + 1]
jne 0x4026f7
add dword [ebp - 0x1c], 2
add dword [ebp - 0x20], 2
cmp byte [ebp - 0xe], 0
jne 0x4026ba
mov dword [ebp - 0x28], 0
jmp 0x4026ff
sbb eax, eax
or eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
jne 0x402760
mov dword [ebp - 0x2c], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx*4]
mov dword [0x406898], ecx
lea edx, [ebp - 8]
push edx
push 0x40
push 4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax*4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + eax*4], 0x402460
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
lea eax, [edx + ecx*4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x402682
jmp 0x40263b
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300b
mov esp, ebp
pop ebp
ret
Function at 0x4027f0
Capabilities:
Contain obfuscated stackstrings
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x406668]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x24], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 0x10], 0x53
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x63
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0x21
mov byte [ebp - 8], 0x21
mov byte [ebp - 7], 0x21
mov byte [ebp - 6], 0
xor eax, eax
test eax, eax
je 0x402876
jne 0x402876
mov eax, dword ds:[ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
sub ecx, 0x41
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x16
ja case.0x402895.1
mov edx, dword [ebp - 0x14]
movzx eax, byte [edx + 0x4029c0]
jmp dword [eax*4 + 0x4029ac]
mov ecx, dword [0x40689c]
sub ecx, 1
mov dword [0x40689c], ecx
push 0x11
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x402895.1
mov edx, dword [0x40689c]
add edx, 1
mov dword [0x40689c], edx
push 0x12
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x402895.1
mov eax, dword [0x4068a0]
sub eax, 1
mov dword [0x4068a0], eax
push 0x13
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x402895.1
mov ecx, dword [0x4068a0]
add ecx, 1
mov dword [0x4068a0], ecx
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x40689c], 0
jl 0x402939
cmp dword [0x40689c], 0x28
jge 0x402939
cmp dword [0x4068a0], 0
jl 0x402939
cmp dword [0x4068a0], 0x28
jge 0x402939
imul edx, dword [0x40689c], 0x28
mov eax, dword [0x4068a0]
movzx ecx, byte [edx + eax + section..data]
cmp ecx, 1
jne 0x402943
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x402952
mov edx, dword [0x4068a4]
add edx, 1
mov dword [0x4068a4], edx
imul eax, dword [0x40689c], 0x28
mov ecx, dword [0x4068a0]
movzx edx, byte [eax + ecx + section..data]
cmp edx, 2
jne 0x402994
cmp dword [0x4068a4], 0x4b
jne 0x402994
lea eax, [ebp - 0x10]
push eax
push 0x4041b0
call fcn.00402f90
add esp, 8
push 0x4041b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040300b
mov esp, ebp
pop ebp
ret
Function at 0x402bd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0
jmp 0x402c04
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 0x10]
jae 0x402cb6
mov edx, dword [ebp - 8]
add edx, 1
and edx, 0x800000ff
jns 0x402c26
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x10]
and ecx, 0x800000ff
jns 0x402c45
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dl, byte [ebp - 1]
mov byte [ecx], dl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
add ecx, eax
and ecx, 0x800000ff
jns 0x402c92
dec ecx
or ecx, 0xffffff00
inc ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x14]
movzx edx, byte [ecx]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0xc]
mov byte [edx], cl
jmp 0x402bfb
mov esp, ebp
pop ebp
ret
Function at 0x429940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x429962
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x429969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x429958
mov eax, 1
add ebx, ebx
jne 0x42997b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x429970
jne 0x42998c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x429970
xor ecx, ecx
sub eax, 3
jb 0x4299a0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x429a12
mov ebp, eax
add ebx, ebx
jne 0x4299ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4299b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4299dc
inc ecx
add ebx, ebx
jne 0x4299c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4299bd
jne 0x4299d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4299bd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4299fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4299ed
jmp 0x42995e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4299fc
add edi, ecx
jmp 0x42995e
pop esi
mov edi, esi
mov ecx, 0x6ae
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x429a1a
cmp byte [edi], 9
jne 0x429a1a
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 eax, ebx
loop 0x429a1f
lea edi, [esi + 0x27000]
mov eax, dword [edi]
or eax, eax
je 0x429a97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x29c9c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x29d50]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x429a4c
mov ecx, edi
jns 0x429a7b
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 + 0x29d54]
or eax, eax
je 0x429a91
mov dword [ebx], eax
add ebx, 4
jmp 0x429a69
call dword [esi + 0x29d58]
popal
jmp 0x413327
Function at 0x10006700
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], 0x67452301
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], 0xefcdab89
mov edx, 4
shl edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x98badcfe
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp + 8]
mov dword [eax + edx], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x10], 0
pop ebp
ret

Function at 0x10008560
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x100aa00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x100aace8
call fcn.10012b10
push eax
push 0x104
lea eax, [ebp - 0x108]
push eax
movzx ecx, byte [ebp - 0x125]
push ecx
push 0x1009c790
lea ecx, [ebp - 0x13c]
call fcn.10015650
mov ecx, eax
call fcn.10008750
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10012b10
push eax
mov ecx, dword [ebp + 8]
call fcn.10012b10
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
movzx edx, byte [ebp - 0x126]
push edx
push 0x1009c794
lea ecx, [ebp - 0x140]
call fcn.10015690
mov ecx, eax
call fcn.100087d0
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x108]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx]
mov byte [ebp - 0x111], dl
mov eax, dword [ebp - 0x11c]
cmp dl, byte [eax]
jne 0x10008651
cmp byte [ebp - 0x111], 0
je 0x10008645
mov ecx, dword [ebp - 0x118]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x112], dl
mov eax, dword [ebp - 0x11c]
cmp dl, byte [eax + 1]
jne 0x10008651
add dword [ebp - 0x118], 2
add dword [ebp - 0x11c], 2
cmp byte [ebp - 0x112], 0
jne 0x100085f3
mov dword [ebp - 0x12c], 0
jmp 0x1000865c
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], edx
cmp dword [ebp - 0x134], 0
je 0x10008739
movzx eax, byte [ebp - 0x127]
push eax
push 0x1009c798
lea ecx, [ebp - 0x110]
call fcn.100156f0
mov ecx, eax
call fcn.10008850
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov al, byte [edx]
mov byte [ebp - 0x113], al
mov ecx, dword [ebp - 0x124]
cmp al, byte [ecx]
jne 0x10008704
cmp byte [ebp - 0x113], 0
je 0x100086f8
mov edx, dword [ebp - 0x120]
mov al, byte [edx + 1]
mov byte [ebp - 0x114], al
mov ecx, dword [ebp - 0x124]
cmp al, byte [ecx + 1]
jne 0x10008704
add dword [ebp - 0x120], 2
add dword [ebp - 0x124], 2
cmp byte [ebp - 0x114], 0
jne 0x100086a6
mov dword [ebp - 0x130], 0
jmp 0x1000870f
sbb edx, edx
or edx, 1
mov dword [ebp - 0x130], edx
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x10008739
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
cmp eax, 1
jne 0x1000873d
mov al, 1
jmp 0x1000873f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100972e3
mov esp, ebp
pop ebp
ret