joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406330
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x406359
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x4063c5
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x40639d
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x4063a4
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x406350
mov dword [ebp - 0xc], 0xe3
jmp 0x4063d7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x406443
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x40641b
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x406422
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x4063ce
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x40648c
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x406493
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret
Function at 0x4064d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x4064eb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x406557
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x40652f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x406536
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x4064e2
mov esp, ebp
pop ebp
ret
Function at 0x409fc8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x409fe9
jl 0x409fe0
test edi, edi
jne 0x409fe9
xor eax, eax
xor edx, edx
jmp 0x40a0aa
cmp dword [ebx + 0x38], 0
je 0x409ffe
push eax
push edi
push dword [ebp + 8]
call fcn.0040a0b0
jmp 0x40a0aa
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40a045
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a045
cmp eax, edi
jb 0x40a01f
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40a04b
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40a09f
mov ecx, ebx
call fcn.00409812
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40a08a
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call sub.msvcrt.dll_fread
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40a09f
jmp 0x40a05d
test edx, edx
je 0x40a09f
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call sub.msvcrt.dll_fread
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x40b6d8
Capabilities:
Parse pe header

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

Function at 0x40bbc0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.0040baf0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x40bbea
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x40bbf6
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x40bc00
Capabilities:
Get process heap force flags

Disassembly:
call fcn.0040baf0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x40bc2a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x40bc30
Capabilities:
Get process heap force flags

Disassembly:
call fcn.0040baf0
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x40bc5a
sub eax, 0xffffff80
ret
add eax, 0x90
ret
Function at 0x40bec0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x41a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x40bee7
mov ecx, 5
int 0x29
push 2
call fcn.0040b77c
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x40bff2
test esi, esi
jne 0x40bff2
push 2
call fcn.0040b77c
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0040a7bd
mov esp, ebp
pop ebp
ret

Function at 0x40d5c0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0xa4]
shl ecx, 0x10
or ecx, dword [eax + 0xa8]
cmp ecx, 0x60000
jae 0x40d5ea
mov eax, 2
pop ebp
ret
push esi
call fcn.0040baf0
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x70]
mov ecx, edx
and cl, 2
movzx ecx, cl
neg ecx
sbb ecx, ecx
inc eax
cmp eax, 3
ja case.default.0x40d60a
jmp dword [eax*4 + 0x40d640]
or edx, 2
lea eax, [ecx + 2]
mov dword [esi + 0x70], edx
pop esi
pop ebp
ret
and edx, 0xfffffffd
mov dword [esi + 0x70], edx
lea eax, [ecx + 2]
pop esi
pop ebp
ret
call sub.msvcrt.dll__errno
mov dword [eax], 0x16
call fcn.0040be60
or eax, 0xffffffff
pop esi
pop ebp
ret
Function at 0x40d650
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x504
mov eax, dword [0x41a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x40d74b
push 0x2d
push esi
call sub.msvcrt.dll_strchr
add esp, 8
test eax, eax
je 0x40d74b
xor ecx, ecx
mov al, byte [ecx + esi]
lea edx, [ecx + ecx]
test al, al
je 0x40d6aa
cbw
inc ecx
mov word [ebp + edx - 0x204], ax
cmp ecx, 0x100
jne 0x40d688
jmp 0x40d74b
cmp edx, 0x200
jae 0x40d7b1
xor eax, eax
mov word [ebp + edx - 0x204], ax
lea eax, [ebp - 0x204]
push 0x2d
push eax
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
je 0x40d74b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
lea eax, [ebp - 0x504]
push 0xff
push eax
push 0x1001
lea eax, [ebp - 0x204]
push eax
call edi
test eax, eax
je 0x40d74a
lea edx, [ebp - 0x504]
mov ecx, 0x5f
lea edx, [edx + eax*2]
mov word [edx - 2], cx
mov ecx, 0x100
sub ecx, eax
lea eax, [ebp - 0x204]
push ecx
push edx
push 0x1002
push eax
call edi
test eax, eax
je 0x40d74a
lea edi, [ebp - 0x504]
xor eax, eax
nop
movzx ecx, word [edi + eax*2]
lea edx, [ebp - 0x304]
test cx, cx
je 0x40d793
mov byte [edx + eax], cl
inc eax
cmp eax, 0x100
jne 0x40d730
pop edi
mov eax, dword [0x41abb0]
test eax, eax
jne 0x40d771
push str.setlocale
call fcn.0040fcc0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40d76c
or eax, 0xffffffff
mov dword [0x41abb0], eax
lea ecx, [eax + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x40d79f
push esi
push ebx
call ecx
add esp, 8
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040a7bd
mov esp, ebp
pop ebp
ret
mov byte [edx + eax], 0
lea esi, [ebp - 0x304]
jmp 0x40d74a
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0040a7bd
mov esp, ebp
pop ebp
ret
call fcn.0040b372
int3
Function at 0x40e670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.0040e6a0
mov esi, dword [ebp + 8]
test al, al
je 0x40e68e
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.0040e6b0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40e7e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40e83c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e83c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e83c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40e83c
cmp dword [ecx + 0x74], 0xe
jbe 0x40e83c
cmp dword [ecx + 0xe8], 0
je 0x40e83c
push dword [ebp + 8]
call fcn.0040e6b0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2a4abe8
call fcn.0040e480
add esp, 8
cmp dword [ebp - 8], 0
jne 0x40e871
push dword [ebp + 8]
call fcn.0040e670
mov esp, ebp
pop ebp
ret

Function at 0x40e8b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40e90c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e90c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e90c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40e90c
cmp dword [ecx + 0x74], 0xe
jbe 0x40e90c
cmp dword [ecx + 0xe8], 0
je 0x40e90c
push dword [ebp + 8]
call fcn.0040e6b0
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x2a4abe8
call fcn.0040e480
add esp, 8
cmp dword [ebp - 8], 0
jne 0x40e941
push dword [ebp + 8]
call fcn.0040e670
mov esp, ebp
pop ebp
ret
Function at 0x40fd00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4136b0
mov eax, dword fs:[0]
push eax
sub esp, 0x410
mov eax, dword [0x41a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x414], ecx
cmp ecx, ebx
je 0x40fefd
jmp 0x40fd50
mov esi, dword [ecx]
mov edi, dword [esi*4 + 0x2a9ac20]
lea edx, [esi*4 + 0x2a9ac20]
mov dword [ebp - 0x418], edx
nop
test edi, edi
je 0x40fd79
cmp edi, 0xffffffff
jne 0x40ff2a
jmp 0x40feec
mov esi, dword [esi*4 + 0x417250]
cmp byte [0x2a9ac18], 0
mov dword [ebp - 4], 0
je 0x40fdb1
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x414]
mov edi, eax
mov edx, dword [ebp - 0x418]
jmp 0x40fedc
test esi, esi
je 0x40feda
cmp word [esi], 0
je 0x40feda
push 0x200
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x40fece
cmp eax, 0x200
jae 0x40fece
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x410], cx
inc eax
cmp eax, 0x200
jae 0x40fece
movzx ecx, word [esi]
test cx, cx
je 0x40fe32
mov edx, ecx
jmp 0x40fe10
mov word [ebp + eax*2 - 0x410], dx
inc eax
cmp eax, 0x200
jae 0x40fece
movzx ecx, word [esi + 2]
add esi, 2
mov edx, ecx
test cx, cx
jne 0x40fe10
add eax, eax
cmp eax, 0x400
jae 0x40ff2e
mov ebx, dword [0x2a9ac1c]
xor ecx, ecx
xor ebx, dword [0x41a040]
mov word [ebp + eax - 0x410], cx
mov ecx, dword [0x41a040]
and ecx, 0x1f
ror ebx, cl
test ebx, ebx
je 0x40fea9
lea eax, [ebp - 0x41c]
push eax
push 0
call ebx
push 8
mov esi, eax
lea eax, [ebp - 0x410]
push 0
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov edi, eax
test esi, esi
js 0x40febd
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x41c]
call ebx
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x418]
mov ebx, dword [ebp + 0xc]
jmp 0x40fedc
push 8
push 0
lea eax, [ebp - 0x410]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call eax
mov edi, eax
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x418]
mov ebx, dword [ebp + 0xc]
jmp 0x40fedc
mov edx, dword [ebp - 0x418]
mov ecx, dword [ebp - 0x414]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
test edi, edi
jne 0x40ff1b
or eax, 0xffffffff
xchg dword [edx], eax
add ecx, 4
mov dword [ebp - 0x414], ecx
cmp ecx, ebx
jne 0x40fd50
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040a7bd
mov esp, ebp
pop ebp
ret
mov eax, edi
xchg dword [edx], eax
test eax, eax
je 0x40ff2a
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x40feff
call fcn.0040b372
int3

Function at 0x412dc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x412ded
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x412ded
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x995700
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x540000]
push edi
jmp 0x99571a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x995721
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x995710
mov eax, 1
add ebx, ebx
jne 0x995733
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x995744
jne 0x995763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x995763
dec eax
add ebx, ebx
jne 0x995750
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x995728
add ebx, ebx
jne 0x99575f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9957b5
xor ecx, ecx
sub eax, 3
jb 0x99577b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9957ea
sar eax, 1
mov ebp, eax
jmp 0x995786
add ebx, ebx
jne 0x995786
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x995754
inc ecx
add ebx, ebx
jne 0x995794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x995754
add ebx, ebx
jne 0x9957a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x995796
jne 0x9957b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x995796
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9957d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9957c6
jmp 0x995716
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9957d4
add edi, ecx
jmp 0x995716
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9957f2
cmp byte [edi], 0x11
jne 0x9957f2
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 0x9957f7
lea edi, [esi + 0x58e000]
mov eax, dword [edi]
or eax, eax
je 0x99586f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa52374]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa524f0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x995824
mov ecx, edi
jns 0x995853
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 + 0xa524f4]
or eax, eax
je 0x995869
mov dword [ebx], eax
add ebx, 4
jmp 0x995841
call dword [esi + 0xa52504]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9958a0
cmp al, 0xef
ja 0x995893
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x995875
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x995882
mov ebp, dword [esi + 0xa524f8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x9958d4
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46f008]
jne 0x40100a
repz ret
jmp fcn.00401b90

Function at 0x4068ab
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.0040454d
and dword [ebp - 4], 0
cmp dword [0x47125c], 0
mov ebx, eax
jne 0x40695c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406a0d
push eax
call fcn.004044db
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47125c], eax
call esi
push eax
call fcn.004044db
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x471260], eax
call esi
push eax
call fcn.004044db
mov dword [esp], 0x46c984
push edi
mov dword [0x471264], eax
call esi
push eax
call fcn.004044db
pop ecx
mov dword [0x47126c], eax
test eax, eax
je 0x40695c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004044db
pop ecx
mov dword [0x471268], eax
mov eax, dword [0x471268]
cmp eax, ebx
je 0x4069b4
cmp dword [0x47126c], ebx
je 0x4069b4
push eax
call fcn.00404556
push dword [0x47126c]
mov esi, eax
call fcn.00404556
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069b4
test edi, edi
je 0x4069b4
call esi
test eax, eax
je 0x4069ab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069ab
test byte [ebp - 0xc], 1
jne 0x4069b4
or dword [ebp + 0x10], 0x200000
jmp 0x4069ed
mov eax, dword [0x471260]
cmp eax, ebx
je 0x4069ed
push eax
call fcn.00404556
pop ecx
test eax, eax
je 0x4069ed
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4069ed
mov eax, dword [0x471264]
cmp eax, ebx
je 0x4069ed
push eax
call fcn.00404556
pop ecx
test eax, eax
je 0x4069ed
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47125c]
call fcn.00404556
pop ecx
test eax, eax
je 0x406a0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46b560
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.0040a130
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100c], eax
cmp ebx, 0x182
jne 0x46b599
lea ecx, [ebp - 0x102c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x46b5c3
cmp ebx, 0x19f
jne 0x46b5c3
push str.pipegulezuburan_zun
push str.Wev_komenoxunihewebepovas_culajuh
push str.xobezonalixinutitogutaf_rolehezugehufelexiviyuxi
push str.hirihewilubafavuhefanekixey_tocotidonevexokagumenel
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
xor edi, edi
test ebx, ebx
jle 0x46b64c
push esi
nop
lea esi, [ebp - 0x1008]
mov dword [ebp - 0x1008], 0
call fcn.0046b550
mov dl, byte [ebp - 0x1008]
mov eax, dword [ebp - 0x100c]
xor byte [eax + edi], dl
cmp ebx, 0xf
jne 0x46b646
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1004]
push ecx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.dafoyeyoromoluyavojikaduzigox
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.tazofonodeponevizeroxisewotuk
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push 0
lea edx, [ebp - 0x804]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, ebx
jl 0x46b5d0
pop esi
pop edi
cmp ebx, 0x2d
jne 0x46b666
mov dword [0x566f40], 0xa62e7790
mov dword [0x566f44], 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret

Function at 0x46b680
Capabilities:
Get disk information

Disassembly:
mov eax, dword [0x566e0c]
push ebx
push esi
mov esi, dword [0x566c54]
mov ebx, eax
cmp eax, 0x5dd
jne 0x46b6a2
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x470000]
call fcn.0046b520
cmp dword [0x566e0c], 0x2f
jne 0x46b6bd
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.0046b560
add esp, 4
cmp dword [0x566e0c], 0x568
pop esi
pop ebx
jne 0x46b6e6
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
ret