joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403970
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465ec8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x47e454]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
mov byte [ebp - 0x10], 0x47
mov byte [ebp - 0xf], 0x43
mov byte [ebp - 0xe], 0x52
mov byte [ebp - 0xd], 0x4f
mov byte [ebp - 0x30], 0x33
mov byte [ebp - 0x2f], 0x52
mov byte [ebp - 0x2e], 0x32
mov byte [ebp - 0x2d], 0x52
mov byte [ebp - 0x2c], 0x54
mov byte [ebp - 0x2b], 0x48
mov byte [ebp - 0x2a], 0x34
mov byte [ebp - 0x4c], 0x34
mov byte [ebp - 0x4b], 0x51
lea eax, [ebp - 0x4c]
push eax
push 2
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00404a40
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
call fcn.00405fd0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x3c], 0x36
mov byte [ebp - 0x3b], 0x52
mov byte [ebp - 0x3a], 0x54
mov byte [ebp - 0x39], 0x49
mov byte [ebp - 0x38], 0x42
mov byte [ebp - 0x37], 0x53
mov byte [ebp - 0x28], 0x42
mov byte [ebp - 0x27], 0x49
mov byte [ebp - 0x26], 0x4d
mov byte [ebp - 0x34], 0x4f
mov byte [ebp - 0x33], 0x47
mov byte [ebp - 0x41], 0x42
mov byte [ebp - 0x40], 0x38
mov byte [ebp - 0x3f], 0x5f
mov byte [ebp - 0x6d], 0x52
mov byte [ebp - 0x24], 0x4b
mov byte [ebp - 0x23], 0x5a
mov byte [ebp - 0x22], 0x57
mov byte [ebp - 0x21], 0x46
mov byte [ebp - 0x20], 0x35
mov byte [ebp - 0x1f], 0x30
mov byte [ebp - 0x1e], 0x4c
mov byte [ebp - 0x1c], 0x31
mov byte [ebp - 0x1b], 0x55
mov byte [ebp - 0x1a], 0x43
mov byte [ebp - 0x19], 0x48
mov byte [ebp - 0x18], 0x58
mov byte [ebp - 0x17], 0x31
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx + 0x70]
push edx
lea eax, [ebp - 0x6d]
push eax
lea ecx, [ebp - 0x40]
push ecx
lea edx, [ebp - 0x41]
push edx
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.00405e40
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x403ab8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00405f40
jmp 0x403adb
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x70]
push ecx
call dword [ebp - 0x6c]
mov edx, dword [ebp - 0x74]
mov eax, dword [edx + 0x74]
push eax
call dword [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00405f40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004386d3
mov esp, ebp
pop ebp
ret
Function at 0x4082d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4082f9
cmp dword [edi + 0x54], 0
jne 0x4082f9
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041126d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00408296
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40f2d2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40f319
call fcn.0041126d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40f319
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40f335
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040ee4c
mov esi, eax
test edi, edi
je 0x40f333
test ebx, ebx
je 0x40f333
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40fe70
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46586c
call fcn.0043c2fb
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40fe95
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40fedb
lea ecx, [ebp - 0x10]
call fcn.00407e69
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040f373
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004070e4
mov eax, esi
call fcn.0043c3d3
ret 8

Function at 0x41bf83
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x4646c6
call fcn.0043c2fb
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ec76
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x41bfe5
call fcn.0041095c
cmp eax, 1
jne 0x41bfe5
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041b7bd
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416f53
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004070e4
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004070e4
mov eax, esi
call fcn.0043c3d3
ret 0x10
Function at 0x41c00e
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x4646c6
call fcn.0043c2fb
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ec76
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x41c070
call fcn.0041095c
cmp eax, 1
jne 0x41c070
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041b7bd
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416f53
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004070e4
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004070e4
mov eax, esi
call fcn.0043c3d3
ret 0x14

Function at 0x41c09c
Capabilities:
Delete registry key

Disassembly:
push 0
mov eax, 0x4646c6
call fcn.0043c2fb
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040ec76
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x41c0fe
call fcn.0041095c
cmp eax, 1
jne 0x41c0fe
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.0041b7bd
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00416f53
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004070e4
mov dword [ebp + 8], SysStringLen
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004070e4
mov eax, esi
call fcn.0043c3d3
ret 8

Function at 0x4386d3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47e454]
jne 0x4386dd
repz ret
jmp fcn.0043f8d7
Function at 0x4540f4
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.004407c1
and dword [ebp - 4], 0
cmp dword [0x59b8d0], 0
mov ebx, eax
jne 0x4541a5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x454256
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x46f5f8
push edi
call esi
test eax, eax
je 0x454256
push eax
call fcn.0044074f
mov dword [esp], 0x46f5e8
push edi
mov dword [0x59b8d0], eax
call esi
push eax
call fcn.0044074f
mov dword [esp], 0x46f5d4
push edi
mov dword [0x59b8d4], eax
call esi
push eax
call fcn.0044074f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x59b8d8], eax
call esi
push eax
call fcn.0044074f
pop ecx
mov dword [0x59b8e0], eax
test eax, eax
je 0x4541a5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044074f
pop ecx
mov dword [0x59b8dc], eax
mov eax, dword [0x59b8dc]
cmp eax, ebx
je 0x4541fd
cmp dword [0x59b8e0], ebx
je 0x4541fd
push eax
call fcn.004407ca
push dword [0x59b8e0]
mov esi, eax
call fcn.004407ca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4541fd
test edi, edi
je 0x4541fd
call esi
test eax, eax
je 0x4541f4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4541f4
test byte [ebp - 0xc], 1
jne 0x4541fd
or dword [ebp + 0x10], 0x200000
jmp 0x454236
mov eax, dword [0x59b8d4]
cmp eax, ebx
je 0x454236
push eax
call fcn.004407ca
pop ecx
test eax, eax
je 0x454236
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x454236
mov eax, dword [0x59b8d8]
cmp eax, ebx
je 0x454236
push eax
call fcn.004407ca
pop ecx
test eax, eax
je 0x454236
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x59b8d0]
call fcn.004407ca
pop ecx
test eax, eax
je 0x454256
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x454258
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4069c5
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 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
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 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
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 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
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 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
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
nop
mov eax, section..rdata
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x398d220f
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x432060
nop
nop
nop
nop
mov eax, section..text
nop
nop
cmp eax, 0
nop
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0xd275387
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x406840
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb6000210
cmp dl, bl
pop ebp
or byte [esi + 0x57], dl
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x544069fd
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4069ef
sbb dh, byte [ebp + 0x4b]
mov ecx, dword [esi + 0x7a]
lea edx, [esi - 0x7e]
push ecx
push edx
push eax
call dword [0x21c1a4]
cmp eax, 0xffffffff
jne 0x40699d
mov esi, dword [0xa3c1d8]
call esi
adc eax, eax
je 0x3741548b
call esi
add eax, 0xafc80
xchg esp, eax
mov bl, 0xfc
or eax, dword [eax]
xor al, byte [ebp + 0x151]
mov ebx, esp
and byte [ebx], cl
jae 0x4068cd
mov eax, edi
or ecx, dword [ebx + 0x5e5f2c75]
mov eax, 0xb23b4
pop ebx
mov edi, dword [esi + 0x8c25d]
mov esi, dword [edi]
add al, 0xb9
xchg ecx, eax
sbb eax, dword [eax]
add byte [ebp - 0xb7a760a], al
std
invalid
mov dword [esi + 0x6d], ecx
std
sar edi, 1
mov dword [ebp + 0x4ffffebf], eax
mov dword [ebp - 0xd401ec], ecx
jg 0x406918
jl 0x4068e7
test edi, edi
jae 0x4068eb
xor eax, dword [ebx]
mov byte [0x4068006a], ah
inc edx
lldt word [esi + 0x57]
push 0
push 0xf4240
push esi
push edi
call 0x412890
push 0
push 0xf4240
push esi
push edi
mov dword [eax], esp
clc
call fcn.0040b750
mov dword [edx - 0x7ba4204], ebp
lea ecx, [ebp - 0x3e010c]
push eax
cmpsb byte [esi], byte es:[edi]
xchg ebp, eax
invalid
add byte [ebx - 0x75], bl
in eax, 0x5d
ret 8
push eax
out dx, eax
jne 0x406a09
add byte [eax - 0x1a86a4a2], ch
faddp st(2)
or byte [eax], al
nop
nop
nop
Function at 0x414556
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
invalid
test edx, edx
jle 0x41457e

Function at 0x414acb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x45095e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042581b
add esp, 0x10
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x414af1
Function at 0x420bd9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4c7283]
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], al
push 0x8000
push esi
mov edi, edx
call fcn.0042491f
pop ecx
push eax
call fcn.0042474d
cmp dword [edi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x456939
lea ecx, [ebp - 0x18]
call fcn.004140e6
mov ecx, edi
call fcn.00404d50
lea eax, [ebp - 0x18]
push eax
push dword [edi + 8]
call fcn.00414043
push dword [ebp - 0x18]
push 0x492ca8
push esi
call fcn.00424b1e
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x456959
lea ecx, [ebp - 0x18]
call fcn.00411ccf
mov edi, dword [ebp - 8]
push esi
call fcn.00424ce3
pop ecx
cmp ebx, 0xffffffff
je 0x420c77
push ebx
push esi
call fcn.0042491f
pop ecx
push eax
call fcn.0042474d
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x4000
jmp 0x420c5f
push esi
mov ecx, edi
call fcn.00468d2c
push eax
push 1
call fcn.00468ce9
push eax
call fcn.00424a9c
add esp, 0x10
mov edi, eax
jmp 0x420c52
mov ecx, edi
call fcn.00404d50
mov eax, dword [edi + 8]
push dword [eax]
call dword [0x490244]
jmp 0x420c47
Function at 0x45ff11
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420fff
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00421089
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x45ff6c
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x45ff63
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x465067
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov eax, ecx
xor esi, esi
mov dword [ebp - 4], eax
mov byte [0x4c72b7], 0
mov ebx, edx
test edi, edi
je 0x4650b9
mov byte [0x4c72b8], 1
call dword [0x490180]
mov dword [ebp - 0xc], eax
xor ecx, ecx
lea eax, [ebp + 0x10]
mov dword [ebp - 8], edi
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
push 0x465530
push ecx
push ecx
call fcn.004240ca
mov esi, eax
add esp, 0x18
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push eax
call dword [0x4906b8]
mov edi, eax
test esi, esi
je 0x4650e4
push 0xffffffffffffffff
push esi
mov byte [0x4c72b8], 0
call dword [0x49016c]
push esi
call dword [0x490358]
cmp byte [0x4c72b7], 1
jne 0x4650f2
or eax, 0xffffffff
jmp 0x4650f4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x468d76
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4c5190]
jne 0x468d83
call fcn.00468e5d
mov eax, dword [0x4c8ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c8ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x468dbb
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c5190]
jne 0x468dcd
call fcn.00468e5d
mov eax, dword [0x4c8ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c8ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468e10
fadd qword [0x4bcac8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bcaa0]
mov esp, ebp
pop ebp
ret

Function at 0x468e20
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c8530], ecx
inc esi
mov ecx, 0x4c8530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c8eec
jl 0x468e31
mov dword [0x4c5190], esi
mov dword [0x4c8518], esi
pop esi
ret
Function at 0x468e5d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c8518], 0
push esi
push edi
mov esi, 0x4c8530
jne 0x468e7c
push 0
call fcn.00425443
pop ecx
mov ecx, eax
call fcn.00468e20
mov dword [0x4c5190], 0x270
mov edi, 0xe3
mov dword [0x4c8ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x468e91
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x468ec6
mov ecx, dword [0x4c8530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, edx
mov dword [esi], eax
pop esi
ret

Function at 0x469365
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x46938a
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00421089
add esp, 0xc
jmp 0x46939d
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.0042581b
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push 0x4bb4b4
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.004258c9
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x469473
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10000
mov eax, dword [esi + 0x460]
test eax, eax
je 0x469489
cmp eax, ecx
jne 0x4694a4
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x458]
call fcn.0042581b
add esp, 0x10
and dword [esi + 0x460], 0
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x460], ecx
pop esi
ret

Function at 0x4694bc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x45c]
mov esi, dword [edi + 0x454]
mov byte [esi + edx], al
mov eax, 0x10000
inc dword [edi + 0x45c]
cmp dword [edi + 0x45c], eax
jne 0x469503
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x454]
call fcn.00424a9c
add esp, 0x10
and dword [edi + 0x45c], 0
pop edi
pop esi
pop ebp
ret 4
Function at 0x469509
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x469531
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.00424a9c
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret

Function at 0x4696dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.00469533
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.00469579
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x469721
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.004696b1
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x46970b
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4729d3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp byte [ecx + 0x30], 0
je 0x4729e2
pop ebp
jmp fcn.00472aa3
pop ebp
jmp fcn.004729e8

Function at 0x472d81
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x472dbe
cmp byte [ebp + 8], 0
je 0x472dbe
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.00471e1f
push esi
push 0
push 0x472e38
call fcn.00425f05
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
jmp 0x472dc6
push dword [ebp + 8]
call fcn.00471ff3
pop esi
pop ebp
ret 4
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x167828f5
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x4a3b2148
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
popal
nop
nop
nop
jmp 0x401219