joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414b16
Capabilities:
Get common file path

Disassembly:
mov eax, 0x47b85e
call fcn.00459afc
sub esp, 0x414
push ebx
xor ebx, ebx
push str.getTempPath
mov ecx, 0x4ac098
mov dword [ebp - 0x10], ebx
call fcn.00403917
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp byte [ebp + 0xc], bl
je 0x414b63
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call fcn.004092ae
jmp 0x414b8c
lea eax, [ebp - 0x420]
push eax
push ebx
push 0x483f80
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x420]
push eax
call fcn.004092ae
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x414c9c
Capabilities:
Create directory

Disassembly:
mov eax, 0x47b8f7
call fcn.00459afc
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.00403696
mov dword [ebp - 4], esi
lea eax, [ebp - 0x20]
inc esi
push eax
mov ecx, ebx
mov dword [ebp - 0x14], esi
call fcn.00414554
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], esi
push esi
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.00414380
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004119e2
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.004208c9
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004208c9
push 0x483f80
push 0x486f58
lea ecx, [ebp - 0x10]
call fcn.00418272
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0040a77d
push 0x486fac
mov ecx, edi
call fcn.0040c7d1
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x414d55
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x414d79
push esi
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.00414380
mov byte [ebp - 4], 6
push eax
mov ecx, edi
call fcn.0040a866
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004208c9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004208c9
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x41510b
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
mov eax, 0x47b9d6
call fcn.00459afc
sub esp, 0x254
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x486fcc
mov ecx, 0x4ac098
call fcn.00403917
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040387b
mov byte [ebp - 4], 1
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], bl
mov ecx, esi
call dword [eax + 0x20]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp + 8]
call fcn.0040a77d
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.004208c9
push 0x104
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x58]
call fcn.00406aa0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x58]
call fcn.00418410
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x58]
call fcn.004183ee
push dword [esi + 4]
lea ecx, [ebp - 0x3c]
push dword [esi]
push dword [eax + 4]
push dword [eax]
call fcn.004191ef
mov byte [ebp - 4], 4
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x4151d0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41521b
mov byte [ebp - 0xd], bl
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004013ee
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.00405578
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004208c9
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
test al, 0x10
je 0x4151dc
mov byte [ebp - 0xd], 1
jmp 0x4151df
Function at 0x418b5a
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x47bbd7
call fcn.00459afc
sub esp, 0x44
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x3c], edi
je 0x418c6f
cmp byte [esi + 0x41], 0
je 0x418c6f
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x418b93
xor al, al
jmp 0x418c71
push edi
push 8
lea ecx, [ebp - 0x50]
call fcn.00418aea
mov dword [ebp - 4], edi
push ebx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
mov edi, dword [ebp - 0x3c]
mov ebx, eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
add edi, ebx
push edi
push dword [ebp - 0x10]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x418c09
dec eax
je 0x418c0d
dec eax
dec eax
je 0x418c6b
xor bl, bl
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.004013ee
mov al, bl
pop ebx
jmp 0x418c71
mov byte [esi + 0x41], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
mov edi, dword [ebp - 0x14]
sub edi, eax
je 0x418c4d
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0045e957
add esp, 0x10
cmp edi, eax
jne 0x418bf2
cmp byte [esi + 0x41], 0
je 0x418c6b
test edi, edi
jne 0x418ba2
push edi
push 8
lea ecx, [ebp - 0x50]
call fcn.00405f38
jmp 0x418ba2
mov bl, 1
jmp 0x418bf4
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x418e6c
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x47bc0f
call fcn.00459afc
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x418e89
xor eax, eax
jmp 0x418eb1
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
push edi
xor edi, edi
cmp ecx, edi
je 0x418ec1
mov eax, dword [esi + 0x34]
mov edx, dword [eax]
add edx, ecx
cmp ecx, edx
jae 0x418ec1
dec dword [eax]
mov esi, dword [esi + 0x24]
mov eax, dword [esi]
lea ecx, [eax + 1]
mov dword [esi], ecx
mov byte [eax], bl
mov eax, ebx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
mov eax, dword [esi + 0x4c]
cmp eax, edi
je 0x418eda
cmp dword [esi + 0x3c], edi
jne 0x418edf
push eax
push ebx
call fcn.00417b50
pop ecx
pop ecx
test al, al
jne 0x418eae
or eax, 0xffffffff
jmp 0x418eb0
push edi
push 8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 0x10], bl
call fcn.00418aea
mov dword [ebp - 4], edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
mov edi, dword [ebp - 0x48]
mov ebx, eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
lea edx, [ebp - 0x18]
add edi, ebx
push edx
lea ebx, [esi + 0x44]
jmp 0x418fd1
cmp eax, 1
jg 0x418ff5
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
mov edi, dword [ebp - 0x18]
sub edi, eax
je 0x418f76
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0045e957
add esp, 0x10
cmp edi, eax
jne 0x41900b
lea eax, [ebp - 0x10]
mov byte [esi + 0x41], 1
cmp dword [ebp - 0x1c], eax
jne 0x419025
test edi, edi
ja 0x418f9c
cmp dword [ebp - 0x48], 0x20
jae 0x41900b
push 0
push 8
lea ecx, [ebp - 0x5c]
call fcn.00405f38
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a734
mov ecx, eax
call fcn.00404acc
lea edx, [ebp - 0x18]
push edx
mov edx, dword [ebp - 0x20]
add edi, edx
mov ecx, dword [esi + 0x3c]
push edi
push eax
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0xf]
push edx
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push ebx
call dword [eax + 0x14]
test eax, eax
jge 0x418f29
jmp 0x41900b
cmp eax, 3
jne 0x41900b
push dword [esi + 0x4c]
push dword [ebp - 0x10]
call fcn.00417b50
pop ecx
pop ecx
test al, al
jne 0x419025
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.004013ee
mov eax, esi
jmp 0x418eb0
mov esi, dword [ebp + 8]
jmp 0x41900e
Function at 0x41c750
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x4c]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x41c8d5
push edi
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x41c8d4
cmp ecx, 0x29
jne 0x41c794
cmp dword [esi + 0x1c], 0
jne 0x41c8d4
test dword [esi + 0x50], edi
jne 0x41c794
push 5
call fcn.00458624
pop ecx
jmp 0x41c8bd
cmp ecx, 0x2e
jne 0x41c7af
push 5
lea ecx, [esi + 0x24]
call fcn.00416a60
mov ecx, esi
call fcn.00417fdf
jmp 0x41c8bd
cmp ecx, 0x5c
jne 0x41c80c
mov ecx, esi
call fcn.00417fdf
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x41c7e1
cmp byte [esi + 0x4a], 0x62
jne 0x41c7e1
push 4
lea ecx, [esi + 0x24]
call fcn.00416a60
mov ecx, esi
call fcn.00417fdf
jmp 0x41c8c4
test eax, eax
je 0x41c800
cmp byte [esi + 0x4a], 0x42
jne 0x41c800
push 4
lea ecx, [esi + 0x24]
call fcn.00416a60
mov eax, dword [esi + 0x28]
add eax, 8
or dword [eax], 1
jmp 0x41c7d5
mov ecx, esi
call fcn.0041b460
jmp 0x41c8bd
cmp ecx, 0x5b
jne 0x41c82f
mov ecx, esi
call fcn.00417fdf
mov ecx, esi
call fcn.0041c704
push 4
push 0x5d
mov ecx, esi
call fcn.0041806f
jmp 0x41c8bd
cmp ecx, 0x28
jne 0x41c851
mov ecx, esi
call fcn.00417fdf
mov ecx, esi
call fcn.00418092
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.0041806f
jmp 0x41c8b9
cmp ecx, 0x5e
jne 0x41c85d
push 2
jmp 0x41c7cd
cmp ecx, 0x24
jne 0x41c869
push 3
jmp 0x41c7cd
cmp ecx, 0x2a
je 0x41c8b1
cmp ecx, 0x2b
je 0x41c8b1
cmp ecx, 0x3f
je 0x41c8b1
cmp ecx, 0x7b
je 0x41c8b1
cmp ecx, 0x7d
jne 0x41c88e
test dword [esi + 0x50], edi
jne 0x41c88e
push 6
jmp 0x41c789
cmp ecx, 0x5d
jne 0x41c89f
test dword [esi + 0x50], edi
jne 0x41c89f
push 4
jmp 0x41c789
movzx eax, byte [esi + 0x4a]
push eax
lea ecx, [esi + 0x24]
call fcn.0041a7fd
jmp 0x41c7a3
push 0xa
call fcn.00458624
pop ecx
test bl, bl
je 0x41c8c4
mov ecx, esi
call fcn.0041ad49
mov ecx, dword [esi + 0x4c]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x41c76a
pop edi
pop esi
pop ebx
ret

Function at 0x41d125
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x47c109
call fcn.00459afc
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor esi, esi
mov dword [ebp - 4], esi
push str.openUrlOnDefaultBrowser
mov ecx, 0x4ac098
call fcn.00403917
mov byte [ebp - 4], 1
push 1
push esi
push esi
push dword [ebp + 8]
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004208c9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x42ef71
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, 0x47ec83
call fcn.00459afc
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0x8c], edi
je 0x42efc3
call fcn.0042ed9f
test eax, eax
je 0x42efd4
lea eax, [ebp - 0x18]
push eax
push 4
push esi
push 0x42ef11
push edi
push edi
call fcn.00460b4e
add esp, 0x18
mov dword [esi + 0xa8], eax
cmp eax, edi
je 0x42efc3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [esi + 0xb0]
cmp eax, edi
je 0x42efc3
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1c]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
push edi
mov edx, dword [ebp - 0x14]
neg edx
push edx
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
push dword [esi + 0x68]
push dword [esi + 0x64]
push edi
push edi
push dword [esi + 0x90]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x42efc3
push edi
mov ecx, esi
call fcn.0042f8e5
xor eax, eax
inc eax
jmp 0x42efc5

Function at 0x42f72c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x47ecfb
call fcn.00459afc
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
call fcn.0044b6de
mov eax, dword [eax + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x42f79e
call fcn.0044b6de
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42f79e
call fcn.0044b6de
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x42f7b1
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp + 0xc], eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x42f7fe
cmp dword [ebp + 0xc], 0
je 0x42f7fe
push edi
push eax
push dword [ebp + 0xc]
call fcn.0045c220
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push esi
mov ecx, dword [ebp - 0x14]
call fcn.0042f2cf
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x42f7a0
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42f797
Function at 0x430173
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x430197
inc eax
jmp 0x43027d
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor edi, edi
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x4301dc
cmp eax, 2
jne 0x4301ca
push str.Key_not_found._n
call fcn.0045c585
xor eax, eax
pop ecx
inc eax
jmp 0x43027c
push str.Error_opening_key._n
call fcn.0045c585
pop ecx
xor eax, eax
jmp 0x43027c
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [ebx + eax*2]
cmp word [esi - 2], 0x5c
je 0x4301fb
push 0x5c
pop eax
mov word [esi], ax
inc esi
inc esi
xor eax, eax
mov word [esi], ax
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x43024d
lea eax, [ebp - 0x218]
push eax
push 0x208
push esi
call fcn.00431480
mov ecx, dword [ebp - 8]
push ebx
push dword [ebp + 8]
call fcn.00430499
test eax, eax
je 0x43025d
lea eax, [ebp - 0x10]
push eax
xor eax, eax
push eax
push eax
push eax
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
push dword [ebp - 4]
mov dword [ebp + 0xc], 0x104
call edi
test eax, eax
je 0x430216
xor eax, eax
mov word [esi - 2], ax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x43090c
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47ee86
call fcn.00459afc
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00403696
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push eax
push 0x20019
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
call esi
test eax, eax
je 0x43097b
lea eax, [ebp - 0x18]
push eax
push 0x20119
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x43097b
push 0x483f80
mov ecx, dword [ebp + 8]
call fcn.004092ae
jmp 0x430a39
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call esi
mov dword [ebp - 0x28], eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0040167d
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 3
jmp 0x430a09
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004314b3
mov ecx, dword [ebp + 8]
cmp dword [ebp - 0x28], ebx
je 0x430a30
push str.NULLABLE
call fcn.0040a817
jmp 0x430a39
lea eax, [ebp - 0x14]
push eax
call fcn.0040387b
mov dword [ebp - 0x20], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004208c9
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call fcn.004208c9
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x14]
call fcn.004208c9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x430dad
Capabilities:
Set registry value

Disassembly:
mov eax, 0x47efb7
call fcn.00459afc
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 3
lea ecx, [ebp + 0xc]
call fcn.00424c8f
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040387b
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.004302e0
push eax
mov ecx, esi
call fcn.00430b9b
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040387b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.004302e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430ea0
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040387b
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.004302e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x430ea0
push 0xfffffffffffffff6
pop esi
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.004208c9
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
call fcn.004208c9
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x10]
call fcn.004208c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004208c9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 7
call fcn.00404d35
mov byte [ebp - 4], 7
push dword [ebp + 0x14]
lea ecx, [ebp - 0x30]
call fcn.00406696
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x430ecb
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
add ecx, ecx
push ecx
push eax
push 1
push ebx
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.004314b3
mov byte [ebp - 4], 3
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00405578
jmp 0x430e5f
Function at 0x430f0a
Capabilities:
Set registry value

Disassembly:
mov eax, 0x47eff1
call fcn.00459afc
push ecx
push ecx
push esi
mov esi, ecx
mov dword [ebp - 4], 2
lea ecx, [ebp + 0xc]
call fcn.00424c8f
push eax
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040387b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.004302e0
push eax
mov ecx, esi
call fcn.00430b9b
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040387b
mov byte [ebp - 4], 4
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.004302e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x430fee
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp + 8]
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040387b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.004302e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x430fee
push 0xfffffffffffffff6
pop esi
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.004208c9
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.004208c9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call fcn.004208c9
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
leave
ret 0x10
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x430fb9
Function at 0x433801
Capabilities:
Reference wmi statements

Disassembly:
mov eax, 0x47f5bb
call fcn.00459afc
push ecx
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
push str.Caption
push 0x483ad8
push str.SELECT__FROM_Win32_OperatingSystem
push str.ROOTcimv2
push dword [ebp + 8]
call fcn.0043351e
add esp, 0x14
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret

Function at 0x43384d
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x47f5de
call fcn.00459afc
sub esp, 0x204
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
xor eax, eax
push 0x1fc
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.0045a2c0
add esp, 0xc
push 0x1fe
lea eax, [ebp - 0x210]
push eax
push 0x59
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, dword [ebp + 8]
call fcn.00403696
and dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x10], 1
call fcn.00403917
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov dword fs:[0], ecx
leave
ret 4