joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003db0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10003dc0

Function at 0x10004040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10004050

Function at 0x10004370
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1001bc48]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1001bc48]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1001bc48]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x1001bc48]
mov eax, edx
pop ebp
ret

Function at 0x10008305
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10019de0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1000ca32
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10008347
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100084a3
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10019d30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10025f48]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.1000cd3d
mov ecx, dword [esi*4 + 0x10025f48]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x1000849c
cmp eax, dword [ecx + edi + 0x24]
jne 0x1000849c
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000849c
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1000cd3d
add esp, 0x14
test edx, edx
jl 0x1000849c
jg 0x10008412
test eax, eax
jb 0x1000849c
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1000849c
jl 0x1000842c
cmp dword [ebp - 0x1008], eax
ja 0x1000849c
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1000844a
test ebx, ebx
je 0x10008483
cmp ecx, edi
jae 0x10008483
mov al, byte [ecx]
cmp al, 0xd
jne 0x10008464
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10008470
cmp byte [ecx + 1], 0xa
jne 0x10008470
inc ecx
jmp 0x10008470
movzx eax, al
movsx eax, byte [eax + 0x10025208]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1000844a
cmp edx, ebx
jne 0x1000844a
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100084a1
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10004dc0
leave
ret
Function at 0x1000bea9
Capabilities:
Parse pe header

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

Function at 0x1000d4ae
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10025f48]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1000d4ee
cmp byte [ebx], 0xa
jne 0x1000d4ee
or byte [edi + eax + 0x28], 4
jmp 0x1000d4f3
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x1000d5f2
mov dl, byte [eax]
cmp dl, 0x1a
je 0x1000d5d5
inc eax
cmp dl, 0xd
je 0x1000d51f
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x1000d545
cmp eax, ecx
jae 0x1000d553
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x1000d507
jmp 0x1000d5f2
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000d5d0
cmp dword [ebp - 0x10], 0
je 0x1000d5d0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x10025f48]
test byte [eax + edi + 0x28], 0x48
je 0x1000d5aa
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1000d595
mov byte [esi], dl
jmp 0x1000d5a6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10025f48]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1000d5f2
cmp byte [ebp - 1], 0xa
jne 0x1000d5b9
cmp esi, ebx
jne 0x1000d5b9
mov byte [esi], 0xa
jmp 0x1000d5f1
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1000cd5b
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1000d5f2
mov byte [esi], 0xd
jmp 0x1000d5f1
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x10025f48]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1000d5ef
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1000d5f2
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1000d5fb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10025f48]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1000d641
cmp word [ebx], dx
jne 0x1000d641
or byte [eax + edi + 0x28], 4
jmp 0x1000d646
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1000d7a9
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1000d789
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1000d687
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1000d6bd
cmp eax, edx
jae 0x1000d6cb
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1000d662
jmp 0x1000d7a9
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000d784
cmp dword [ebp - 0x18], 0
je 0x1000d784
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10025f48]
test byte [eax + edi + 0x28], 0x48
je 0x1000d75a
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1000d71e
mov word [esi], cx
jmp 0x1000d755
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10025f48]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10025f48]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10025f48]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1000d7a9
pop eax
cmp word [ebp - 4], ax
jne 0x1000d76a
cmp esi, ebx
jne 0x1000d76a
mov word [esi], ax
jmp 0x1000d7a6
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1000cd5b
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1000d7a9
push 0xd
pop eax
jmp 0x1000d765
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10025f48]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1000d7a3
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1000d7a9
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1001004d
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ecc8
push 0x1001ecc0
push str.FlsAlloc
push 0x1f
call fcn.1000ff0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010081
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b15c]
call esi
jmp 0x10010087
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100100cb
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ecd8
push 0x1001ecd0
push str.FlsGetValue
push 0x21
call fcn.1000ff0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010102
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001b15c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001010a
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001ece0
push 0x1001ecd8
push str.FlsSetValue
push 0x22
call fcn.1000ff0c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10010144
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001b15c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10011bc6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10011c63
push ebx
push esi
call fcn.10011b8f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100103bd
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10011c10
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011c62
push edi
push eax
call fcn.1000eb30
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10011c30
call fcn.1000e602
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10011c61
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100103bd
add esp, 0x20
test eax, eax
jne 0x10011c4f
push edi
call fcn.1000e602
jmp 0x10011c57
push ebx
call fcn.1000e602
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x100171a1
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1001711d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10017310
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10017310
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100172c5
jg 0x100171fd
test eax, eax
je 0x100172bb
push 1
push 0x1000
call fcn.10010a8f
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10017220
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100172b2
push 0x8000
push ebx
call fcn.1001704e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10017249
jg 0x10017244
cmp ecx, 0x1000
jb 0x10017249
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100145bf
add esp, 0x10
cmp eax, 0xffffffff
je 0x1001728e
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10017244
jl 0x10017275
test ecx, ecx
jne 0x10017236
push dword [ebp - 0xc]
push ebx
call fcn.1001704e
push esi
call fcn.1000e602
add esp, 0xc
xor ebx, ebx
jmp 0x1001731e
cmp byte [edi + 0x24], 0
je 0x100172a5
cmp dword [edi + 0x20], 5
jne 0x100172a5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100172b0
mov ebx, dword [edi + 0x18]
jmp 0x100172b2
xor ebx, ebx
push esi
call fcn.1000e602
pop ecx
jmp 0x1001731e
test ecx, ecx
jg 0x10017287
jl 0x100172c5
test eax, eax
jae 0x10017287
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1000cd5b
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100172e5
cmp byte [edi + 0x1c], 0
je 0x10017287
jmp 0x10017316
push ebx
call fcn.100128f1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10017287
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1001731e
cmp byte [edi + 0x1c], 0
je 0x1001731b
mov ebx, dword [edi + 0x18]
jmp 0x1001731e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1000cd5b
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10019c80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10019cad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10019cad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x430002
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ed0
mov ecx, 0x48ad6505
nop
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x2ac66f50
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4031fc
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x401ba0
call fcn.00403408
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x400000], 0x5a4d
jne 0x40324f
mov eax, dword [0x40003c]
lea eax, [eax + 0x400000]
cmp dword [eax], 0x4550
jne 0x40324f
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x403267
cmp ecx, 0x20b
je 0x403254
mov dword [ebp - 0x60], ebx
jmp 0x40327b
cmp dword [eax + 0x84], 0xe
jbe 0x40324f
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x403275
cmp dword [eax + 0x74], 0xe
jbe 0x40324f
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x46fc04], edi
mov dword [0x46fc08], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x46fbfc]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x46fbf8]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x46fc0c], eax
call fcn.00403404
cmp dword [0x46f7c8], ebx
jne 0x4032d8
push fcn.00403404
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.004033f2
push 0x404010
push 0x40400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x46fbf4]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push dword [0x46fbf0]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x74], eax
push 0x404008
push section..data
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
cmp byte [eax], 0x22
jne 0x403363
inc eax
mov dword [ebp - 0x78], eax
mov cl, byte [eax]
cmp cl, bl
je 0x403343
cmp cl, 0x22
jne 0x403334
cmp byte [eax], 0x22
jne 0x40334c
inc eax
mov dword [ebp - 0x78], eax
mov cl, byte [eax]
cmp cl, bl
je 0x403357
cmp cl, 0x20
jbe 0x403348
test byte [ebp - 0x30], 1
je 0x40336e
movzx ecx, word [ebp - 0x2c]
jmp 0x403371
cmp byte [eax], 0x20
jbe 0x40334c
inc eax
mov dword [ebp - 0x78], eax
jmp 0x403363
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call fcn.00402890
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x60], ebx
jne 0x40338f
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x4033cb
mov eax, esi
jmp 0x4033df
call fcn.00403443
ret

Function at 0x432006
Capabilities:
Encode data using xor

Disassembly:
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x402b10
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x41edf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x188]
push edi
push esi
lea ecx, [esp + 0x1c]
call fcn.004167ec
lea ecx, [esp + 0x28]
mov dword [esp + 0x184], 0
call fcn.0041164a
push esi
lea ecx, [esp + 0x28]
mov byte [esp + 0x188], 1
call fcn.004167ec
push esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 2
call fcn.004167ec
push str.3DGrtIns
lea ecx, [esp + 0x18]
mov byte [esp + 0x188], 3
call fcn.00416af4
push str.3DGrtIns.
lea ecx, [esp + 0x1c]
call fcn.00416af4
mov ecx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_FindFirstFileA]
lea eax, [esp + 0x3c]
push eax
push ecx
call ebp
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push edx
mov esi, eax
call fcn.00416643
push 0x4280cc
lea ecx, [esp + 0x14]
mov byte [esp + 0x188], 4
call fcn.00416af4
test byte [esp + 0x3c], 0x10
jne 0x402c19
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00416a21
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x18c], 5
call fcn.00411836
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 4
call fcn.0041677e
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x3c]
push edx
push esi
call edi
test eax, eax
je 0x402c7d
mov bl, 6
test byte [esp + 0x3c], 0x10
jne 0x402c71
lea eax, [esp + 0x68]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.00416a21
mov eax, dword [eax]
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x18c], bl
call fcn.00411836
lea ecx, [esp + 0x1c]
mov byte [esp + 0x184], 4
call fcn.0041677e
lea edx, [esp + 0x3c]
push edx
push esi
call edi
test eax, eax
jne 0x402c2d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x4e20
call esi
lea eax, [esp + 0x24]
lea ecx, [esp + 0x20]
push eax
call fcn.00416643
push str._ins0432._mp
lea ecx, [esp + 0x24]
mov byte [esp + 0x188], 7
call fcn.00416af4
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push edx
call ebp
cmp eax, 0xffffffff
je 0x402ccf
push 0x4e20
call esi
jmp 0x402cb5
mov eax, dword [esp + 0x30]
xor esi, esi
test eax, eax
jle 0x402cf2
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + esi*4]
push ecx
call edi
mov eax, dword [esp + 0x30]
inc esi
cmp esi, eax
jl 0x402cdf
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x20]
mov byte [esp + 0x184], 4
call fcn.0041677e
lea ecx, [esp + 0x10]
mov byte [esp + 0x184], 3
call fcn.0041677e
lea ecx, [esp + 0x14]
mov byte [esp + 0x184], 2
call fcn.0041677e
lea ecx, [esp + 0x24]
mov byte [esp + 0x184], 1
call fcn.0041677e
lea ecx, [esp + 0x28]
mov byte [esp + 0x184], 0
call fcn.0041167d
lea ecx, [esp + 0x18]
mov dword [esp + 0x184], 0xffffffff
call fcn.0041677e
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x178
ret