joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004c83
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 4
pop eax
call fcn.01002df0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1004ce9
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x10062b8]
mov esi, dword [ebp - 0x40]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
lea edx, [esi - 1]
and ecx, 0x103
not edx
and edx, ebx
inc ecx
sub edx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x11
imul eax, esi
add eax, edi
cmp edx, eax
jae 0x1004ced
xor eax, eax
jmp 0x1004cfa
lea eax, [ebp - 4]
push eax
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x50]
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa2b1a4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10012fa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 0x40], al
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], edi
mov byte [esi + 0x50], cl
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov byte [esp + 0x18], 1
call dword [0x10013014]
lea edx, [esi + 0x18]
mov dword [esi + 0x6c], eax
push edx
push 0x10015370
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov word [esi + 0x24], di
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
call fcn.00a2b264
mov dword [esi + 0x14], eax
lea eax, [esi + 0x60]
push 0x80
push eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov byte [esi + 0x3c], 1
mov byte [esi + 0x3d], 1
call fcn.00a27d54
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x433004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
mov esi, 0x176f467f
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0xec861b7
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x40e560
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], SysReAllocString
mov dword [eax + 4], ecx
mov dword [ebp - 0x64], 0x40
push str.GlobalMemoryStatusEx
push 0x535960
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x40e5d1
lea edx, [ebp - 0x64]
push edx
call dword [ebp - 0x68]
test eax, eax
je 0x40e5d1
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.0040e610
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
jmp 0x40e5fb
mov dword [ebp - 0x24], 0x20
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0040e650
xor edx, edx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4

Function at 0x420760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
and ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
shr edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
add eax, dword [ecx + edx*4]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 2
jae 0x420778
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4207c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x100
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
shl ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
and edx, dword [ebp - 4]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
shr eax, 8
add edx, eax
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebp + 0xc]
shr eax, 7
and eax, 1
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
add eax, dword [ecx + edx*4]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
shl ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
xor edx, dword [ebp + 0xc]
not edx
and edx, dword [ebp - 4]
mov dword [ebp - 4], edx
cmp dword [ebp + 0xc], 0x10000
jb 0x4207df
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42e8b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0x200
jb 0x42e8cd
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x42e8d4
xor eax, eax
jmp 0x42e9eb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1000
jae 0x42e8fc
mov ecx, dword [ebp - 0xc]
add ecx, 0x200
cmp ecx, dword [ebp + 0xc]
ja 0x42e8fc
mov edx, dword [ebp - 0xc]
and edx, 7
je 0x42e903
xor eax, eax
jmp 0x42e9eb
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
je 0x42e91e
xor eax, eax
jmp 0x42e9eb
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0x1c4
jg 0x42e95f
cmp dword [ebp - 8], 0x1c4
je 0x42e985
cmp dword [ebp - 8], 0x14c
je 0x42e973
cmp dword [ebp - 8], 0x1c0
je 0x42e97c
cmp dword [ebp - 8], 0x1c2
je 0x42e97c
jmp 0x42e997
cmp dword [ebp - 8], 0x200
je 0x42e98e
cmp dword [ebp - 8], 0x8664
je 0x42e973
jmp 0x42e997
mov dword [ebp - 0x10], 0x3030103
jmp 0x42e99b
mov dword [ebp - 0x10], 0x3030501
jmp 0x42e99b
mov dword [ebp - 0x10], 0x3030701
jmp 0x42e99b
mov dword [ebp - 0x10], 0x3030401
jmp 0x42e99b
xor eax, eax
jmp 0x42e9eb
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x400
jbe 0x42e9b2
xor eax, eax
jmp 0x42e9eb
mov ecx, dword [ebp - 4]
add ecx, 0x14
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x10b
je 0x42e9d8
cmp dword [ebp - 0x14], 0x20b
je 0x42e9d8
jmp 0x42e9da
jmp 0x42e9de
xor eax, eax
jmp 0x42e9eb
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x10]
mov dword [ecx], edx
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc

Function at 0x439200
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.004e950d
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00439170
mov esp, ebp
pop ebp
ret 0xc
Function at 0x448ea0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x448eb9
mov al, 1
jmp 0x448ebb
xor al, al
pop ebp
ret 8

Function at 0x448f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00403610
mov eax, 2
imul ecx, eax, 0
mov dword [ebp - 0x214], ecx
cmp dword [ebp - 0x214], 0x20c
jae 0x448fc7
jmp 0x448fcc
call fcn.004deb53
xor edx, edx
mov eax, dword [ebp - 0x214]
mov word [ebp + eax - 0x210], dx
lea ecx, [ebp - 0x210]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x218], eax
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp + 8]
call fcn.00402430
cmp dword [ebp - 0x218], 0
jbe 0x449024
cmp dword [ebp - 0x218], 0x104
ja 0x449024
mov dword [ebp - 0x21c], 1
jmp 0x44902e
mov dword [ebp - 0x21c], 0
mov al, byte [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x44989c
mov eax, dword [ebp - 4]
jmp 0x44989f
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret 4
Function at 0x44b9d0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bd57
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x550144]
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 esi, ecx
mov dword [ebp - 0x420], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x424], 0
push 1
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
push 0x536550
mov byte [esi], 0
call fcn.0044c0b0
push 0
push 0
push 3
push 0
push 3
push 0
mov dword [ebp - 4], 0
push 0x536554
mov dword [ebp - 0x424], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44bb19
push 0x400
lea eax, [ebp - 0x410]
mov dword [ebp - 0x420], 0
push 0
push eax
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
call fcn.004e0230
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0xc
lea eax, [ebp - 0x41c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44bb12
lea ebx, [ebp - 0x410]
add ebx, dword [ebp - 0x400]
movsx eax, byte [ebx]
push eax
call fcn.004f4b58
add esp, 4
test eax, eax
je 0x44bb12
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44bb00
sub ecx, edx
push ecx
push ebx
mov ecx, esi
call fcn.0044c0b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
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.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x44bdc0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50be4d
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
jne 0x44bdf9
xor eax, eax
jmp 0x44bfca
lea ecx, [ebp - 0x70]
call fcn.0044b9d0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0044bb40
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0044bc50
cmp dword [ebp - 0x5c], 0x10
lea edx, [ebp - 0x70]
push dword [ebp - 0x60]
cmovae edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x67452301
mov dword [ebp - 0x108], 0xefcdab89
mov dword [ebp - 0x104], 0x98badcfe
mov dword [ebp - 0x100], 0x10325476
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
call fcn.0044b840
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x10c]
call fcn.0044b840
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10c]
call fcn.0044b840
add esp, 0xc
lea ecx, [ebp - 0x10c]
mov edx, esi
call fcn.0044b920
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x44bf0d
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bf03
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x44bf53
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bf49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x44bf83
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bf79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de45a
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 0x10
jb 0x44bfc5
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44bfbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44bfe4
push edx
push ecx
call fcn.004de45a
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
call fcn.004e364a
int3
Function at 0x44cea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bedb
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44c], edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
mov dword [ebp - 4], 0
mov eax, dword [esi]
test eax, eax
je 0x44cf31
cmp eax, 0xffffffff
je 0x44cf31
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x44cf2b
xor esi, esi
jmp 0x44d0bc
mov dword [esi], 0xffffffff
push 0
lea eax, [ebp - 0x448]
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d09a
nop word [eax + eax]
mov eax, dword [ebp - 0x448]
test eax, eax
je 0x44d094
push eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x444], 0
push eax
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.0044c0b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x444]
mov ebx, dword [ebp - 0x430]
cmp ebx, 0x10
mov edi, dword [ebp - 0x444]
mov eax, dword [ebp - 0x418]
cmovae edx, edi
mov esi, dword [ebp - 0x41c]
sub eax, esi
mov ecx, dword [ebp - 0x434]
push ecx
push edx
cmp ecx, eax
ja 0x44d010
cmp dword [ebp - 0x418], 0x10
lea eax, [esi + ecx]
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
add esi, eax
push esi
call fcn.004dfcb0
mov eax, dword [ebp - 0x434]
add esp, 0xc
mov byte [esi + eax], 0
jmp 0x44d035
mov byte [ebp - 0x450], 0
push dword [ebp - 0x450]
push ecx
lea ecx, [ebp - 0x42c]
call fcn.0044ff20
mov ebx, dword [ebp - 0x430]
mov edi, dword [ebp - 0x444]
mov byte [ebp - 4], 0
cmp ebx, 0x10
jb 0x44d069
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x44d05f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d112
push ecx
push edi
call fcn.004de45a
add esp, 8
mov ebx, dword [ebp - 0x454]
lea eax, [ebp - 0x448]
push 0
push eax
push 0x400
lea eax, [ebp - 0x414]
push eax
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44cf60
mov edi, dword [ebp - 0x44c]
lea eax, [ebp - 0x42c]
mov ecx, edi
push eax
call fcn.0044d120
mov ecx, edi
call fcn.0044e480
push ecx
mov ecx, edi
call fcn.0044e690
mov esi, 1
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x44d0f2
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x44d0e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44d112
push edx
push ecx
call fcn.004de45a
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 0xc
call fcn.004e364a
int3
Function at 0x450140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x450199
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x450199
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x45018a
cmp esi, edx
jae 0x450199
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x450178
cmp esi, edx
jae 0x450199
cmp word [esi], 0
je 0x450199
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x450bd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x550144]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 0x14], 0
je 0x450c9d
call edi
sub eax, dword [ebx + 0x14]
cmp eax, 0x2932e00
ja 0x450c9d
cmp dword [0x5541b4], 3
jae 0x450cbe
lea ecx, [esp + 0x10]
call fcn.004569c0
cmp dword [eax + 0x14], 0x10
jb 0x450c27
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x450c4a
mov eax, dword [esp + 0x3c]
or eax, dword [esp + 0x40]
je 0x450c4a
mov esi, 1
jmp 0x450c4c
xor esi, esi
mov edx, dword [esp + 0x24]
cmp edx, 0x10
jb 0x450c7e
mov ecx, dword [esp + 0x10]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x450c74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x450cd4
push edx
push ecx
call fcn.004de45a
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0xf
mov byte [esp + 0x10], 0
test esi, esi
jne 0x450cbe
inc dword [0x5541b4]
call edi
lea ecx, [ebx + 4]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004de46d
mov esp, ebp
pop ebp
ret 4
call fcn.004e364a
int3
Function at 0x451720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x550144]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0x10
push edi
lea edi, [esi + 0x20]
mov dword [esp + 0x14], esi
mov eax, edi
jb 0x45174f
mov eax, dword [edi]
lea ecx, [esp + 0x28]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x451774
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
jmp 0x45177c
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi + 0x70]
mov esi, dword [esi + 0x74]
cmp edx, eax
jne 0x45178e
cmp ecx, esi
je 0x451904
mov esi, dword [esp + 0x14]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x4517a6
mov eax, dword [edi]
lea ecx, [esp + 0x4c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x4517cb
xorps xmm0, xmm0
movlpd qword [esp + 0x18], xmm0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
jmp 0x4517d3
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x70]
mov ecx, dword [ecx + 0x74]
cmp dword [esp + 0x20], eax
jne 0x4517f3
cmp edx, ecx
je 0x4518fd
cmp dword [edi + 0x14], 0x10
jb 0x4517fb
mov edi, dword [edi]
push edi
push 0x100
lea eax, [esp + 0x90]
push eax
push 0x535d00
push str.Guid
push str.ActiveGuid
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x70]
xor edi, edi
mov dword [esp + 0x18], eax
nop dword [eax + eax]
mov al, byte [esp + edi + 0x88]
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x451843
sub al, 0x30
jmp 0x45185d
lea ecx, [eax - 0x61]
cmp cl, 5
ja 0x45184f
sub al, 0x57
jmp 0x45185d
lea ecx, [eax - 0x41]
cmp cl, 5
ja 0x4518eb
sub al, 0x37
cmp al, 0xff
je 0x4518eb
mov dl, byte [esp + edi + 0x89]
add edi, 2
lea ecx, [edx - 0x30]
cmp cl, 9
ja 0x45187c
sub dl, 0x30
jmp 0x451894
lea ecx, [edx - 0x61]
cmp cl, 5
ja 0x451889
sub dl, 0x57
jmp 0x451894
lea ecx, [edx - 0x41]
cmp cl, 5
ja 0x4518eb
sub dl, 0x37
cmp dl, 0xff
je 0x4518eb
shl al, 4
add al, dl
mov edx, dword [esp + 0x18]
mov byte [edx], al
inc edx
mov dword [esp + 0x18], edx
cmp edi, 0x20
jl 0x451830
cmp byte [esp + edi + 0x88], 0
jne 0x4518eb
mov eax, dword [esp + 0x14]
movups xmm0, xmmword [esp + 0x70]
mov ecx, dword [esp + 0x14]
movups xmmword [eax + 0x38], xmm0
movups xmm0, xmmword [esp + 0x88]
movups xmmword [eax + 0x48], xmm0
movups xmm0, xmmword [esp + 0x98]
movups xmmword [eax + 0x58], xmm0
mov al, byte [esp + 0xa8]
mov byte [ecx + 0x68], al
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x70], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x74], ecx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18c]
pop edi
pop esi
xor ecx, esp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x451c70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x451ca5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x451c95
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
push dword [esi + 8]
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x451ce0
push 0
push 0
call fcn.004e950d
xor ecx, ecx
mov dword [esi + 4], eax
add esp, 0x18
test eax, eax
setne cl
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret