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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
mov dword [ebp - 4], eax
call fcn.0040c3b0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00402f30
push ebp
push 0x417790
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00417ea0
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402fd5
mov ebx, dword [ebx - 4]
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00417ea0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0041ba50
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402ff4
mov eax, dword [eax - 4]
sub ebx, eax
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00417ea0
mov eax, dword [ebp - 0x10]
mov edx, 1
mov ecx, ebx
call fcn.0040d1b0
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00417ea0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 8]
call fcn.00402160
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
mov edx, dword [0x4e46f4]
mov ecx, 0x45b388
mov eax, 0x45b564
call fcn.00401bc0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov ecx, 1
call fcn.0040d260
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [0x4e46f4]
mov ecx, 0x45b388
mov eax, 0x45b564
call fcn.00401bc0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x403076
mov eax, dword [eax - 4]
lea edx, [ebx + eax]
mov eax, dword [ebp - 8]
mov ecx, 0x7fffffff
call fcn.0040d1b0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
call fcn.0040c3e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x1c]
call fcn.00402080
lea eax, [ebp - 0x1c]
call fcn.00407910
mov eax, dword [ebp - 0xc]
mov edx, 6
call fcn.0041bfe0
push 1
push 0
mov eax, 0x45b604
push eax
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x1c]
call fcn.00439e00
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x4030d5
mov eax, 0x4e5a80
push eax
mov eax, str.open
push eax
lea ecx, [ebp - 0x10]
mov dl, 1
mov eax, 5
call fcn.00401dc0
mov eax, dword [ebp - 0x10]
call fcn.0041c6f0
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00402f30
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404820
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.00404800
push ebp
push 0x417790
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [0x4e4020]
cmp ebx, 1
jl 0x4048a8
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 + 0x4e201c]
xor edx, edx
call fcn.0040c3e0
mov eax, dword [ebp - 0x134]
mov dword [eax*4 + 0x4e301c], 0
cmp ebx, dword [ebp - 0x134]
jg 0x404870
mov esi, esi
mov dword [ebp - 0x134], 1
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.0040c3e0
mov dword [0x4e4020], 1
mov dword [ebp - 0x130], 0x128
push 0
push 2
call fcn.0043e060
mov dword [ebp - 8], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0043e070
test eax, eax
je 0x404a14
jmp 0x4049fb
push 1
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x10c]
xor cx, cx
mov edx, 0x103
call fcn.0040cdd0
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x134]
lea eax, [eax*4 + 0x4e201c]
call fcn.0040c3e0
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 0x128]
mov dword [eax*4 + 0x4e301c], 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 + 0x4e201c]
mov dword [ebp - 0x148], eax
mov eax, 0x45ba1c
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax*4 + 0x4e301c]
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.004089f0
lea ecx, [ebp - 0x150]
xor dx, dx
lea eax, [ebp - 0x258]
call fcn.0040cc60
xor cl, cl
xor dx, dx
lea eax, [ebp - 0x150]
call fcn.0040d970
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x140], eax
mov eax, 0x45b780
mov dword [ebp - 0x13c], eax
lea edx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
mov ecx, 4
call fcn.0040c770
add dword [ebp - 0x134], 1
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 8]
call fcn.0043e080
test eax, eax
jne 0x4048f8
mov esi, esi
mov eax, dword [ebp - 0x134]
mov dword [0x4e4020], eax
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00404800
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405a70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x28]
mov edx, 0x4cfcf0
lea eax, [ebp - 0x1c]
call fcn.00411ac0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
xor eax, eax
push fcn.00405a40
push ebp
push 0x417790
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 4], 0
lea eax, [ebp - 0x1c]
mov edx, str.opera.exe
call fcn.0040c3e0
lea eax, [ebp - 0x18]
mov edx, str.browser.exe
call fcn.0040c3e0
lea eax, [ebp - 0x14]
mov edx, str.chrome.exe
call fcn.0040c3e0
lea eax, [ebp - 0x10]
mov edx, str.msedge.exe
call fcn.0040c3e0
lea eax, [ebp - 0xc]
mov edx, str.firefox.exe
call fcn.0040c3e0
lea eax, [ebp - 8]
mov edx, str.iexplore.exe
call fcn.0040c3e0
mov byte [ebp - 0x20], 0
lea esi, [esi]
nop
add byte [ebp - 0x20], 1
jmp 0x405b87
mov byte [ebp - 4], 1
push 0
push 0
lea eax, [ebp - 0x24]
call fcn.00407910
push 0
movzx eax, byte [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0x20]
mov edx, str._F__IM
lea eax, [ebp - 0x24]
call fcn.0040c4e0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x405b43
mov eax, 0x4e5a80
push eax
mov eax, str.taskkill.exe
push eax
mov eax, str.open
push eax
lea ecx, [ebp - 0x28]
mov dl, 1
mov eax, 5
call fcn.00401dc0
mov eax, dword [ebp - 0x28]
call fcn.0041c6f0
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, 0x1f4
call fcn.00426a80
lea eax, [ebp - 0x28]
call fcn.00404820
lea eax, [ebp - 0x28]
call fcn.00407910
movzx eax, byte [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x20]
call fcn.00404a50
test al, al
jg 0x405b10
cmp byte [ebp - 0x20], 6
jl 0x405b00
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00405a40
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x405be0
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.00405bc0
push ebp
push 0x417790
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 0x405c28
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.0040cdd0
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00439cd0
mov eax, dword [ebp - 0x20]
mov edx, 0x45bd2c
call fcn.0040cf50
test eax, eax
jne 0x405c60
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.00405bc0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

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

Disassembly:
mov dword [0x4e5c00], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x4e5bfc]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x4e5c00], edx
cmp eax, 0x26f
jl 0x4121d8
mov dword [0x457e80], 0x270
ret
Function at 0x412210
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x4e5c04]
mov ebx, dword [eax*4 + 0x4e5c00]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x4e6234]
mov dword [eax*4 + 0x4e5c00], edx
cmp eax, 0xe2
jl 0x412218
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x4e5c04]
mov ebx, dword [eax*4 + 0x4e5c00]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x4e5874]
mov dword [eax*4 + 0x4e5c00], edx
cmp eax, 0x26e
jl 0x412268
mov edx, dword [0x4e5c00]
mov ecx, dword [0x4e65bc]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x4e6230]
mov dword [0x4e65bc], eax
mov dword [0x457e80], 0
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, dword [0x457e80]
add dword [0x457e80], 1
mov eax, dword [0x4e47a0]
cmp eax, dword [0x4575d0]
jne 0x412313
cmp ebx, 0x271
jb 0x412334
mov eax, dword [0x4e47a0]
call fcn.004121d0
not dword [0x4e47a0]
mov eax, dword [0x4e47a0]
mov dword [0x4575d0], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x412350
call fcn.00412210
xor ebx, ebx
mov dword [0x457e80], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x4e5c00]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret

Function at 0x413e20
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x457310]
cmp ax, 0xcb
je 0x413f2c
cmp ax, 0xcc
je 0x413f2c
lea esi, [esi]
mov edx, dword [0x4e6800]
test edx, edx
je 0x413e55
mov eax, dword [0x4e66b0]
call edx
mov ebx, eax
jmp 0x413e5a
mov ebx, 0x4e66b4
cmp word [0x4e66a0], 0
jle 0x413e80
mov eax, 0x4e6680
call fcn.004140e0
mov eax, ebx
call fcn.004139e0
mov eax, ebx
call fcn.00413a50
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x413ea2
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x413e9d
mov edx, edi
mov eax, ebx
call fcn.00412e50
jmp 0x413ea0
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x413e88
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x4e66a0], 0
jle 0x413f2c
mov edx, 0x4e65c0
mov eax, ebx
call fcn.00412f90
mov edi, eax
test edi, edi
je 0x413efc
mov eax, dword [0x4e6654]
mov dword [edi + 0xc], eax
cmp dword [0x4e6654], 0
je 0x413ef0
mov eax, dword [0x4e6654]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x4e6654], eax
nop
sub word [0x4e66a0], 1
cmp word [0x4e66a0], 0
sete bl
mov eax, 0x4e6680
call fcn.00414100
test bl, bl
je 0x413f2c
mov eax, 0x4e6680
call fcn.004140d0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x4163c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004163a0
push ebp
push 0x417790
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x4164ea
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040ece0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41644f
mov edx, 0x4e5a80
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x4164a1
call sub.kernel32.dll_GetLastError
call fcn.00407ec0
lea eax, [ebp - 0x10]
call fcn.0040daf0
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040df90
mov edx, dword [ebp - 0x14]
mov ecx, 0x4cff84
lea eax, [ebp - 0x10]
call fcn.0040de20
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040e6d0
jmp 0x416538
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x4164ba
cmp eax, ecx
je 0x4164c4
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040ece0
cmp byte [0x457590], 0
jne 0x416538
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040f230
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040e710
lea esi, [esi]
jmp 0x416538
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040ece0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41650e
mov eax, 0x4e5a80
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x457590], 0
jne 0x416538
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040f230
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040e710
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004163a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416910
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x4e59e0], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00416af0
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x4e59e0]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00407460
call sub.kernel32.dll_GetCommandLineA
mov dword [0x457390], eax
mov ebx, eax
jmp 0x416ab3
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x416998
cmp byte [ebx], 0
je 0x416abc
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x416a13
mov al, byte [ebx]
cmp al, 1
jb 0x416a08
sub al, 0x20
jbe 0x4169d8
sub al, 2
je 0x4169ec
jmp 0x416a08
mov al, byte [ebp - 0x114]
test al, al
je 0x416a18
add dword [ebp - 0x110], 1
jmp 0x416a10
cmp byte [ebx + 1], 0x22
je 0x416a03
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x416a10
add ebx, 1
jmp 0x416a10
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4169c8
test dword [ebp - 0x10c], 0xffffffff
je 0x416aac
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00416af0
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x4e59e0]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x416aa3
mov al, byte [ebx]
cmp al, 1
jb 0x416a98
sub al, 0x20
jbe 0x416a68
sub al, 2
je 0x416a7c
jmp 0x416a98
mov al, byte [ebp - 0x114]
test al, al
je 0x416aa8
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x416aa0
cmp byte [ebx + 1], 0x22
je 0x416a93
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x416aa0
add ebx, 1
jmp 0x416aa0
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x416a58
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x41699b
mov ebx, dword [ebp - 0x10c]
mov dword [0x4e59d0], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x4e59e0
call fcn.00413c60
mov eax, dword [0x4e59e0]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425840
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, 0x4d3ca8
lea eax, [ebp - 0x268]
call fcn.00411ac0
xor eax, eax
push fcn.00425820
push ebp
push 0x417790
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x425883
mov eax, 0x4e5a80
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x4258cb
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x42589f
clc
jmp 0x4258a6
bt dword [0x4d32f0], eax
jb 0x4258bf
mov eax, ebp
call fcn.00425970
test al, al
je 0x4258bf
mov byte [ebp - 0x26c], 1
jmp 0x425950
mov byte [ebp - 0x26c], 0
jmp 0x425950
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x4588c0]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x425950
and esi, 0x400
je 0x425950
lea ebx, [ebp - 0x268]
mov edx, 0x4d3ca8
mov eax, ebx
call fcn.00411b80
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.004254e0
test eax, eax
je 0x425924
sub eax, 1
je 0x42593c
jmp 0x425948
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00425840
mov byte [ebp - 0x26c], al
jmp 0x425950
mov byte [ebp - 0x26c], 1
jmp 0x425950
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00425820
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425ba0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edx
test eax, eax
jne 0x425bae
mov eax, 0x4e5a80
push eax
call sub.kernel32.dll_SetFileAttributesW
test eax, eax
je 0x425bbc
xor ebx, ebx
jmp 0x425bc3
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425bf0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
push esi
push edi
test al, al
jne 0x425c08
mov byte [ebp - 4], 0x5c
mov byte [ebp - 3], 0
jmp 0x425c1f
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 [0x4e6fc0], 0
je 0x425c5b
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 [0x4e6fc0]
test eax, eax
je 0x425c4d
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x24]
jmp 0x425ca6
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
jmp 0x425ca6
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 0x425c9a
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 0x425ca6
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 0x425cc0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x34]
push ebx
push esi
push edi
test al, al
jne 0x425cd8
mov byte [ebp - 4], 0x5c
mov byte [ebp - 3], 0
jmp 0x425cef
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 [0x4e6fc0], 0
je 0x425d2b
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 [0x4e6fc0]
test eax, eax
je 0x425d1d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x1c]
jmp 0x425d76
mov dword [ebp - 0x34], 0xffffffff
mov edi, 0xffffffff
jmp 0x425d76
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 0x425d6a
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 0x425d76
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 0x425dc0
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.00425db0
push ebp
push 0x417790
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 0x425e30
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040ece0
cmp ebx, 1
jle 0x425e20
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.0040e5b0
jmp 0x425e3b
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040c3e0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00425db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426240
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.00426230
push ebp
push 0x417790
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x4e6f5c]
xor edx, edx
call fcn.0040c3e0
mov dword [ebx*4 + 0x4e6f7c], 0xffffffff
cmp ebx, 7
jl 0x426268
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 0x4262f4
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.0040cdd0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0041c760
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x4262f4
push 4
push ebx
push esi
mov eax, 0x426110
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x4261a0
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.00426230
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x426940
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.00426910
push ebp
push 0x417790
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
call fcn.0041c330
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0040c3e0
lea eax, [ebp - 4]
mov cl, 1
mov dx, 1
call fcn.0040d970
mov eax, dword [ebp - 0x18]
xor edx, edx
call fcn.0040c3e0
call sub.kernel32.dll_GetEnvironmentStringsA
mov dword [ebp - 0x1c], eax
mov ebx, eax
jmp 0x426a4c
lea ecx, [ebp - 8]
mov eax, ebx
xor dx, dx
call fcn.0040cd30
mov eax, dword [ebp - 8]
test eax, eax
je 0x4269d7
mov eax, dword [eax - 4]
mov edi, eax
lea eax, [ebp - 8]
xor cl, cl
mov dx, 1
call fcn.0040d970
mov edx, dword [ebp - 8]
mov ecx, 1
mov al, 0x3d
call fcn.0040d310
mov esi, eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [esi - 1]
mov eax, dword [ebp - 8]
mov edx, 1
call fcn.0040d1b0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0041c330
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.0040cf50
test eax, eax
jne 0x426a44
push dword [ebp - 0x18]
mov eax, dword [ebp - 8]
test eax, eax
je 0x426a33
mov eax, dword [eax - 4]
sub eax, esi
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.0040d1b0
jmp 0x426a55
lea eax, [ebx + edi]
add eax, 1
mov ebx, eax
cmp byte [ebx], 0
jne 0x4269c0
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.00426910
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret