joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101a10f3
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101a11ca
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x19], cl
mov al, byte [ebp - 0x19]
test al, 1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
jne 0x101a11ca
jmp 0x101a11e4
xor eax, eax
mov dword [0x101aa2b0], 0x982
mov dword [ebp - 0x24], eax
jmp 0x101a1225
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101a11b1
jmp 0x101a1150
mov eax, dword [0x101aa2b0]
add eax, 0xfffff36e
mov dword [0x101aa2b0], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x14], 0x64
sete dl
mov byte [ebp - 0x29], dl
mov al, byte [ebp - 0x29]
test al, 1
jne 0x101a11a0
jmp 0x101a1150
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101a1164
jmp 0x101a1150
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x101a1225
jmp 0x101a1150
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], edx
jne 0x101a1122
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x28], eax
jne 0x101a1150
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101a1150
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101a1175
jmp 0x101a1150
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop ebp
ret
Function at 0x101a1585
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101aa2b8], 0
mov dword [0x101aa2bc], 0
mov dword [0x101aa2c8], 0
mov dword [0x101aa2b0], 0x53e
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101a16e0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x101aa2b4], 0xb88
add ecx, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101aa2b8], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x30]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101aa2bc], edx
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101aa2c0], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x101aa2b0]
add edx, 0x20cc
mov dword [0x101aa2b0], edx
mov cl, byte [0x101aa2c0]
mov edx, dword [0x101aa2bc]
mov byte [edi + edx], cl
mov edx, dword [0x101aa2b8]
movzx edx, byte [edi + edx]
mov ebx, dword [0x101aa2bc]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101aa2c8], ebx
mov dword [0x101aa2b0], 0x395
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x38], edx
je 0x101a16e0
mov eax, dword [0x101aa2b8]
mov ecx, dword [0x101aa2bc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x101a15e8
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101a17d4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov ecx, dword [0x101aa2b4]
mov edx, ecx
add edx, 0xffffdf43
mov dword [0x101aa2b0], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
jmp 0x101a180d
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov cl, byte [eax + 0x101a209c]
mov dl, byte [eax + 0x101a206d]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x34], eax
jne 0x101a180d
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x30]
add ecx, 0xffffe336
mov dword [0x101aa2b4], ecx
mov dword [ebp - 0x38], eax
call fcn.101a122d
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.101a1b07
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x101a1805
mov eax, dword [ebp - 0x3c]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.101a16e8
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov dword [0x101aa2b0], 0x21cb
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x34], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x28], ecx
add ecx, 0x1d41
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x101a18f1
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret
Function at 0x50014ee
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
test edx, edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
je 0x500151a
push esi
push edi
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
mov esi, dword [esi*4 + 0x5006010]
shr eax, 8
xor eax, esi
inc ecx
dec edx
jne 0x5001500
pop edi
pop esi
ret 0xc
Function at 0x5001830
Capabilities:
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x280
push esi
mov esi, dword [ebp + 0x7c]
cmp esi, 0xffffffff
jne 0x500184c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp dword [0x5016840], 0
jne 0x500189d
lea eax, [ebp - 0x20c]
push eax
push 0x200
push esi
call fcn.05001331
and byte [ebp - 0xc], 0
push 0x80
lea eax, [ebp - 0xc]
push eax
push 0x20000003
push 0
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x10010
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [0x5006514]
call dword [sym.imp.USER32.dll_MessageBoxA]
call fcn.05001395
test esi, esi
jne 0x50018a7
inc esi
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x5001b48
Capabilities:
Create directory

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp byte [edi], 0
mov esi, edi
je 0x5001b7e
cmp byte [esi], 0x5c
jne 0x5001b78
and byte [esi], 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x5001b75
push edi
push 0x50010c8
call fcn.05001b23
mov byte [esi], 0x5c
inc esi
cmp byte [esi], 0
jne 0x5001b55
pop edi
pop esi
ret 4

Function at 0x5001b83
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
or ecx, 0xffffffff
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
lea ecx, [eax + 1]
mov edx, ecx
shr ecx, 2
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp + eax - 0x104]
cmp byte [eax - 1], 0x5c
pop edi
pop esi
je 0x5001bcc
mov byte [eax], 0x5c
and byte [eax + 1], 0
lea eax, [ebp - 0x104]
push eax
call fcn.05001b48
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x5001bf3
test al, 0x10
je 0x5001bf3
xor eax, eax
inc eax
jmp 0x5001bf5
xor eax, eax
leave
ret 4
Function at 0x5003865
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, eax
dec eax
test edi, edi
jle 0x50038a5
lea edi, [eax + 1]
movzx eax, byte [ecx]
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or eax, ebx
inc ecx
xor edx, eax
dec edi
jne 0x5003883
and esi, 3
xor eax, eax
dec esi
je 0x50038c1
dec esi
je 0x50038ba
dec esi
jne 0x50038c6
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, edx
pop ebx
ret 0xc
Function at 0x473330
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00472de8
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404a20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x47338e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4879d0]
mov dl, 1
mov eax, dword [0x472c74]
call fcn.0040c688
call fcn.00403fd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x473398
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404a20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4733f0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x487bf0]
mov dl, 1
mov eax, dword [0x472c74]
call fcn.0040c688
call fcn.00403fd0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00472e18
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x475204
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4752dc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x488d78], 0
jne 0x4752c0
lea eax, [ebp - 4]
mov edx, 0x4752f4
call fcn.00404608
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a20
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4752c0
mov eax, ebx
call fcn.004027a8
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4752b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4752a3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x475304
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4752a3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x488d78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4752c0
mov eax, dword [ebp - 0xc]
call fcn.004027c8
ret
mov ebx, dword [0x488d78]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4752e3
lea eax, [ebp - 4]
call fcn.00404570
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x430006
Capabilities:
Encode data using xor

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

Disassembly:
call 0x92c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x92c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x92c06a
add dl, dl
jne 0x92c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x92c0dc
xor eax, eax
add dl, dl
jne 0x92c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x92c17d
add dl, dl
jne 0x92c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x92c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x92c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x92c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x92c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x92c075
mov eax, 1
add dl, dl
jne 0x92c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x92c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x92c0e1
sub eax, ebx
mov ebx, 1
jne 0x92c128
mov ecx, 1
add dl, dl
jne 0x92c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x92c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x92c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x92c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x92c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x92c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x92c136
cmp eax, 0x7d00
jae 0x92c16d
cmp eax, 0x500
jb 0x92c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x92c075
cmp eax, 0x7f
ja 0x92c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x92c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x92c19e
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 0x92c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x4dfd10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x89000]
push edi
jmp 0x4dfd2a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4dfd31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dfd20
mov eax, 1
add ebx, ebx
jne 0x4dfd43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4dfd54
jne 0x4dfd73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dfd73
dec eax
add ebx, ebx
jne 0x4dfd60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4dfd38
add ebx, ebx
jne 0x4dfd6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4dfdc5
xor ecx, ecx
sub eax, 3
jb 0x4dfd8b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4dfdfa
sar eax, 1
mov ebp, eax
jmp 0x4dfd96
add ebx, ebx
jne 0x4dfd96
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dfd64
inc ecx
add ebx, ebx
jne 0x4dfda4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4dfd64
add ebx, ebx
jne 0x4dfdb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4dfda6
jne 0x4dfdc2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4dfda6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4dfde4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4dfdd6
jmp 0x4dfd26
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4dfde4
add edi, ecx
jmp 0x4dfd26
pop esi
mov edi, esi
mov ecx, 0x3ed3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4dfe02
cmp byte [edi], 0x11
jne 0x4dfe02
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 0x4dfe07
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4dfe7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe5a94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe5c10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4dfe34
mov ecx, edi
jns 0x4dfe63
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xe5c14]
or eax, eax
je 0x4dfe79
mov dword [ebx], eax
add ebx, 4
jmp 0x4dfe51
call dword [esi + 0xe5c24]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4dfeb0
cmp al, 0xef
ja 0x4dfea3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4dfe85
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4dfe92
mov ebp, dword [esi + 0xe5c18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4dfee4
sub esp, 0xffffff80
jmp 0x427dcd
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x10901177
Capabilities:
Get common file path

Disassembly:
jmp 0x10902410
mov eax, dword [sym.imp.Core.dll_int_GUnicodeOS]
sub esp, 0x300
cmp dword [eax], 0
push esi
mov esi, dword [sym.imp.Core.dll_unsigned_short_int____cdecl_appStrcpy_unsigned_short_int___unsigned_short_int_const__]
push edi
jne 0x109024f9
push 0xff
lea ecx, [esp + 0x10d]
push 0
push ecx
mov byte [esp + 0x114], 0
call fcn.109217f0
push 0xff
lea edx, [esp + 0x19]
push 0
push edx
mov byte [esp + 0x20], 0
call fcn.109217f0
push 0xff
lea eax, [esp + 0x225]
push 0
push eax
mov byte [esp + 0x22c], 0
call fcn.109217f0
add esp, 0x24
push 0x100
lea ecx, [esp + 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x100
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0x100
lea eax, [esp + 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.Core.dll_unsigned_short_int_const____cdecl_appFromAnsi_char_const___unsigned_short_int__]
lea ecx, [esp + 0x108]
push 0
push ecx
call edi
push eax
push 0x1096e5f0
call esi
lea edx, [esp + 0x18]
push 0
push edx
call edi
push eax
push 0x1096e7f0
call esi
lea eax, [esp + 0x228]
push 0
push eax
call edi
push eax
push 0x1096e9f0
call esi
add esp, 0x30
jmp 0x1090252b
push 0x100
push 0x1096e5f0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100
push 0x1096e7f0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x100
push 0x1096e9f0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.Core.dll_int___cdecl_appStrlen_unsigned_short_int_const__]
push str..ICD
push 0x1096e9f0
call edi
lea ecx, [eax*2 + 0x1096e9e8]
add esp, 4
push ecx
call dword [sym.imp.Core.dll_int___cdecl_appStricmp_unsigned_short_int_const___unsigned_short_int_const__]
add esp, 8
test eax, eax
jne 0x10902571
push str..EXE
push 0x1096e9f0
call edi
lea edx, [eax*2 + 0x1096e9e8]
add esp, 4
push edx
call esi
add esp, 8
pop edi
pop esi
add esp, 0x300
ret
Function at 0x10903960
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x109514a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.Core.dll_void___cdecl_appFailAssert_char_const___char_const___int_]
cmp dword [esi + 0x20678], edi
je 0x109039aa
push 0x1b8
push str.....CoreIncFMallocWindows.h
push str._MemInit
call ebx
add esp, 0xc
mov dword [esi + 0x20678], 1
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [sym.imp.Core.dll_unsigned_long_int_GPageSize]
mov eax, dword [ebp - 0x48]
mov dword [edx], eax
mov ecx, dword [sym.imp.Core.dll_unsigned_long_int_GPageSize]
mov eax, dword [ecx]
lea edx, [eax - 1]
test eax, edx
je 0x109039f6
push 0x1c6
push str.....CoreIncFMallocWindows.h
push str.__GPageSize_GPageSize_1__
call ebx
add esp, 0xc
mov dword [esi + 0x268], edi
mov dword [esi + 0x26c], edi
mov dword [esi + 0x270], edi
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, 0x31
jae 0x10903a3c
lea ecx, [eax + eax*2]
lea ecx, [esi + ecx*4]
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov edx, eax
and edx, 3
add edx, 4
mov ecx, eax
shr ecx, 2
add ecx, 1
shl edx, cl
lea ecx, [eax + eax*2 + 9]
mov dword [esi + ecx*4], edx
add eax, 1
jmp 0x10903a0a
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
xor eax, eax
cmp ecx, 0x8001
jae 0x10903a6f
mov dword [ebp - 0x18], eax
lea edx, [eax + eax*2 + 9]
cmp dword [esi + edx*4], ecx
jae 0x10903a5c
add eax, 1
jmp 0x10903a4b
lea eax, [eax + eax*2]
lea edx, [esi + eax*4 + 0x1c]
mov dword [esi + ecx*4 + 0x674], edx
add ecx, 1
jmp 0x10903a3e
mov dword [ebp - 0x20], eax
cmp eax, 0x100
jae 0x10903a85
mov dword [esi + eax*4 + 0x274], edi
add eax, 1
jmp 0x10903a6f
cmp dword [esi + 0x264], 0x8000
je 0x10903aa5
push 0x1dd
push str.....CoreIncFMallocWindows.h
push str.POOL_MAX_1PoolTable_POOL_COUNT_1_.BlockSize
call ebx
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret