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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.1000b860
mov eax, dword [0x100f4540]
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.1001afec
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1001c3eb
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1001c562
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.1000b5d0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100f6078]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.1001d3ef
mov ecx, dword [esi*4 + 0x100f6078]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1001c55b
cmp eax, dword [edi + ecx + 0x24]
jne 0x1001c55b
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
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 0x1001c55b
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001d3ef
add esp, 0x14
cmp edx, esi
jl 0x1001c55b
jg 0x1001c4b6
cmp eax, esi
jb 0x1001c55b
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x1001c55b
jl 0x1001c4d8
cmp dword [ebp - 0x1008], eax
ja 0x1001c55b
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x1001c4fd
cmp ebx, esi
je 0x1001c542
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x1001c542
mov al, byte [ecx]
cmp al, 0xd
jne 0x1001c523
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1001c52f
cmp byte [ecx + 1], 0xa
jne 0x1001c52f
inc ecx
jmp 0x1001c52f
movzx eax, al
movsx eax, byte [eax + 0x100f47f0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1001c509
cmp edx, ebx
jne 0x1001c509
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x1001c560
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1000b5b3
leave
ret
Function at 0x1001c87b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100f6078]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001c8bd
cmp byte [ebx], 0xa
jne 0x1001c8bd
or byte [edi + eax + 0x28], 4
jmp 0x1001c8c2
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1001c9c5
mov cl, byte [eax]
cmp cl, 0x1a
je 0x1001c9a0
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x1001c8f1
mov eax, dword [ebp - 8]
jmp 0x1001c911
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x1001c92d
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x1001c90b
add eax, 2
mov cl, 0xa
jmp 0x1001c90e
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x1001c8d3
jmp 0x1001c9c5
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 0x1001c99b
cmp dword [ebp - 0x10], 0
je 0x1001c99b
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x100f6078]
test byte [eax + edi + 0x28], 0x48
je 0x1001c97a
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x1001c96a
mov byte [esi], 0xa
jmp 0x1001c9c4
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x100f6078]
mov byte [eax + edi + 0x2a], cl
jmp 0x1001c9c4
cmp byte [ebp - 1], 0xa
jne 0x1001c984
cmp esi, ebx
je 0x1001c965
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1001d40d
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1001c9c5
mov byte [esi], 0xd
jmp 0x1001c9c4
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x100f6078]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x1001c9c2
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x1001c9c5
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1001c9ce
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 8]
and eax, 0x3f
push ebx
mov ebx, dword [ebp + 0xc]
sar edx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [edx*4 + 0x100f6078]
mov dword [ebp - 8], edx
mov edx, dword [eax + edi + 0x18]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x1001ca12
push 0xa
pop esi
cmp word [ebx], si
jne 0x1001ca12
or byte [eax + edi + 0x28], 4
jmp 0x1001ca17
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + edx*2]
mov eax, ebx
mov dword [ebp - 0x10], edx
mov esi, ebx
cmp ebx, edx
jae 0x1001cb82
movzx edx, word [eax]
mov ecx, edx
mov dword [ebp - 0xc], ecx
movzx ecx, cx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 8]
cmp edx, 0x1a
je 0x1001cb5a
lea ebx, [eax + 2]
mov dword [ebp - 4], ebx
push 0xd
pop ebx
cmp dx, bx
mov ebx, dword [ebp + 0xc]
je 0x1001ca64
mov ebx, dword [ebp - 0x14]
mov edx, esi
mov eax, dword [ebp - 4]
movzx ebx, bx
mov dword [ebp - 4], ebx
jmp 0x1001ca8e
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jae 0x1001caad
push 0xa
pop ebx
cmp word [edx], bx
jne 0x1001ca7b
push ebx
add eax, 4
pop edx
jmp 0x1001ca83
mov eax, edx
mov edx, dword [ebp - 0xc]
movzx edx, dx
movzx edx, dx
mov dword [ebp - 4], edx
mov edx, esi
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xc], 2
mov word [esi], cx
mov esi, dword [ebp - 0xc]
add esi, edx
cmp eax, dword [ebp - 0x10]
jb 0x1001ca29
jmp 0x1001cb82
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 0x1001cb55
cmp dword [ebp - 0x14], 0
je 0x1001cb55
mov eax, dword [ebp - 8]
push 0xa
mov eax, dword [eax*4 + 0x100f6078]
test byte [eax + edi + 0x28], 0x48
pop eax
je 0x1001cb31
mov dx, word [ebp - 4]
cmp dx, ax
jne 0x1001caf9
mov word [esi], ax
jmp 0x1001cb7f
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebp - 8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov eax, dword [eax*4 + 0x100f6078]
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100f6078]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100f6078]
pop ecx
mov byte [eax + edi + 0x2c], cl
jmp 0x1001cb7f
cmp word [ebp - 4], ax
jne 0x1001cb3b
cmp esi, ebx
je 0x1001caf1
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1001d40d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1001cb82
push 0xd
pop eax
jmp 0x1001caf1
mov eax, ecx
and ecx, 0x3f
sar eax, 6
imul ecx, ecx, 0x38
mov edi, dword [eax*4 + 0x100f6078]
mov al, byte [edi + ecx + 0x28]
test al, 0x40
jne 0x1001cb7c
or al, 2
mov byte [edi + ecx + 0x28], al
jmp 0x1001cb82
mov word [esi], dx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10024d6e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100f4540]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10018b1c
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10018b1c
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x10024de5
cmp word [ecx], dx
je 0x10024de5
mov eax, dword [0x10034534]
push edi
dec eax
push eax
push 0x10034420
call fcn.10024d07
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x10024e58
cmp word [eax], dx
je 0x10024e58
mov eax, dword [edi]
test eax, eax
je 0x10024e09
cmp word [eax], dx
je 0x10024e09
lea eax, [ebp - 0x10]
push eax
call fcn.100246ed
jmp 0x10024e12
lea eax, [ebp - 0x10]
push eax
call fcn.10024788
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10024e82
mov eax, dword [0x1003441c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x10034110
call fcn.10024d07
add esp, 0xc
test al, al
je 0x10024e82
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10024e4d
cmp word [eax], di
je 0x10024e4d
lea eax, [ebp - 0x10]
push eax
call fcn.100246ed
pop ecx
jmp 0x10024e84
lea eax, [ebp - 0x10]
push eax
call fcn.10024788
jmp 0x10024e4a
mov eax, dword [edi]
test eax, eax
je 0x10024e6f
cmp word [eax], dx
je 0x10024e6f
lea eax, [ebp - 0x10]
push eax
call fcn.100246a2
pop ecx
jmp 0x10024e82
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10024f4d
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10024b8c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10024f4d
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10024f4d
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10024f4d
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10024eda
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1001ab2d
test ebx, ebx
je 0x10024f48
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1001ab2d
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10024f4d
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10024f4d
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.10028d9f
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10024f4f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b5b3
leave
ret
Function at 0x1002a240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002a26d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002a26d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x421770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x415015
lea edi, [esi - 0x14015]
push edi
or ebp, 0xffffffff
jmp 0x421792
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421799
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421788
mov eax, 1
add ebx, ebx
jne 0x4217ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4217a0
jne 0x4217bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4217a0
xor ecx, ecx
sub eax, 3
jb 0x4217d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x421842
mov ebp, eax
add ebx, ebx
jne 0x4217db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4217e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42180c
inc ecx
add ebx, ebx
jne 0x4217f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4217ed
jne 0x421809
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4217ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42182c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42181d
jmp 0x42178e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42182c
add edi, ecx
jmp 0x42178e
pop esi
lea edi, [esi + 0x1000]
mov ecx, 7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42184e
cmp byte [edi], 7
jne 0x42184e
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 0x421853
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4218c2
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x229bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x22a0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421880
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x22a10]
or eax, eax
je 0x4218bc
mov dword [ebx], eax
add ebx, 4
jmp 0x42189d
call dword [esi + 0x22a20]
mov ebp, dword [esi + 0x22a14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4218f6
sub esp, 0xffffff80
jmp 0x402000
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x64b7611d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x67496e68
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..data
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3a86706e
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data_1
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7e24286
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406a06
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 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
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 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
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 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
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 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40154b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
mov esi, dword [0x4695a0]
xor ebx, ebx
push edi
mov dword [esp + 0x10], edx
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
add eax, esi
mov dword [esp + 0x18], eax
mov edi, dword [eax + 0x20]
mov eax, dword [eax + 0x18]
add edi, esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x4015bb
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
add eax, esi
push eax
call fcn.004017a5
lea ecx, [esp + 0x1c]
call fcn.00401317
cmp eax, dword [esp + 0x10]
je 0x4015d2
lea ecx, [esp + 0x1c]
add edi, 4
call fcn.00401782
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x40158b
xor edi, edi
mov ecx, dword [esp + 0x34]
lea eax, [esi + edi]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401add
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebx*2]
movzx ecx, word [eax + esi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x1c]
call fcn.00401782
jmp 0x4015bd

Function at 0x401659
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
sub cx, 0x1f9
mul edi
dec cx
mul di
mul ebx
sub ax, 0x22b
or edi, ebx
shr cx, 2
rcl eax, 0x6e
rol ax, 0x19
rcl cx, 0xcb
mul si
mov si, 0x1b0
rcr esi, 0xed
inc si
dec dx
movsx ebx, si
movsx ecx, si
rcl cx, 0x33
mov edx, esi
shr ax, 0xb9
dec cx
ja 0x4016b3
test edx, 0x43
ja 0x4016d4
dec bx
imul eax
jmp 0x4016c3
rol bx, 0x64
sub di, cx
ror esi, 0x18
ror ecx, 0xef
movsx ebx, bx
rcl eax, 0x5b
mul esi
jae 0x4016d4
inc ax
movsx ecx, si
rcr ebx, 0x8e
jmp 0x4016ef
and ecx, 0x33b
ror edx, 0x56
rcr di, 0xc6
or esi, 0x389
movzx edi, ax
movsx edi, si
imul edx
mul cx
ror ax, 0x4e
sub ebx, 0xb9
rcl cx, 0x60
jb 0x40170e
imul si
mul eax
inc esi
xor bx, dx
inc ebx
jmp 0x401720
mul eax
add eax, edi
mov ax, 0x2a4
mul ebx
ror edi, 0xfc
xor di, 0xdb
movsx ecx, di
dec bx
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x4695a0], eax
push 0x27
mov esi, 0x468530
mov edx, 0x547
push 0x41b900
mov ecx, esi
call fcn.00401112
pop ecx
pop ecx
mov edx, 0x8aafdc01
call fcn.0040154b
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
pop ebx
test eax, eax
je 0x40177c
call fcn.004015f4
xor eax, eax
leave
ret 0x10

Function at 0x40238b
Capabilities:
Parse pe header

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

Disassembly:
xor byte [eax], 0xea
aas
adc byte [esi + 0x34b576fa], ah
jbe 0x6d8be9
ljmp 0xb576:0xfaa6103f
or eax, 0x5d21634
test dword [eax + 0x40], edx
xchg esp, eax
add dword [eax + 0x56], eax
sti
xor esi, 0x36
invalid

Function at 0x76f297
Capabilities:
Encode data using xor

Disassembly:
adc eax, 0xaadbedce
cmp ebp, dword ds:[edx - 0x172754db]
les ecx, [ebx - 0x17]
cmpsb byte [esi], byte es:[edi]
cli
or edx, esp
xchg ebx, eax
mov dword [ebx + eax*2 - 0x7f0888c5], ebx
lahf
nop
imul edi, dword [ebx + 0x52e1a8c7], 0x1e
push eax
scasb al, byte es:[edi]
stc
out 0x30, al
fist word [edi + 0x40117019]
and ecx, dword [eax + 0x5741fb54]
dec ebp
xor byte [edi + 0x1793af4e], dh
sal dword [ecx + 0x78], 0x10
pop esi
invalid
dec edi
inc ecx
inc edi
shr dh, 1
mov eax, 0xc750139b
pop ebp
jne 0x76f232
pop edx
invalid

Function at 0x7c648d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7cd498
cmp edx, dword [eax]
je 0x7c64af
add eax, 8
inc ecx
cmp eax, 0x7cd528
jl 0x7c64a0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7cd498]
jne 0x7c65dd
mov eax, dword [0xbcfe34]
cmp eax, 1
je 0x7c65b7
test eax, eax
jne 0x7c64e0
cmp dword [0x7cd3c4], 1
je 0x7c65b7
cmp edx, 0xfc
je 0x7c65dd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x7c6517
lea eax, [ebp - 0x1a4]
push 0x7cb540
push eax
call fcn.007c6e70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.007c7300
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x7c655a
lea eax, [ebp - 0x1a4]
push eax
call fcn.007c7300
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x7cb53c
push edi
call fcn.007c91d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x7cb520
push eax
call fcn.007c6e70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.007c6e80
lea eax, [ebp - 0xa0]
push 0x7cb51c
push eax
call fcn.007c6e80
push dword [esi + 0x7cd49c]
lea eax, [ebp - 0xa0]
push eax
call fcn.007c6e80
push 0x12010
lea eax, [ebp - 0xa0]
push 0x7cb4f4
push eax
call fcn.007c9144
add esp, 0x2c
pop edi
jmp 0x7c65dd
lea eax, [ebp + 8]
lea esi, [esi + 0x7cd49c]
push 0
push eax
push dword [esi]
call fcn.007c7300
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret