joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4409a8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x440a60
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0044093c
test al, al
je 0x440a42
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00480a3c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x440a42
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.0048173c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0048178c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4409fb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440a67
lea eax, [ebp - 0x2c]
call fcn.004808d4
lea eax, [ebp - 4]
call fcn.004808d4
ret

Function at 0x440c18
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x440cd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0044093c
test al, al
je 0x440cb2
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00480a3c
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x440cb2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.0048173c
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.0048178c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x440c6b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x440cd7
lea eax, [ebp - 0x2c]
call fcn.004808d4
lea eax, [ebp - 4]
call fcn.004808d4
ret
Function at 0x44125c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00440104
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0048173c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.004402ec
test al, al
jne 0x4412c4
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x57d448]
mov dl, 1
mov eax, dword [0x43dfb8]
call fcn.00469574
call fcn.004800ac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4412d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0048173c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004402ec
test al, al
jne 0x441331
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x57d444]
mov dl, 1
mov eax, dword [0x43dfb8]
call fcn.00469574
call fcn.004800ac
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00440134
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x441930
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x441a58
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0044038c
xor eax, eax
push ebp
push 0x441a33
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044093c
test al, al
je 0x441a17
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00441810
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00480a3c
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x441a17
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004402ec
test al, al
je 0x441a13
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0048173c
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.0048178c
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00441810
pop ecx
inc edi
dec ebx
jne 0x4419bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441a3a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0044038c
ret
Function at 0x441a68
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x441cb6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0044038c
xor eax, eax
push ebp
push 0x441c8c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044093c
test al, al
je 0x441c70
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00480a3c
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x441c70
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004402ec
test al, al
je 0x441c64
mov eax, dword [ebp - 4]
call fcn.0048173c
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.0048178c
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00441380
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x441c64
xor eax, eax
push ebp
push 0x441c5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0044038c
xor eax, eax
push ebp
push 0x441c3f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0048173c
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.0048178c
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00440390
mov eax, dword [ebp - 4]
call fcn.0048173c
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.0048178c
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00441380
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x441c1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00441930
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.00441a68
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441c23
mov eax, dword [ebp - 0x24]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x441af3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441c93
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0044038c
ret
Function at 0x463224
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46334d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x218]
push eax
push 0x104
call sub.KERNEL32.DLL_GetLogicalDriveStringsW
mov esi, eax
test esi, esi
jle 0x463327
lea ebx, [ebp - 0x218]
lea eax, [ebx + 4]
mov word [eax], 0
push 0x104
lea eax, [ebp - 0x424]
push eax
push ebx
call sub.KERNEL32.DLL_QueryDosDeviceW
mov esi, eax
test esi, esi
jle 0x463310
lea eax, [ebp - 4]
lea edx, [ebp - 0x424]
mov ecx, 0x106
call fcn.004817e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00481c6c
test eax, eax
jle 0x463310
mov eax, dword [ebp - 4]
test eax, eax
je 0x4632c4
sub eax, 4
mov eax, dword [eax]
mov esi, eax
mov edi, dword [ebp - 8]
test edi, edi
je 0x4632d2
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x428]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 8]
call fcn.00481b00
mov eax, dword [ebp - 0x428]
push eax
lea eax, [ebp - 0x42c]
mov edx, ebx
call fcn.0048178c
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0xc]
pop ecx
call fcn.00481990
jmp 0x463327
add ebx, 2
cmp word [ebx], 0
jne 0x46330d
add ebx, 4
test ebx, ebx
je 0x463321
cmp word [ebx], 0
jne 0x463276
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463354
lea eax, [ebp - 0x42c]
mov edx, 2
call fcn.00480934
lea eax, [ebp - 4]
call fcn.004808d4
ret
Function at 0x463440
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4635fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.004808d4
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetFileSize
test eax, eax
jne 0x4634a4
cmp dword [ebp - 0x14], 0
je 0x463592
push 0
push 1
push 0
push 2
push 0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_CreateFileMappingW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x3ee
je 0x463592
xor eax, eax
push ebp
push 0x46358b
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
push 4
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x463574
xor eax, eax
push ebp
push 0x46356d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
call sub.KERNEL32.DLL_GetCurrentProcess
lea ecx, [ebp - 0x224]
mov edx, dword [ebp - 0x18]
call fcn.0041f434
test eax, eax
jbe 0x463556
lea eax, [ebp - 0x22c]
lea edx, [ebp - 0x224]
mov ecx, 0x106
call fcn.004817e0
mov eax, dword [ebp - 0x22c]
lea edx, [ebp - 0x228]
call fcn.00463224
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp - 8]
call fcn.00480c94
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463574
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463592
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
cmp byte [ebp - 9], 0
jne 0x4635de
lea edx, [ebp - 0x230]
mov eax, dword [ebp - 4]
call fcn.0046335c
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 8]
call fcn.00480c94
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x4635de
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00463224
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 8]
call fcn.00480c94
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463603
lea eax, [ebp - 0x234]
mov edx, 4
call fcn.00480934
ret
Function at 0x46360c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov byte [ebp - 1], 0
xor edx, edx
mov eax, 6
call fcn.0046a380
test al, al
je 0x4636b4
mov eax, ebx
call fcn.0048173c
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4636b4
test ah, 4
je 0x4636b4
test al, 0x10
je 0x463653
mov edi, 0x2000000
jmp 0x463655
xor edi, edi
push 0
push edi
push 3
push 0
push 1
push closesocket
mov eax, ebx
call fcn.0048173c
push eax
call sub.KERNEL32.DLL_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4636b4
xor eax, eax
push ebp
push 0x4636ad
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.00463440
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4636b4
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x463920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x463979
test eax, edx
je 0x46397c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x463937
movzx eax, word [eax]
sub eax, ecx
jmp 0x46395e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x46395f
add ecx, 4
js 0x46394f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x46395c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x46395e
xor eax, eax
ret
test eax, eax
je 0x463988
test edx, edx
jne 0x463928
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0048173c
mov edi, eax
push edi
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4648f2
test ah, 4
je 0x4648eb
test bl, bl
jne 0x4648b0
mov al, 1
jmp 0x464919
test al, 0x10
je 0x4648b8
xor eax, eax
jmp 0x464919
push 0
push 0
push 3
push 0
push 1
push closesocket
push edi
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x4648dc
push eax
call sub.KERNEL32.DLL_CloseHandle
mov al, 1
jmp 0x464919
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x464919
test al, 0x10
sete al
jmp 0x464919
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x464913
cmp ebx, 3
je 0x464913
cmp ebx, 0x7b
je 0x464913
mov eax, esi
call fcn.00464848
test al, al
jne 0x464917
xor eax, eax
jmp 0x464919
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x464920
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.0048173c
mov ebp, eax
push ebp
call sub.KERNEL32.DLL_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x4649c7
test esi, 0x400
jne 0x46495c
test esi, 0x10
setne bl
jmp 0x4649e1
cmp byte [esp], 0
je 0x464990
push 0
push 0x2000000
push 3
push 0
push 1
push closesocket
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x4649e1
push eax
call sub.KERNEL32.DLL_CloseHandle
test esi, 0x10
setne bl
jmp 0x4649e1
test esi, 0x10
je 0x46499c
mov bl, 1
jmp 0x4649e1
push 0
push 0x2000000
push 3
push 0
push 1
push closesocket
push ebp
call sub.KERNEL32.DLL_CreateFileW
cmp eax, 0xffffffff
je 0x4649c3
push eax
call sub.KERNEL32.DLL_CloseHandle
xor ebx, ebx
jmp 0x4649e1
mov bl, 1
jmp 0x4649e1
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
je 0x4649db
cmp eax, 3
je 0x4649db
cmp eax, 0x7b
jne 0x4649df
xor ebx, ebx
jmp 0x4649e1
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4649ec
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x464a91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0048173c
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
test edi, 0x400
setne al
test al, bl
je 0x464a76
or edi, 0xffffffff
lea edx, [ebp - 4]
mov eax, esi
call fcn.0046360c
test al, al
je 0x464a76
mov eax, dword [ebp - 4]
call fcn.00464ffc
test al, al
je 0x464a66
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.00464e98
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0046a9d0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
call fcn.00481990
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
mov edi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464a98
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00480934
ret
Function at 0x464aa4
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464b77
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00480cdc
cmp byte [ebp - 9], 0
je 0x464b35
mov eax, ebx
call fcn.0048173c
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
test ah, 4
je 0x464b35
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0046360c
test al, al
je 0x464b35
mov eax, dword [ebp - 8]
call fcn.00464ffc
test al, al
je 0x464b2a
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.00464e98
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0046a9d0
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
call fcn.00481990
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00480cdc
push edi
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
test eax, eax
jne 0x464b4f
call sub.KERNEL32.DLL_GetLastError
mov esi, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464b7e
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00480934
lea eax, [ebp - 8]
mov edx, 2
call fcn.00480934
ret

Function at 0x4684f4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x46852d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00480a3c
jmp 0x468536
mov eax, ebx
mov edx, esi
call fcn.00480c94
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x468540
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoW
test eax, eax
jle 0x468562
movzx eax, word [esp]
jmp 0x468564
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x469220
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x469345
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00469030
mov esi, eax
mov eax, dword [0x57d6a8]
cmp byte [eax], 0
je 0x4692ed
mov eax, dword [0x57d6b4]
call fcn.0047e69c
call fcn.0047df88
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x4691f8]
call fcn.0048290c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x469360
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x469329
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x57d508]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x57da9c]
call fcn.00482b18
push eax
call sub.USER32.DLL_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.USER32.DLL_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46934c
lea eax, [ebp - 4]
mov edx, dword [0x4691f8]
call fcn.00482a30
ret

Function at 0x46a3a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a476
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00480cdc
lea eax, [ebp - 4]
call fcn.00480e90
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x46a460
mov eax, ebx
call fcn.0047dd84
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46a459
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0048173c
push eax
call sub.VERSION.DLL_GetFileVersionInfoW
test eax, eax
je 0x46a443
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x46a488
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueW
test eax, eax
je 0x46a443
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a460
mov eax, dword [ebp - 0x10]
call fcn.0047dda0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a47d
lea eax, [ebp - 4]
call fcn.004808d4
ret