joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100318f4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10031765

Function at 0x10031cd6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100452f8
push 0x100452f0
push str.FlsAlloc
push 0x1e
call fcn.10031ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10031d0a
push dword [ebp + 8]
mov ecx, esi
call dword [0x10041178]
call esi
jmp 0x10031d10
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10031d54
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10045308
push 0x10045300
push str.FlsGetValue
push 0x20
call fcn.10031ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10031d8b
push dword [ebp + 8]
mov ecx, esi
call dword [0x10041178]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100324c6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1001ef20
mov eax, dword [0x10053050]
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.1002d422
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10032508
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x10032664
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1003ee20
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 + 0x10054c40]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10033cc6
mov ecx, dword [esi*4 + 0x10054c40]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1003265d
cmp eax, dword [edi + ecx + 0x24]
jne 0x1003265d
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1003265d
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10033cc6
add esp, 0x14
test edx, edx
jl 0x1003265d
jg 0x100325d3
test eax, eax
jb 0x1003265d
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1003265d
jl 0x100325ed
cmp dword [ebp - 0x1008], eax
ja 0x1003265d
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1003260b
test ebx, ebx
je 0x10032644
cmp ecx, edi
jae 0x10032644
mov al, byte [ecx]
cmp al, 0xd
jne 0x10032625
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10032631
cmp byte [ecx + 1], 0xa
jne 0x10032631
inc ecx
jmp 0x10032631
movzx eax, al
movsx eax, byte [eax + 0x100532d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1003260b
cmp edx, ebx
jne 0x1003260b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x10032662
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1001eb39
leave
ret
Function at 0x10033164
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
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 + 0x10054c40]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100331a4
cmp byte [ebx], 0xa
jne 0x100331a4
or byte [eax + edi + 0x28], 4
jmp 0x100331a9
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x100332a7
mov al, byte [edx]
cmp al, 0x1a
je 0x10033289
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x100331d8
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x100331fd
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10033207
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x100331ba
jmp 0x100332a7
push 0
lea eax, [ebp - 0xc]
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 0x10033284
cmp dword [ebp - 0xc], 0
je 0x10033284
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10054c40]
test byte [eax + edi + 0x28], 0x48
je 0x1003325e
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x10033249
mov byte [esi], dl
jmp 0x1003325a
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10054c40]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100332a7
cmp byte [ebp - 1], 0xa
jne 0x1003326d
cmp esi, ebx
jne 0x1003326d
mov byte [esi], 0xa
jmp 0x100332a6
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10033ce4
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100332a7
mov byte [esi], 0xd
jmp 0x100332a6
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10054c40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100332a3
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100332a7
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100332b0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10054c40]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100332f3
cmp word [esi], dx
jne 0x100332f3
or byte [edi + eax + 0x28], 4
jmp 0x100332f8
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1003344b
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1003342b
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1003333a
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10033370
cmp eax, edx
jae 0x1003337c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
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 - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10033312
jmp 0x1003344b
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10033427
cmp dword [ebp - 0x14], 0
je 0x10033427
mov eax, dword [ebx*4 + 0x10054c40]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x100333ff
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x100333c8
mov word [esi], cx
jmp 0x100333fb
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10054c40]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10054c40]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10054c40]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1003344b
pop ebx
cmp word [ebp - 4], bx
jne 0x10033410
cmp esi, dword [ebp + 0xc]
jne 0x10033410
mov word [esi], bx
jmp 0x10033448
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10033ce4
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1003344b
push 0xd
jmp 0x10033444
mov ecx, dword [ebx*4 + 0x10054c40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10033442
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1003344b
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1003758a
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 0x10037627
push ebx
push esi
call fcn.10037553
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.1003631b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100375d4
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10037626
push edi
push eax
call fcn.100307f6
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100375f4
call fcn.10030412
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10037625
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1003631b
add esp, 0x20
test eax, eax
jne 0x10037613
push edi
call fcn.10030412
jmp 0x1003761b
push ebx
call fcn.10030412
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 0x1003e0a1
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]
push dword [ebp + 0xc]
push ebx
call fcn.1003e01d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x1003e219
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x1003e219
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x1003e1c8
jg 0x1003e0fa
test eax, eax
je 0x1003e1be
push 1
push 0x1000
call fcn.1002f5ac
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1003e120
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1003e1b5
push 0x8000
push ebx
call fcn.1003df4e
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1003e14c
jg 0x1003e147
cmp ecx, 0x1000
jb 0x1003e14c
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10030015
add esp, 0x10
cmp eax, 0xffffffff
je 0x1003e191
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 0x1003e147
jl 0x1003e178
test ecx, ecx
jne 0x1003e139
push dword [ebp - 0xc]
push ebx
call fcn.1003df4e
push esi
call fcn.10030412
add esp, 0xc
xor edi, edi
jmp 0x1003e22a
cmp byte [edi + 0x24], 0
je 0x1003e1a8
cmp dword [edi + 0x20], 5
jne 0x1003e1a8
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1003e1b3
mov edi, dword [edi + 0x18]
jmp 0x1003e1b5
xor edi, edi
push esi
call fcn.10030412
pop ecx
jmp 0x1003e22a
test ecx, ecx
jg 0x1003e18a
jl 0x1003e1c8
test eax, eax
jae 0x1003e18a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10033ce4
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1003e1eb
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1003e18a
jmp 0x1003e222
push ebx
call fcn.10037b6e
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1003e18a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x1003e22a
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1003e227
mov edi, dword [edi + 0x18]
jmp 0x1003e22a
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10033ce4
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1003ec20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1003ec4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003ec4d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x32018bc2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x32018bd1
pop dword [ebp - 0x44]
mov eax, 0x82380302
sub eax, 0x50367731
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x9e200e83
add dword [ebp - 0x54], 0xb03236c8
mov dword [ebp - 0x50], 0x358597fb
sub dword [ebp - 0x50], 0x3524bb6
mov dword [ebp - 0x4c], 0xa06caddb
sub dword [ebp - 0x4c], 0x542069ad
mov dword [ebp - 0x48], 0x9a965143
add dword [ebp - 0x48], 0x6569aebd
lea eax, [ebp - 0x54]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xe9fb1126
add dword [ebp - 0x54], 0x8a775830
mov dword [ebp - 0x50], 0x3e30f8da
sub dword [ebp - 0x50], 0xfcc49765
mov dword [ebp - 0x4c], 0x63e683c6
add dword [ebp - 0x4c], 0xff88e8a6
mov dword [ebp - 0x48], 0x286b9495
add dword [ebp - 0x48], 0xd7946b6b
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xf09bf261
add eax, 0x41693e1b
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x4d1a1
push 0
call eax
mov ecx, 0x5f21
xor ebx, ebx
add ebx, eax
mov esi, 0x3207a200
add esi, dword [ebp - 0x44]
mov edi, 0x7a9e5ed9
xor dword [ebp - 0x10], 0xb78bdde8
mov edx, dword [esi]
mov dword [ebp - 0x34], 0xdfa1b0e2
xor edx, edi
mov dword [ebx], edx
add ebx, 4
add esi, 0xcaecaacd
sub esi, 0xcaecaac9
loop 0x32018cde
add eax, 0x16f57
xor ebx, ebx
add ebx, eax
add eax, 0x9b94d170
add eax, 0x646b2e95
mov ecx, 0x32bbe65b
add ecx, 0xff4419a5
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..00cfg
nop
mov ebx, 0x408ecc
mov ecx, 0x672e3050
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x355f2284
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
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
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x682f4a7a
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1d1d5ad0
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000aef4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1017ec00]
jne 0x1000aefe
repz ret
jmp fcn.1000dbaf

Function at 0x1000ff27
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.1000d895
and dword [ebp - 4], 0
cmp dword [0x10180ee0], 0
mov ebx, eax
jne 0x1000ffd8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10010089
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10010089
push eax
call fcn.1000d823
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10180ee0], eax
call esi
push eax
call fcn.1000d823
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10180ee4], eax
call esi
push eax
call fcn.1000d823
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10180ee8], eax
call esi
push eax
call fcn.1000d823
pop ecx
mov dword [0x10180ef0], eax
test eax, eax
je 0x1000ffd8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000d823
pop ecx
mov dword [0x10180eec], eax
mov eax, dword [0x10180eec]
cmp eax, ebx
je 0x10010030
cmp dword [0x10180ef0], ebx
je 0x10010030
push eax
call fcn.1000d89e
push dword [0x10180ef0]
mov esi, eax
call fcn.1000d89e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10010030
test edi, edi
je 0x10010030
call esi
test eax, eax
je 0x10010027
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10010027
test byte [ebp - 0xc], 1
jne 0x10010030
or dword [ebp + 0x10], 0x200000
jmp 0x10010069
mov eax, dword [0x10180ee4]
cmp eax, ebx
je 0x10010069
push eax
call fcn.1000d89e
pop ecx
test eax, eax
je 0x10010069
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10010069
mov eax, dword [0x10180ee8]
cmp eax, ebx
je 0x10010069
push eax
call fcn.1000d89e
pop ecx
test eax, eax
je 0x10010069
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10180ee0]
call fcn.1000d89e
pop ecx
test eax, eax
je 0x10010089
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001008b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100120b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x18
mov eax, 4
mov dword [ebp - 0xc], eax
call fcn.1000a4e0
mov eax, esp
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, ecx
call fcn.1000a4e0
mov eax, esp
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, ecx
call fcn.1000a4e0
mov eax, esp
mov dword [0x1017eb9c], 0x25b6
mov ecx, dword [ebp - 0x10]
mov dword [ecx], 0
mov dword [ebp - 0x18], eax
mov eax, dword fs:[0x30]
mov dword [ecx], eax
mov dword [ebp - 8], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov edx, dword [ebp - 0x14]
mov dword [edx], eax
mov eax, dword [0x1017eb9c]
add eax, 0xcfd
mov dword [0x1017eb9c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x100121b3
jmp 0x10012187
jmp 0x100122a4
jmp 0x1001229f
mov dword [0x1017eba0], 0x1a29
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x10]
cmp ecx, 0x6c
je 0x1001227b
jmp 0x10012187
jmp 0x100121f8
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x18]
cmp ecx, 0x6f
je 0x10012218
jmp 0x100122a4
jmp 0x10012136
mov dword [0x1017eba0], 0x90
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x14]
cmp ecx, 0x64
je 0x10012247
jmp 0x1001229f
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x104
jge 0x100121f8
mov eax, dword [0x1017eb9c]
sub eax, 0x51
mov dword [0x1017eba0], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2]
cmp ecx, 0
je 0x10012162
jmp 0x100121e9
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
add ecx, 1
mov dword [eax], ecx
jmp 0x100121b3
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x1a]
cmp ecx, 0x6c
je 0x10012167
jmp 0x100122a6
mov eax, dword [0x1017eba0]
sub eax, 0xccd
mov dword [0x1017eba0], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0x16]
cmp ecx, 0x61
je 0x10012189
jmp 0x10012131
mov dword [0x1017eba0], 0x177c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
shl esi, 1
add ecx, esi
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax - 0x12]
cmp ecx, 0x64
je 0x1001213b
jmp 0x10012136
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
movzx ecx, word [ecx + esi*2 - 0xe]
cmp ecx, 0x6c
jne 0x1001212f
mov dword [ebp - 8], 1
jmp 0x100122ad
jmp 0x10012131
jmp 0x100122a6
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
lea esp, [ebp - 4]
pop esi
pop ebp
ret