joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40117a
Capabilities:
Check for time delay via queryperformancecounter
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
push 0x3ff
push 0x40b6b0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4011b2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
push 0x40b6b0
call section..text
pop ecx
mov dword [ebp - 4], eax
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x40b6b0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xac], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
cmp dword [ebp - 0xac], 0xffffffff
je 0x401388
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 2
push 0
push 0xfffffffffffffff0
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
push 0x40bab8
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0x94]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
push dword [ebp - 0xc]
push dword [ebp - 0x94]
push dword [ebp - 0x98]
push dword [0x40bab8]
push str._d__d__d__d
lea eax, [ebp - 0x8c]
push eax
call fcn.004037a5
add esp, 0x18
cmp dword [ebp - 0xc], 0x221c
jne 0x401359
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
mov eax, dword [ebp - 0x94]
mov dword [0x40500c], eax
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
mov eax, dword [ebp - 0x98]
mov dword [0x405008], eax
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
jmp 0x40136e
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x405018]
shl eax, 1
mov dword [0x405014], eax
jmp 0x4013b5
mov eax, dword [0x405018]
xor edx, edx
push 0xc
pop ecx
div ecx
mov dword [0x405018], eax
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
leave
ret
Function at 0x402f17
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, 0xa0
mov dword [ebp - 0xc], eax
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 4], 0
jbe 0x4030d1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov eax, dword [0x405018]
shl eax, 3
mov dword [0x405018], eax
mov eax, dword [0x405014]
imul eax, eax, 0x63
mov dword [0x405014], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jbe 0x4030d1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x10]
add eax, 8
mov dword [ebp - 0x18], eax
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
and dword [ebp - 8], 0
jmp 0x402fbf
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
cmp dword [ebp - 8], eax
jae 0x40308b
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
sar eax, 0xc
mov dword [ebp - 0x20], eax
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
and eax, 0xfff
mov dword [ebp - 0x24], eax
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x40302b
cmp dword [ebp - 0x28], 3
je 0x40302d
jmp 0x40307b
jmp 0x403086
mov eax, dword [0x405018]
add eax, 7
mov dword [0x405014], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [0x405014]
imul eax, dword [0x405018]
mov ecx, dword [0x405018]
imul ecx, ecx, 5
sub eax, ecx
mov dword [0x405014], eax
jmp 0x403086
push 0x40bac0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x402fb0
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov eax, dword [0x405014]
mov ecx, dword [0x405018]
lea eax, [ecx + eax - 9]
mov dword [0x405014], eax
mov eax, dword [0x405018]
imul eax, dword [0x405018]
sub eax, 3
mov dword [0x405014], eax
jmp 0x402f7f
mov eax, dword [0x405018]
add eax, 8
mov dword [0x405018], eax
mov eax, dword [0x405014]
sub eax, 4
mov dword [0x405018], eax
leave
ret
Function at 0x403829
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x403852
cmp al, 0x22
je 0x40384a
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40383e
cmp byte [esi], 0x22
jne 0x40385c
inc esi
jmp 0x40385c
cmp al, 0x20
jle 0x40385c
inc esi
cmp byte [esi], 0x20
jg 0x403856
mov al, byte [esi]
test al, al
je 0x403866
cmp al, 0x20
jle 0x40384f
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004038d4
push 0x405004
push section..data
call fcn.004038ba
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403896
movzx eax, word [ebp - 0x14]
jmp 0x403899
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.004038ec
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x41e010
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
jmp 0x41e02a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e031
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e020
mov eax, 1
add ebx, ebx
jne 0x41e043
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e038
jne 0x41e054
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e038
xor ecx, ecx
sub eax, 3
jb 0x41e068
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e0da
mov ebp, eax
add ebx, ebx
jne 0x41e073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e080
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e0a4
inc ecx
add ebx, ebx
jne 0x41e090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e085
jne 0x41e0a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e085
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e0c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e0b5
jmp 0x41e026
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e0c4
add edi, ecx
jmp 0x41e026
pop esi
mov edi, esi
mov ecx, 0x536
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e0e2
cmp byte [edi], 2
jne 0x41e0e2
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 0x41e0e7
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e156
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e1dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e234]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e114
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e23c]
or eax, eax
je 0x41e150
mov dword [ebx], eax
add ebx, 4
jmp 0x41e131
call dword [esi + 0x1e238]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41e187
cmp al, 0xef
ja 0x41e17a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41e15c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41e169
mov ebp, dword [esi + 0x1e240]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x41e1bb
sub esp, 0xffffff80
jmp 0x403a0d
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x9a3058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.009a31a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9a307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a306a
add dl, dl
jne 0x9a3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a30dc
xor eax, eax
add dl, dl
jne 0x9a3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9a317d
add dl, dl
jne 0x9a30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9a30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9a3075
mov eax, 1
add dl, dl
jne 0x9a30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9a30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a30e1
sub eax, ebx
mov ebx, 1
jne 0x9a3128
mov ecx, 1
add dl, dl
jne 0x9a310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9a3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9a313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9a314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9a3136
cmp eax, 0x7d00
jae 0x9a316d
cmp eax, 0x500
jb 0x9a3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a3075
cmp eax, 0x7f
ja 0x9a3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9a3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9a319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9a3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100011c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
mov edx, dword [edi + 0x3c]
mov esi, dword [ecx + eax + 0x20]
dec edx
lea ecx, [ecx + eax + 0x18]
not edx
and edx, esi
mov dword [ebp - 0x1c], esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x18], edx
test esi, esi
jne 0x10001203
mov ebx, dword [ecx + 0x24]
test bl, 0x40
je 0x100011fc
mov esi, dword [eax + 0x20]
jmp 0x10001203
test bl, bl
jns 0x10001203
mov esi, dword [eax + 0x24]
mov dword [ebp - 0x14], esi
mov esi, dword [ecx + 0x24]
mov dword [ebp - 0x10], esi
mov esi, 1
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 1
cmp si, word [eax + 6]
jae 0x100012d0
lea ebx, [ecx + 0x4c]
lea esp, [esp]
mov esi, dword [edi + 0x3c]
mov ecx, dword [ebx - 0x1c]
mov edi, dword [ebx - 0x14]
dec esi
not esi
and esi, ecx
mov dword [ebp - 4], ecx
test edi, edi
jne 0x10001258
mov ecx, dword [ebx]
test cl, 0x40
je 0x10001251
mov edi, dword [eax + 0x20]
jmp 0x10001258
test cl, cl
jns 0x10001258
mov edi, dword [eax + 0x24]
cmp edx, esi
je 0x10001287
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x1c]
cmp eax, esi
ja 0x10001287
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.10001110
test eax, eax
je 0x100012ee
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
mov dword [ebp - 0x1c], edx
mov edx, esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
jmp 0x100012af
mov eax, dword [ebx]
test eax, 0x2000000
je 0x1000129e
test dword [ebp - 0x10], 0x2000000
je 0x1000129e
or dword [ebp - 0x10], eax
jmp 0x100012a9
or eax, dword [ebp - 0x10]
and eax, 0xfdffffff
mov dword [ebp - 0x10], eax
sub edi, dword [ebp - 0x1c]
add edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
movzx esi, word [eax + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 0x14], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], ecx
cmp ecx, esi
jl 0x10001230
lea ecx, [ebp - 0x1c]
mov eax, edi
mov dword [ebp - 0xc], 1
call fcn.10001110
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001ca0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
lea edx, [esi + 0x9c4]
mov edi, 0xe3
nop
mov eax, dword [edx + 4]
xor eax, dword [edx]
and eax, 0x7fffffff
xor eax, dword [edx]
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [edx + 0x634]
shr eax, 1
xor ecx, eax
mov dword [edx - 0x9c0], ecx
add edx, 4
dec edi
jne 0x10001cb0
lea edx, [esi + 0xd50]
mov edi, 0x18c
nop
mov eax, dword [edx]
xor eax, dword [edx + 4]
and eax, 0x7fffffff
xor eax, dword [edx]
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [edx - 0xd4c]
shr eax, 1
xor ecx, eax
mov dword [edx - 0x9c0], ecx
add edx, 4
dec edi
jne 0x10001cf0
mov eax, dword [esi + 0x1380]
xor eax, dword [esi + 4]
and eax, 0x7fffffff
xor eax, dword [esi + 0x1380]
mov edx, eax
and dl, 1
movzx ecx, dl
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor ecx, dword [esi + 0x634]
shr eax, 1
xor ecx, eax
mov dword [esi + 0x9c0], ecx
mov dword [esi], edi
pop edi
pop esi
ret

Function at 0x10001d60
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push esi
lea eax, [ecx + 0x638]
mov edx, 0x68
push edi
mov edi, edi
mov esi, dword [eax - 0x630]
mov ecx, dword [eax - 0x634]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, dword [eax - 0x634]
mov ebx, ecx
and bl, 1
movzx edi, bl
neg edi
sbb edi, edi
shr ecx, 1
and edi, 0x9908b0df
xor edi, ecx
xor edi, dword [eax]
mov dword [eax + 0x38c], edi
mov edi, dword [eax - 0x62c]
mov ecx, edi
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov ebx, ecx
and bl, 1
movzx esi, bl
neg esi
sbb esi, esi
shr ecx, 1
and esi, 0x9908b0df
xor esi, dword [eax + 4]
xor esi, ecx
mov dword [eax + 0x390], esi
mov esi, dword [eax - 0x628]
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov ebx, ecx
and bl, 1
movzx edi, bl
neg edi
sbb edi, edi
shr ecx, 1
and edi, 0x9908b0df
xor edi, dword [eax + 8]
xor edi, ecx
mov dword [eax + 0x394], edi
mov edi, dword [eax - 0x624]
mov ecx, edi
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov ebx, ecx
and bl, 1
movzx esi, bl
neg esi
sbb esi, esi
shr ecx, 1
and esi, 0x9908b0df
xor esi, dword [eax + 0xc]
xor esi, ecx
mov dword [eax + 0x398], esi
mov esi, dword [eax - 0x620]
mov ecx, esi
xor ecx, edi
and ecx, 0x7fffffff
xor ecx, edi
mov ebx, ecx
and bl, 1
movzx edi, bl
neg edi
sbb edi, edi
and edi, 0x9908b0df
xor edi, dword [eax + 0x10]
shr ecx, 1
xor edi, ecx
mov ecx, dword [eax - 0x61c]
xor ecx, esi
and ecx, 0x7fffffff
xor ecx, esi
mov ebx, ecx
mov dword [eax + 0x39c], edi
and bl, 1
movzx esi, bl
neg esi
sbb esi, esi
and esi, 0x9908b0df
xor esi, dword [eax + 0x14]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0x3a0], esi
add eax, 0x18
dec edx
jne 0x10001d70
pop edi
pop esi
pop ebx
ret
Function at 0x10002ff0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10113a4b
mov eax, dword fs:[0]
push eax
mov eax, 0x13b4
call fcn.100f7e00
mov eax, dword [0x10167410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov byte [ebp - 0x1399], 0x60
cmp esi, edi
je 0x100030c6
mov al, byte [esi]
mov dl, byte [ebp - 0x1399]
mov bl, byte [ebp - 0x1399]
mov cl, al
and al, 0xf
and dl, 0xf
and cl, 0xf0
add dl, dl
mov byte [ebp - 0x13a1], cl
and dl, byte [ebp - 0x13a1]
mov cl, al
and bl, 0xf0
and cl, 0xf
mov byte [ebp - 0x139f], bl
or al, byte [ebp - 0x139f]
shr bl, 1
or cl, bl
mov bl, byte [esi]
xor cl, dl
mov dl, cl
add dl, dl
add dl, dl
add dl, dl
sub dl, cl
xor al, dl
and al, 0xaa
shr cl, 5
xor al, cl
mov cl, bl
xor cl, byte [ebp - 0x1399]
inc esi
add cl, al
movzx edx, cl
mov eax, 0x30c30c31
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, bl
shl dl, 4
add dl, bl
add al, dl
add al, cl
xor al, 2
mov byte [ebp - 0x1399], al
cmp esi, edi
jne 0x10003037
xor ebx, ebx
push ebx
mov esi, 0xf
push 0x10121e28
lea ecx, [ebp - 0x13c0]
mov dword [ebp - 0x13ac], esi
mov dword [ebp - 0x13b0], ebx
mov byte [ebp - 0x13c0], bl
call fcn.10002cd0
mov dword [ebp - 4], ebx
call fcn.10111209
or edi, 0xffffffff
cmp dword [ebp - 0x13ac], 0x10
mov dword [ebp - 4], edi
jb 0x10003116
mov eax, dword [ebp - 0x13c0]
push eax
call fcn.1000459d
add esp, 4
mov dword [ebp - 0x13ac], esi
mov dword [ebp - 0x13b0], ebx
mov byte [ebp - 0x13c0], bl
call fcn.10111209
mov dword [ebp - 0x1394], eax
mov ecx, eax
mov dword [ebp - 0x14], edi
mov eax, 1
lea ecx, [ecx]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul ecx, ecx, 0x6c078965
add ecx, eax
mov dword [ebp + eax*4 - 0x1394], ecx
inc eax
cmp eax, 0x270
jl 0x10003140
mov dword [ebp - 0x1398], 0x270
mov esi, 0x22415
push 0x21
push 0x80
lea eax, [ebp - 0x1398]
push eax
lea ecx, [ebp - 0x13a0]
call fcn.10002480
mov bl, byte [ebp - 0x1399]
and bl, 0xf0
mov byte [ebp - 0x139f], bl
shr bl, 1
mov cl, al
and cl, 0xf
mov dl, cl
or cl, byte [ebp - 0x139f]
and dl, 0xf
or dl, bl
movzx ebx, byte [ebp - 0x1399]
and bl, 8
add bl, bl
and bl, al
xor al, byte [ebp - 0x1399]
xor dl, bl
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
xor cl, bl
and cl, 0xaa
shr dl, 5
xor cl, dl
add cl, al
dec esi
mov byte [ebp - 0x1399], cl
jne 0x1000316d
movzx eax, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f7de6
mov esp, ebp
pop ebp
ret
Function at 0x10003920
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10113b78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10167410]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ebx, eax
cmp ebx, esi
jne 0x10003966
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1900000
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
cmp edi, esi
jne 0x10003987
push ebx
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x14], esi
call fcn.100037a0
push esi
mov dword [ebp - 4], esi
call fcn.100f812c
push eax
call fcn.100f8ac1
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
push 0x100015d0
push 0x100015b0
push 0x100015a0
push 0x10001580
push 0x10001c70
push edx
push eax
call fcn.10001810
add esp, 0x2c
mov dword [ebp - 0x1c], eax
call fcn.100f8ad3
and eax, 0x80000001
jns 0x100039e3
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi + edi], al
inc esi
cmp esi, 0x1900000
jl 0x100039d2
mov dword [ebp - 0x10], 4
call fcn.100f8ad3
cdq
mov ecx, 0x3c
idiv ecx
mov edi, edx
call fcn.100f8ad3
mov ecx, 7
xor edx, edx
div ecx
mov esi, dword [ebp - 0x2c]
lea ebx, [ecx + 0x44]
mov dword [ebp - 0x18], edx
mov edx, dword [esi]
mov eax, dword [ebp - 0x18]
mov cl, byte [eax + str.QABEMGO]
mov byte [edi + edx], cl
mov edx, dword [esi]
push 0xa
mov byte [edi + edx], 0x20
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0x10
dec ebx
jne 0x10003a1c
dec dword [ebp - 0x10]
jne 0x100039f6
mov esi, dword [ebp - 0x1c]
push 1
push esi
call fcn.10001620
push 2
push 1
call eax
push eax
push ebx
call fcn.100f8af4
push esi
call fcn.10001770
mov ebx, dword [ebp - 0x2c]
add esp, 0x1c
test ebx, ebx
je 0x10003a9d
mov edi, dword [ebp - 0x28]
mov esi, ebx
cmp ebx, edi
je 0x10003a94
mov eax, dword [esi]
test eax, eax
je 0x10003a83
push eax
call fcn.1000459d
add esp, 4
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
add esi, 0x10
cmp esi, edi
jne 0x10003a74
push ebx
call fcn.1000459d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret