joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a40e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x50feee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebx
xor ebx, ebx
push esi
test eax, eax
mov esi, ecx
mov dword [esp + 8], ebx
jne 0x4a4126
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, 1
mov dword [esp + 8], ebx
mov eax, dword [eax]
mov dword [esp + 0x28], ebx
push eax
lea ecx, [esp + 0x10]
call fcn.004ea7b5
test bl, 1
mov dword [esp + 0x28], 3
je 0x4a414d
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 8], ebx
call fcn.004ea741
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.004a0370
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x38], 4
call fcn.004a0490
add esp, 0x10
mov ecx, dword [0x543c98]
mov dword [esp + 0x38], ecx
mov al, byte [esp + 0x34]
mov byte [esp + 0x28], 6
test al, al
je 0x4a419a
push 0x54acf8
lea ecx, [esp + 0x3c]
call fcn.004ea8d8
jmp 0x4a41b0
mov edx, dword [esi + 0x50]
lea eax, [esp + 0x38]
push edx
push 0x54acec
push eax
call fcn.004e3c81
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004ea980
push 0x540cf4
lea ecx, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x34], 7
call fcn.004ea9e6
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x38]
push edx
push eax
push esi
mov byte [esp + 0x34], 8
call fcn.004ea980
or ebx, 2
mov dword [esp + 8], ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 7
call fcn.004ea741
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 6
call fcn.004ea741
lea ecx, [esp + 0x38]
mov byte [esp + 0x28], 5
call fcn.004ea741
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call fcn.004ea741
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.004ea741
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004ea741
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x4a46a0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x50ffb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [ecx + 0x1c]
lea edx, [esp + 4]
push ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x24], 0
push eax
lea eax, [esp + 8]
push eax
call fcn.004a1850
mov eax, dword [eax]
add esp, 8
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
lea ecx, [esp + 4]
sete bl
call fcn.004ea741
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.004ea741
test bl, bl
pop ebx
je 0x4a4730
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x4a7e30
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5103e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.004e7b60
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.004e7b60
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x4a7f69
mov edx, dword [0x54ad64]
mov cx, word [0x54ad68]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.004ea7b5
mov eax, dword [esi + 8]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.004e7da2
mov edx, dword [0x543c98]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.004ea8d8
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.004e7da2
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.004ea741
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.004ea741
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x4a7e8b
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x4a7fa0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x510406
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x138]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0045a930
mov ebp, dword [esp + 0x140]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.0045a930
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x24], eax
xor eax, eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
test ecx, edx
je 0x4a80da
mov cl, byte [0x54ad6e]
mov dx, word [0x54ad6c]
mov byte [esp + 0x12], cl
mov cl, dl
mov word [esp + 0x10], dx
add cl, al
lea edx, [esp + 0x10]
mov byte [esp + 0x10], cl
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x17], bl
call fcn.0044f6e0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x1c]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x13c], ebx
call fcn.0045afb0
mov edx, dword [0x51afb8]
mov dword [esp + 0x14], edx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
push 0x104
lea ecx, [esp + 0x14]
push eax
push ecx
mov byte [esp + 0x140], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
push edx
mov byte [esp + 0x12f], bl
call fcn.00450350
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.0045afb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], bl
call fcn.00450090
lea ecx, [esp + 0x1c]
mov dword [esp + 0x134], 0xffffffff
call fcn.00450090
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jb 0x4a7ffb
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x4a8110
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x510426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0045c500
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.0045c500
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x4a8249
mov edx, dword [0x54ad64]
mov cx, word [0x54ad68]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.00454fb0
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.0045cb90
mov edx, dword [0x51afbc]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.00455b00
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.0045cb90
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.00455820
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00455820
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x4a816b
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4a8b7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00437b62
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x4a8ba2
test byte [esp + 8], 2
je 0x4a8ba2
call fcn.00437bd5
mov dword [eax], 0xd
call fcn.00437bde
mov dword [eax], 5
jmp 0x4a8b7b
xor eax, eax
ret
Function at 0x4ae8d4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x80
call fcn.00435360
push ebx
push ebp
push esi
mov esi, dword [esp + 0x9c]
xor eax, eax
push edi
test esi, esi
je 0x4ae89b
mov ebx, dword [esp + 0x94]
mov eax, 1
mov dword [ebx], esi
jmp 0x4ae8ad
mov ebx, dword [esp + 0x94]
mov ecx, dword [ebx]
mov dword [esp + 0xa0], ecx
mov esi, ecx
mov ecx, dword [esp + 0x98]
test ecx, ecx
je 0x4aea19
push esi
call fcn.004b23f0
mov edi, eax
add esp, 4
cmp edi, 0x80
jle 0x4ae8e3
push str.j____int_sizeof_ctx__key_
push 0x54
push str..cryptohmachmac.c
call fcn.004af910
add esp, 0xc
mov ebp, dword [esp + 0x9c]
cmp edi, ebp
jge 0x4ae922
mov edx, dword [esp + 0xa4]
lea edi, [ebx + 4]
push edx
push esi
push edi
call fcn.004ad8f0
mov eax, dword [esp + 0xa4]
push ebp
push eax
push edi
call fcn.004ada60
lea esi, [ebx + 0x34]
lea ecx, [ebx + 0x38]
push esi
push ecx
push edi
call fcn.004adb60
add esp, 0x24
jmp 0x4ae961
test ebp, ebp
jl 0x4ae92e
cmp ebp, 0x80
jle 0x4ae942
push str.len_0__len__int_sizeof_ctx__key_
push 0x5e
push str..cryptohmachmac.c
call fcn.004af910
add esp, 0xc
mov esi, dword [esp + 0x98]
mov ecx, ebp
mov edx, ecx
lea edi, [ebx + 0x38]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 0x34]
mov dword [esi], ebp
mov esi, dword [esi]
cmp esi, 0x80
je 0x4ae986
mov ecx, 0x80
xor eax, eax
sub ecx, esi
lea edi, [esi + ebx + 0x38]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov esi, dword [esp + 0xa0]
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x36
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x4ae98f
mov ebp, dword [esp + 0xa4]
lea edi, [ebx + 0x14]
push ebp
push esi
push edi
call fcn.004ad8f0
push esi
call fcn.004b23f0
lea edx, [esp + 0x20]
push eax
push edx
push edi
call fcn.004ada60
add esp, 0x1c
xor eax, eax
mov cl, byte [ebx + eax + 0x38]
xor cl, 0x5c
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0x80
jl 0x4ae9cb
lea edi, [ebx + 0x24]
push ebp
push esi
push edi
call fcn.004ad8f0
push esi
call fcn.004b23f0
lea edx, [esp + 0x20]
push eax
push edx
push edi
call fcn.004ada60
add esp, 0x1c
lea eax, [ebx + 0x14]
add ebx, 4
push eax
push ebx
call fcn.004adc10
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret
test eax, eax
je 0x4ae9fe
jmp 0x4ae98d
Function at 0x4af790
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x104
call fcn.00435360
push ebx
push esi
push edi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4af7d9
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4af7d9
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push 0x545840
call fcn.004e05b0
add esp, 0xc
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push eax
lea ecx, [ebp - 0x104]
push 0xff
push ecx
call fcn.004a9a71
add esp, 0x10
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4af8eb
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
mov ebx, eax
test ebx, ebx
je 0x4af8eb
lea edx, [ebp - 4]
push edx
push 0
push 0
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
jne 0x4af8eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4af8eb
mov eax, dword [ebp - 4]
cmp eax, 0x200
ja 0x4af8eb
lea esi, [eax + 1]
and esi, 0xfffffffe
mov dword [ebp - 4], esi
lea eax, [esi + 2]
add eax, 3
and al, 0xfc
call fcn.00435360
lea eax, [ebp - 4]
mov edi, esp
push eax
push esi
push edi
push 2
push ebx
call dword [sym.imp.USER32.dll_GetUserObjectInformationW]
test eax, eax
je 0x4af8eb
mov ecx, dword [ebp - 4]
push str.Service_0x
push edi
lea eax, [ecx + 1]
and al, 0xfe
mov dword [ebp - 4], eax
shr eax, 1
mov word [edi + eax*2], 0
call fcn.004357d6
add esp, 8
test eax, eax
je 0x4af8eb
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push 0
push 1
push 0
push 0
push 0
lea edx, [ebp - 0x104]
push 1
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
lea ecx, [ebp - 0x104]
push str.OpenSSL:_FATAL
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea esp, [ebp - 0x110]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4da350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4da35d
xor eax, eax
ret 0xc
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x4da460
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x52639c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x52639c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x52639c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x52639c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x52639c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x52639c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x52639c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x52639c]
xor eax, edx
inc ecx
dec edi
jne 0x4da378
pop edi
test esi, esi
je 0x4da482
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x52639c]
xor eax, edx
inc ecx
dec esi
jne 0x4da464
pop esi
pop ebx
not eax
ret 0xc
Function at 0x4eb018
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x4eb03a
cmp dword [edi + 0x3c], 0
jne 0x4eb03a
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.004fe0ad
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.004eb079
pop edi
pop esi
pop ebx
ret 8

Function at 0x4ec899
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ec8d1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004eabff
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004eabd6
jmp 0x4ec8dd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4ee69e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4ee6e0
call fcn.004fe0ad
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, edi
je 0x4ee6e0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ee6d7
xor eax, eax
jmp 0x4ee6e8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ee6ee
pop edi
pop esi
pop ebx
ret 4
Function at 0x4f0fb2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x4f0fe2
push edi
call ebx
push eax
call fcn.004ef70e
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x4f100c
test byte [ebp - 4], 1
je 0x4f100c
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4f100c
push edi
call ebx
push eax
call fcn.004ef70e
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x4f10b2
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.004f0eff
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x4f103e
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.004f0eff
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x4f1054
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.004f0eff
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4f107e
push 0
call ebx
push eax
call fcn.004ef70e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x4f109c
push eax
call ebx
push eax
call fcn.004ef70e
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4f10b0
push eax
call ebx
push eax
call fcn.004ef70e
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x4f10d9
test byte [ebp - 4], 1
jne 0x4f10d9
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x4f10d9
push edi
call ebx
push eax
call fcn.004ef70e
pop edi
pop ebx
leave
ret 8
Function at 0x423cb0
Capabilities:
Get number of processors
Parse pe header

Disassembly:
imul ebp, dword [edi + 0x6e], 0x7d31213a
sub dword [esp + esi*2], ebp
push 0x702e7369
jb 0x423d30
jo 0x423d36
outsd dx, dword cs:[esi]
outsb dx, byte [esi]
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
imul si, word [edx + 0x6d], 0x7461
imul ebp, dword [edi + 0x6e], 0x65656853
je 0x423d1b
outsd dx, dword [esi]
outsb dx, byte [esi]
imul si, word [edx + 0x6d], 0x2928
jge 0x423d0e
je 0x423d4c
imul esi, dword [ebx + 0x2e], 0x74617473
cmp eax, 0x6f68737b
ja 0x423d36
outsd dx, dword [esi]
outsb dx, byte [esi]
imul si, word [edx + 0x6d], 0x7461
imul ebp, dword [edi + 0x6e], 0x7d31213a
jge 0x423d76
outsb dx, byte gs:[esi]
jb 0x423d32
sub dword [ebx + 0x63], edi
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x423d85
jnp 0x423d74
insb byte es:[edi], dx
imul esp, dword [edi + 0x6e], 0x632c653a
outsd dx, dword [esi]
insb byte es:[edi], dx
outsd dx, dword [esi]
jb 0x423d5a
outsb dx, byte [esi]
sub al, 0x63
outsd dx, dword [esi]
outsb dx, byte [esi]
imul si, word [edx + 0x6d], 0x7461
imul ebp, dword [edi + 0x6e], 0x65656853
je 0x423d77
je 0x423d77
outsd dx, dword [esi]
outsb dx, byte [esi]
imul si, word [edx + 0x6d], 0x7542
je 0x423db2
outsd dx, dword [esi]
outsb dx, byte [esi]
dec esp
popal
bound esp, qword [ebp + 0x6c]
cmp dh, byte [esp + ebp + 0x63]
outsd dx, dword [esi]
outsb dx, byte [esi]
imul si, word [edx + 0x6d], 0x7461
imul esi, dword [edx + 0x6d], 0x6f697461
outsb dx, byte [esi]
push ebx
push 0x43746565
imul ebp, dword [edi + 0x6e], 0x65656853
je 0x423d9d
outsd dx, dword [esi]
outsb dx, byte [esi]
imul si, word [edx + 0x6d], 0x7542
je 0x423dd8
outsd dx, dword [esi]
outsb dx, byte [esi]
push esp
jns 0x423dd9
cmp dh, byte gs:[edx + 0x2c]
arpl word [edi + 0x6e], bp
popal
je 0x423de0
outsd dx, dword [esi]
outsb dx, byte [esi]
push ebx
push 0x48746565
cmp dh, byte gs:[ebx + 0x2c]
arpl word [edi + 0x6e], bp
je 0x423dd9
outsd dx, dword [esi]
sub al, 0x6c
insb byte es:[edi], dx
popal

Function at 0x4480d0
Capabilities:
Get number of processors

Disassembly:
jae 0x448146
jns 0x448140
sub byte [ebx + 0x70], bh
imul ebp, dword [esi + 0x67], 0x69726f48
Function at 0x4710f2
Capabilities:
Encode data using xor

Disassembly:
invalid
xchg byte [esi - 0x7f], dl
cmp al, 0x27
aam 0x77
mov ds, word [eax - 0x7aaee0e]
or dl, byte [ebx - 0x10]
jno 0x47106e
invalid
inc esi
cdq
add eax, 0x51ca1812
bound esp, qword [edx + 0x445f752a]
popfd
pushfd
je 0x471086
push 0xffffffffffffffc7
push 0xffffffffffffffc7
sar byte [esi - 0x7fae82f1], cl
cli
xor dword [edi + 0x48cc4203], esi
mov ebx, 0x126f957a
pushal
jnp 0x471106
xchg ebp, eax
outsd dx, dword [esi]
adc ah, byte [eax + 0x7b]
call 0xf38d7366
inc esp
bound eax, qword [esi - 0xd]
movsd dword es:[edi], dword [esi]
bound eax, qword [ecx - 0x66e18b7f]
ror byte [ebx - 0x75f2f3d3], 1
jl 0x471134
in al, dx
sbb esp, 0x6418762a
aad 0x85
sub dh, byte [esi + 0x18]
aad 0x85
cmp eax, 0xe4411b32
sal byte [edi], 0x6a
xchg dword [eax], esp
jo 0x471171
pop edx
xor eax, 0xf3338658
push ebx
mov cl, 0x5b
jno 0x471100
cmp bl, byte [esi]
out 0xf5, al
add bh, dh
dec ebp
sub al, byte [ebx + ecx*2 - 0x28]
out 0x43, eax
or eax, 0xf585c621
scasd eax, dword es:[edi]
ja 0x471118
outsb dx, byte [esi]
mov cl, 0xf9
mov eax, dword [bp + si]
enter 0x5797, 0xffffffffffffffa8
and edi, dword [esi - 0x1a47b37d]
mov esi, 0xe5b84c83
sbb al, 0xb
inc edi
aad 0xee
fdiv qword [ebx + ebx*8 + 0x4e]
push cs
or edi, dword [ebx - 0x7df99de7]
sub ah, byte [ebx]
insd dword es:[edi], dx
cmpsb byte [esi], byte es:[edi]
and eax, 0x48e4ae92
or byte [edi - 0x654c678a], 0x38
dec edx
xchg byte [eax - 0x2c], bl
sbb dword [eax], ebx
cwde
and al, 0
iretd