joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428240
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x268]
push ebx
mov dword [ebp - 4], eax
call fcn.00408b30
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
xor eax, eax
push fcn.004281f0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x25c]
xor eax, eax
call fcn.00414e90
mov ebx, dword [ebp - 0x25c]
test ebx, ebx
je 0x4282ba
mov ebx, dword [ebx - 4]
lea edx, [ebp - 0x264]
xor eax, eax
call fcn.00414e90
mov eax, dword [ebp - 0x264]
lea edx, [ebp - 0x260]
call fcn.00449ab0
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x4282e5
mov eax, dword [eax - 4]
sub ebx, eax
lea edx, [ebp - 0x25c]
xor eax, eax
call fcn.00414e90
mov eax, dword [ebp - 0x25c]
mov edx, 1
mov ecx, ebx
call fcn.00409980
lea edx, [ebp - 0x25c]
xor eax, eax
call fcn.00414e90
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 8]
call fcn.004274b0
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x264]
push eax
mov edx, dword [0x665ce4]
mov ecx, 0x599118
mov eax, 0x599364
call fcn.00426f10
mov eax, dword [ebp - 0x264]
mov edx, dword [ebp - 8]
mov ecx, 1
call fcn.00409a30
mov ebx, eax
lea eax, [ebp - 0x268]
push eax
mov edx, dword [0x665ce4]
mov ecx, 0x599118
mov eax, 0x599364
call fcn.00426f10
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x428382
mov eax, dword [eax - 4]
lea edx, [ebx + eax]
mov eax, dword [ebp - 8]
mov ecx, 0x7fffffff
call fcn.00409980
mov edx, dword [ebp - 0x25c]
lea eax, [ebp - 8]
call fcn.00408b60
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x268]
call fcn.004273d0
lea eax, [ebp - 0x268]
call fcn.00403c90
mov eax, dword [ebp - 0xc]
mov edx, 6
call fcn.0044a0a0
push 1
push 0
mov eax, 0x599394
push eax
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4283df
mov eax, 0x6622f0
push eax
mov eax, str.open
push eax
lea ecx, [ebp - 0x268]
mov dl, 1
mov eax, 5
call fcn.00427110
mov eax, dword [ebp - 0x268]
call fcn.0044ab50
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
call fcn.0040f480
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004281f0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429a20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x258]
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x138], 0
xor eax, eax
push fcn.00429a00
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [0x665610]
cmp ebx, 1
jl 0x429aa8
mov dword [ebp - 0x134], 0
lea esi, [esi]
mov eax, dword [ebp - 0x134]
add eax, 1
mov dword [ebp - 0x134], eax
lea eax, [eax*4 + 0x66360c]
xor edx, edx
call fcn.00408b60
mov eax, dword [ebp - 0x134]
mov dword [eax*4 + 0x66460c], 0
cmp ebx, dword [ebp - 0x134]
jg 0x429a70
mov esi, esi
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00408b60
mov dword [0x665610], 1
mov dword [ebp - 0x130], 0x128
push 0
push 2
call fcn.0056e3b0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0056e3c0
test eax, eax
je 0x429c14
jmp 0x429bfb
push 1
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x10c]
xor cx, cx
mov edx, 0x103
call fcn.00409550
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
lea eax, [eax*4 + 0x66360c]
call fcn.00408b60
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x128]
mov dword [eax*4 + 0x66460c], edx
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax*4 + 0x66360c]
mov dword [ebp - 0x148], eax
mov eax, 0x5997dc
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax*4 + 0x66460c]
xor edx, edx
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
mov ecx, 0xff
lea edx, [ebp - 0x258]
mov eax, 0xffffffff
call fcn.00405050
lea ecx, [ebp - 0x150]
xor dx, dx
lea eax, [ebp - 0x258]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x150]
call fcn.0040a1b0
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x140], eax
mov eax, 0x599540
mov dword [ebp - 0x13c], eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
mov ecx, 4
call fcn.00408ef0
add dword [ebp - 0x134], 1
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0056e3d0
test eax, eax
jne 0x429af8
mov esi, esi
mov eax, dword [ebp - 0x134]
mov dword [0x665610], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00429a00
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a940
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
xor eax, eax
push fcn.0042a920
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 4], 1
push 0x13
lea eax, [ebp - 0x1c]
push eax
push 0x2d
push 0x800
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jg 0x42a988
mov byte [ebp - 0x1c], 0
mov esi, esi
push 1
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
xor cx, cx
mov edx, 0x14
call fcn.00409550
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0042b820
mov eax, dword [ebp - 0x20]
mov edx, 0x5999cc
call fcn.00409720
test eax, eax
jne 0x42a9c0
mov byte [ebp - 4], 0
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042a920
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42bb00
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x42bbaa
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x42bbc6
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x42bbc6
sub dx, 0x20
je 0x42bba0
sub dx, 0x80
je 0x42bba0
sub dx, 0x1f62
jb 0x42bbc6
sub dx, 1
jbe 0x42bba0
sub dx, 6
je 0x42bba0
sub dx, 0x26
jne 0x42bbc6
nop
jmp 0x42bba0
cmp eax, dword [ebp - 0x20]
jg 0x42bb48
lea esi, [esi]
jmp 0x42bbc6
cmp dword [ebp - 0x1c], 2
jne 0x42bbba
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x42bbc6
mov al, byte [ebp - 0xc]
call fcn.0040b3b0
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x42bc44
sub ax, 0x21
je 0x42bc58
sub ax, 0x17
je 0x42bc64
sub ax, 0x222
je 0x42bc70
sub ax, 0x392
je 0x42bc78
sub ax, 1
je 0x42bc80
sub ax, 0x1996
je 0x42bc88
sub ax, 1
je 0x42bc90
sub ax, 6
je 0x42bc98
sub ax, 0xb
je 0x42bca8
sub ax, 0x1b
je 0x42bca0
sub ax, 0x367
je 0x42bcb0
jmp 0x42bcb8
mov ax, word [ebp - 0x24]
call fcn.0040b450
mov byte [ebp - 0x10], al
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x20
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x2e
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x27
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x2c
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x27
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x20
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x20
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x20
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x20
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x2d
jmp 0x42bcc0
mov byte [ebp - 0x10], 0x27
jmp 0x42bcc0
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x439330
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00439320
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x439440
mov al, byte [ebp - 0x110]
test al, al
je 0x439409
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a1b0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x60f5f0
call fcn.00453150
mov edx, 0x43939a
mov ecx, ebp
call fcn.00414640
jmp 0x439440
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x60f5f0
call fcn.00453150
mov edx, 0x439409
mov ecx, ebp
call fcn.00414640
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x439504
mov al, byte [ebp - 0x110]
test al, al
je 0x4394cd
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404f70
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.004093e0
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a1b0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x60f5f0
call fcn.00453150
mov edx, 0x43945e
mov ecx, ebp
call fcn.00414640
jmp 0x439504
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x60f5f0
call fcn.00453150
mov edx, 0x4394cd
mov ecx, ebp
call fcn.00414640
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.004389c0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00439320
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43c5c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x61027c
call fcn.0040cf80
test al, al
je 0x43c6a6
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0043c6c0
xor eax, eax
push fcn.0043c5b0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.00408b60
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.0043b7d0
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0043b320
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043c5b0
jmp 0x43c6b1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043eb50
mov esp, ebp
pop ebp
ret
Function at 0x448b00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.00448af0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.00408b60
lea eax, [ebp - 0xc10]
call fcn.00403cd0
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x448b60
mov eax, 0x6622f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x448c0a
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040f9c0
xor eax, eax
push fcn.00448ae0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x448bbc
mov eax, 0x6622f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x448bf8
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x614e7c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x448bf8
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448ae0
jmp 0x448c68
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x448c2c
mov eax, 0x6622f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x448c68
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x614e7c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x448c68
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448af0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x454660
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov bl, cl
mov edx, 0x615de0
lea eax, [ebp - 0x268]
call fcn.0040e770
xor eax, eax
push fcn.00454640
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4546a3
mov eax, 0x6622f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x4546eb
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x4546bf
clc
jmp 0x4546c6
bt dword [0x6153b0], eax
jb 0x4546df
mov eax, ebp
call fcn.00454790
test al, al
je 0x4546df
mov byte [ebp - 0x26c], 1
jmp 0x454770
mov byte [ebp - 0x26c], 0
jmp 0x454770
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x578f30]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x454770
and esi, 0x400
je 0x454770
lea ebx, [ebp - 0x268]
mov edx, 0x615de0
mov eax, ebx
call fcn.0040e830
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.00454300
test eax, eax
je 0x454744
sub eax, 1
je 0x45475c
jmp 0x454768
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00454660
mov byte [ebp - 0x26c], al
jmp 0x454770
mov byte [ebp - 0x26c], 1
jmp 0x454770
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00454640
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4549c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x4549cc
mov eax, 0x6622f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret

Function at 0x4549e0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edx
test eax, eax
jne 0x4549ee
mov eax, 0x6622f0
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x4549fc
xor ebx, ebx
jmp 0x454a03
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454a30
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
push esi
push edi
test al, al
jne 0x454a48
mov byte [ebp - 4], 0x5c
mov byte [ebp - 3], 0
jmp 0x454a5f
and eax, 0xff
add eax, 0x40
mov byte [ebp - 4], al
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
cmp dword [0x6662d0], 0
je 0x454a9b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call dword [0x6662d0]
test eax, eax
je 0x454a8d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x24]
jmp 0x454ae6
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
jmp 0x454ae6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x454ada
mov eax, dword [ebp - 8]
mul dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
imul ecx, esi
imul edx, eax
add ecx, edx
mul ebx
add edx, ecx
mov dword [ebp - 0x34], eax
mov edi, edx
jmp 0x454ae6
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
mov edx, edi
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x454b00
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
push esi
push edi
test al, al
jne 0x454b18
mov byte [ebp - 4], 0x5c
mov byte [ebp - 3], 0
jmp 0x454b2f
and eax, 0xff
add eax, 0x40
mov byte [ebp - 4], al
mov byte [ebp - 3], 0x3a
mov byte [ebp - 2], 0x5c
mov byte [ebp - 1], 0
cmp dword [0x6662d0], 0
je 0x454b6b
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
push eax
call dword [0x6662d0]
test eax, eax
je 0x454b5d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x1c]
jmp 0x454bb6
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
jmp 0x454bb6
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
test eax, eax
je 0x454baa
mov eax, dword [ebp - 8]
mul dword [ebp - 0x14]
mov ebx, eax
mov eax, dword [ebp - 0xc]
xor esi, esi
mov ecx, ebx
imul ecx, esi
imul edx, eax
add ecx, edx
mul ebx
add edx, ecx
mov dword [ebp - 0x34], eax
mov edi, edx
jmp 0x454bb6
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
mov edx, edi
mov eax, dword [ebp - 0x34]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454c60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00454c50
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x454cd0
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b750
cmp ebx, 1
jle 0x454cc0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040af00
jmp 0x454cdb
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00408b60
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00454c50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4550e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004550d0
push ebp
push 0x414780
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x66626c]
xor edx, edx
call fcn.00408b60
mov dword [ebx*4 + 0x66628c], 0xffffffff
cmp ebx, 7
jl 0x455108
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x455194
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00409550
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0044ad00
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x455194
push 4
push ebx
push esi
mov eax, 0x454fb0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x455040
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004550d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4557e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor edx, edx
push fcn.004557b0
push ebp
push 0x414780
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.0044a480
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00408b60
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.0040a1b0
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.00408b60
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x4558ec
lea ecx, [ebp - 8]
mov eax, ebx
xor dx, dx
call fcn.004094b0
mov eax, dword [ebp - 8]
test eax, eax
je 0x455877
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.0040a1b0
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.00409ae0
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.00409980
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0044a480
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00409720
test eax, eax
jne 0x4558e4
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
test eax, eax
je 0x4558d3
mov eax, dword [eax - 4]
sub eax, esi
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00409980
jmp 0x4558f5
lea eax, [ebx + edi]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x455860
push dword [ebp - 0x1c]
call sub.kernel32.dll_FreeEnvironmentStringsA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004557b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret