joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x461008], 0x8088405
inc edx
mov dword [ebx + 0x461008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
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 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f04c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x44553a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f09b
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
jmp 0x41f0ba
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ba
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f12c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f115
test esi, esi
jbe 0x41f12c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f107
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f12c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0e4
jmp 0x41f12c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f12c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445541
ret
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x44689f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0x463348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0x463348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0x462178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4468a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40596d
pop dword [ebp - 0x34]
mov eax, 0xd523322
sub eax, 0xd11d9b5
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x4ef851b1
sub dword [ebp - 0x44], 0xa60c66
mov dword [ebp - 0x40], 0x1888d6f7
sub dword [ebp - 0x40], 0xe6558ab2
mov dword [ebp - 0x3c], 0xfcaebeff
add dword [ebp - 0x3c], 0x4f9d852f
mov dword [ebp - 0x38], 0xfd8c7970
add dword [ebp - 0x38], 0x2738690
lea eax, [ebp - 0x44]
push eax
mov eax, 0x309e6cac
sub eax, 0x305dfc4c
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xca5cd89c
sub dword [ebp - 0x44], 0x55ea6f46
mov dword [ebp - 0x40], 0x53d91af8
add dword [ebp - 0x40], 0xed93467d
mov dword [ebp - 0x3c], 0x5cd48d4b
sub dword [ebp - 0x3c], 0xf96520df
mov dword [ebp - 0x38], 0xce875a89
add dword [ebp - 0x38], 0x3178a577
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0x1693304e
sub eax, 0x1652bf4e
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x37e1b
push 0
call eax
mov ecx, 0x4ca9
xor esi, esi
add esi, eax
mov edi, 0x1dfb79b2
add edi, 0xe245864e
add edi, dword [ebp - 0x34]
mov ebx, 0x905170f
add ebx, 0x33b9495a
add dword [ebp - 0x2c], 0x2387ab
mov edx, dword [edi]
add dword [ebp - 0x20], 0xf35df2d
add edx, ebx
xor dword [ebp - 0xc], eax
mov dword [esi], edx
add dword [ebp - 0x10], 0x144c5a9e
add esi, 4
add edi, 0xa231060d
sub edi, 0xa2310609
loop 0x405a8b
add eax, 0x12577
xor ebx, ebx
add ebx, eax
add eax, 0x40197275
sub eax, 0x40197270
mov ecx, 0xc55c0c17
add ecx, 0x3ae3f3e9
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401cca
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401d09
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401d09
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401d09
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401d09
cmp dword [ecx + 0x74], 0xe
jbe 0x401d09
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10002fe5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10032760]
jne 0x10002fef
repz ret
jmp fcn.10004877

Function at 0x10004277
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000242e
and dword [ebp - 4], 0
cmp dword [0x10034360], 0
mov ebx, eax
jne 0x10004328
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100043d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100043d9
push eax
call fcn.100023bc
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10034360], eax
call esi
push eax
call fcn.100023bc
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10034364], eax
call esi
push eax
call fcn.100023bc
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10034368], eax
call esi
push eax
call fcn.100023bc
pop ecx
mov dword [0x10034370], eax
test eax, eax
je 0x10004328
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100023bc
pop ecx
mov dword [0x1003436c], eax
mov eax, dword [0x1003436c]
cmp eax, ebx
je 0x10004380
cmp dword [0x10034370], ebx
je 0x10004380
push eax
call fcn.10002437
push dword [0x10034370]
mov esi, eax
call fcn.10002437
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10004380
test edi, edi
je 0x10004380
call esi
test eax, eax
je 0x10004377
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10004377
test byte [ebp - 0xc], 1
jne 0x10004380
or dword [ebp + 0x10], 0x200000
jmp 0x100043b9
mov eax, dword [0x10034364]
cmp eax, ebx
je 0x100043b9
push eax
call fcn.10002437
pop ecx
test eax, eax
je 0x100043b9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x100043b9
mov eax, dword [0x10034368]
cmp eax, ebx
je 0x100043b9
push eax
call fcn.10002437
pop ecx
test eax, eax
je 0x100043b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10034360]
call fcn.10002437
pop ecx
test eax, eax
je 0x100043d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100043db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100061b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100323e0], 0
mov byte [0x100323e4], 0
mov dword [0x100323d8], 0x795
mov dword [0x100323dc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000621a
mov eax, dword [0x100323d4]
add eax, 0xfffff0a3
mov dword [0x100323d4], eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x100323dc], 0
jmp 0x10006251
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x100323d4]
add eax, 0x1d21
mov dword [0x100323d4], eax
mov eax, dword [0x100323dc]
add eax, 1
mov dword [0x100323dc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000621a
jmp 0x1000620e
mov eax, 0x100
mov dword [0x100323e8], 0
mov ecx, dword [0x100323e0]
mov edx, dword [0x100323dc]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x100323e8], edi
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x100323e0], edx
mov dword [0x100323d4], 0x1faf
mov edx, dword [0x100323dc]
mov cl, byte [esi + edx]
mov byte [0x100323e4], cl
mov dword [0x100323d8], 0x1ad8
mov edx, dword [0x100323e0]
mov cl, byte [esi + edx]
mov edx, dword [0x100323dc]
mov byte [esi + edx], cl
mov cl, byte [0x100323e4]
mov edx, dword [0x100323e0]
mov byte [esi + edx], cl
mov dword [0x100323d8], 0x1b2b
mov edx, dword [0x100323dc]
add edx, 1
mov dword [0x100323dc], edx
cmp edx, 0x100
jl 0x10006251
jmp 0x100061f7
Function at 0x10006320
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x100323d4], 0x2509
mov edx, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
jmp 0x100063d1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0xb8
mov esi, dword [edi]
imul edi, eax, 0xc8
mov ebx, edx
add ebx, edi
add ebx, 0x5c
mov edi, dword [ebx]
imul ebx, eax, 0xc8
add edx, ebx
add edx, 0xb4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x44]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
call fcn.10006d70
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
add eax, ecx
mov edx, dword [ebp - 0x48]
add edx, 1
cmp edx, 0x338
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
je 0x100064a6
jmp 0x10006348
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0xc8
mov edi, edx
add edi, esi
add edi, 0xb8
mov esi, dword [edi]
imul edi, eax, 0xc8
add edx, edi
add edx, 0xb4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x338
mov ecx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x100063d1
lea eax, [0x100085db]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x100323d8], 0x19f4
mov dword [0x100323d4], 0x24db
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x5c], ecx
call fcn.10006e40
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.10005f20
mov ecx, eax
mov dword [0x100323f4], eax
mov eax, esp
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov dword [0x100323d8], 0x21a6
mov edx, ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
jmp 0x10006348
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x54]
mov dword [esp + 8], ecx
call fcn.10006cc0
mov dword [0x100323d4], 0x1dea
mov eax, dword [ebp - 0x44]
add eax, 0x53e5b
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov dword [ecx + 4], 0x143200
mov eax, dword [0x100323d4]
add eax, 0x1e87
mov dword [0x100323d4], eax
mov eax, dword [ebp - 0x44]
add eax, 0x42b18
mov dword [ecx + 8], eax
mov eax, dword [0x100323d4]
add eax, 0xfffff308
mov dword [0x100323d8], eax
mov dword [ecx + 0xc], 0x2030
mov eax, dword [0x100323d8]
add eax, 0x21ef
mov dword [ebp - 0x60], eax
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov dword [0x100323d4], ecx
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10006930]
mov dword [ebp - 4], eax
jmp 0x10006963
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [0x100323d4]
add ecx, 0xfffff00b
mov dword [0x100323d4], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x10006941
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10006941
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret

Function at 0x100070b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x30
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [0x100323d4], 0x187f
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov eax, 0x187f
xor ecx, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
jmp 0x10007135
mov dword [0x100323d8], 0x1ef9
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, dword [ebp - 0x20]
mov edx, eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
jl 0x10007135
jmp 0x10007157
mov eax, dword [ebp - 0x28]
add esp, 0x30
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x10007196
jmp 0x100071f6
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
add ecx, 0xffffe734
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2], 0
mov esi, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], esi
jne 0x100070ef
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [0x100323d4], ecx
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x2c], eax
jne 0x100071f6
mov eax, dword [0x100323d4]
add eax, 0xffffddda
mov dword [0x100323d4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x10007121
jmp 0x100071f6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100071f6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100071f6
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x30]
cmp word [eax + ecx*2], 0x6c
jne 0x100071f6
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff9
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x34], ecx
mov eax, 1
mov ecx, dword [ebp - 0x34]
cmp word [ecx], 0x6c
mov dword [ebp - 0x28], eax
je 0x10007118
xor eax, eax
mov dword [0x100323d4], 0x1713
mov dword [ebp - 0x28], eax
jmp 0x10007118
Function at 0x401069
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x435030]
jne 0x401073
repz ret
jmp fcn.00401b61

Function at 0x40856b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040255c
and dword [ebp - 4], 0
cmp dword [0x436bf4], 0
mov ebx, eax
jne 0x40861c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4086cd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4086cd
push eax
call fcn.004024ea
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x436bf4], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x436bf8], eax
call esi
push eax
call fcn.004024ea
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x436bfc], eax
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x436c04], eax
test eax, eax
je 0x40861c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004024ea
pop ecx
mov dword [0x436c00], eax
mov eax, dword [0x436c00]
cmp eax, ebx
je 0x408674
cmp dword [0x436c04], ebx
je 0x408674
push eax
call fcn.00402565
push dword [0x436c04]
mov esi, eax
call fcn.00402565
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408674
test edi, edi
je 0x408674
call esi
test eax, eax
je 0x40866b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40866b
test byte [ebp - 0xc], 1
jne 0x408674
or dword [ebp + 0x10], 0x200000
jmp 0x4086ad
mov eax, dword [0x436bf8]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4086ad
mov eax, dword [0x436bfc]
cmp eax, ebx
je 0x4086ad
push eax
call fcn.00402565
pop ecx
test eax, eax
je 0x4086ad
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x436bf4]
call fcn.00402565
pop ecx
test eax, eax
je 0x4086cd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4086cf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ae80
Capabilities:
Set console window title

Disassembly:
mov eax, dword [0x833c84]
sub esp, 0x1c
push ebx
mov ebx, dword [0x8339a8]
push esi
mov esi, dword [0x435f70]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40aeb0
push str.zisodeyosebofoxojeken
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x833c84]
mov dword [0x436d54], esi
cmp eax, 0x114e
jne 0x40aeda
lea eax, [esp + 0xc]
push eax
push str.reneceligomezimogag
call dword [sym.imp.KERNEL32.dll_BuildCommDCBA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov eax, dword [0x833c84]
cmp eax, 0x2f
jne 0x40aef7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebx
call fcn.0040ad70
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x4028f2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x402901
pop dword [ebp - 0x48]
mov eax, 0x2904dfdc
add eax, 0xd73b4925
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xdf0d3a76
add dword [ebp - 0x58], 0x6f450ad5
mov dword [ebp - 0x54], 0xc299aa0b
add dword [ebp - 0x54], 0x6f99a23a
mov dword [ebp - 0x50], 0x92178abb
add dword [ebp - 0x50], 0xba34b973
mov dword [ebp - 0x4c], 0x458b6925
sub dword [ebp - 0x4c], 0x458b6925
lea eax, [ebp - 0x58]
push eax
mov eax, 0x8746e45d
sub eax, 0x87061411
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x8ef54e81
sub dword [ebp - 0x58], 0x1a82e52b
mov dword [ebp - 0x54], 0xb58c507b
sub dword [ebp - 0x54], 0x741fef06
mov dword [ebp - 0x50], 0x88af3b99
add dword [ebp - 0x50], 0xdac030d3
mov dword [ebp - 0x4c], 0x3bb2e192
sub dword [ebp - 0x4c], 0x3bb2e192
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3789f
push 0
call eax
mov ecx, 0xda7e2deb
add ecx, 0x2582126e
mov esi, eax
mov edi, 0x9aafc4d0
add edi, 0x6591eb30
add edi, dword [ebp - 0x48]
mov edx, 0x1ec578d
sub edx, 0x42627be3
mov ebx, dword [edi]
add dword [ebp - 0x30], 0xcb3d598d
add ebx, edx
add dword [ebp - 0xc], 0xa3a67d7a
mov dword [esi], ebx
xor dword [ebp - 8], ebx
add esi, 0x6f7d4292
sub esi, 0x6f7d428e
add edi, 0x4e4f1032
add edi, 0xb1b0efd2
loop 0x402a1e
add eax, 0xf437
mov ebx, eax
add eax, 0x708ed149
sub eax, 0x708ed144
mov ecx, 0x781c1274
sub ecx, 0x77dc1274
add ecx, dword [ebp - 0x48]
call ebx
leave
ret