joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46d9b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
lea eax, [esp + 0x4c]
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x1c], 4
mov edi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 0x18], 0x270f
mov dword [esp + 0x20], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 4], edx
mov dword [esp + 0x4c], 0
call method.std::time_get_char__std::istreambuf_iterator_char__std::char_traits_char_____._M_extract_num_std::istreambuf_iterator_char__std::char_traits_char_____std::istreambuf_iterator_char__std::char_traits_char_____int__int__int__unsigned_int__std::ios_ba
sub esp, 0x28
mov ebx, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x46da90
mov ecx, dword [esp + 0x48]
lea esi, [ecx + 0x64]
lea eax, [ecx - 0x76c]
test ecx, ecx
mov ecx, dword [esp + 0x88]
cmovs eax, esi
mov dword [ecx + 0x14], eax
cmp edx, 0xffffffff
sete al
test ebx, ebx
mov esi, eax
setne al
mov ecx, esi
and cl, al
mov byte [esp + 0x38], cl
jne 0x46dac8
cmp ebp, 0xffffffff
sete al
test edi, edi
je 0x46da68
test al, al
jne 0x46daa0
mov ebx, esi
cmp bl, al
jne 0x46da78
mov eax, dword [esp + 0x84]
or dword [eax], 2
mov eax, dword [esp + 0x34]
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov eax, dword [esp + 0x84]
or dword [eax], 4
jmp 0x46da43
mov ebx, dword [edi + 0xc]
xor eax, eax
cmp dword [edi + 8], ebx
jb 0x46da68
mov eax, dword [edi]
mov dword [esp + 0x38], edx
mov ecx, edi
call dword [eax + 0x24]
mov edx, dword [esp + 0x38]
cmp eax, 0xffffffff
sete al
jmp 0x46da68
mov eax, dword [ebx + 0xc]
xor esi, esi
cmp dword [ebx + 8], eax
jb 0x46da5a
mov eax, dword [ebx]
mov dword [esp + 0x3c], edx
mov ecx, ebx
call dword [eax + 0x24]
mov edx, dword [esp + 0x3c]
cmp eax, 0xffffffff
movzx eax, byte [esp + 0x38]
cmove esi, eax
mov eax, 0
cmovne eax, ebx
mov dword [esp + 0x34], eax
jmp 0x46da5a
Function at 0x46ddf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x8c
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov edi, dword [esp + 0xa8]
add eax, 0x6c
mov dword [esp + 0x34], ecx
mov esi, dword [esp + 0xac]
mov dword [esp], eax
call method.std::__timepunct_char__const_std::use_facet_std.__timepunct_char____std::locale_const_
mov dword [esp + 0x44], 0
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x48]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 0x4c]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0x50]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 0x54]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x58]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x5c]
mov dword [esp + 0x5c], edx
mov edx, dword [eax + 0x60]
mov dword [esp + 0x60], edx
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x68], edx
mov edx, dword [eax + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x70], edx
mov edx, dword [eax + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x48]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x40]
mov dword [esp], ecx
mov ecx, ebp
mov dword [esp + 4], ebx
mov dword [esp + 0x18], 7
mov dword [esp + 0x10], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
call sym.__ZNKSt8time_getIcSt19istreambuf_iteratorIcSt11char_traitsIcEEE24_M_extract_wday_or_monthES3_S3_RiPPKcjRSt8ios_baseRSt12_Ios_I
sub esp, 0x24
mov ecx, eax
mov ebp, eax
mov ebx, edx
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x46df40
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x18], edx
cmp ebx, 0xffffffff
sete dl
test ecx, ecx
setne al
and al, dl
mov byte [esp + 0x34], al
jne 0x46df78
cmp esi, 0xffffffff
sete al
test edi, edi
je 0x46df20
test al, al
jne 0x46df50
cmp dl, al
jne 0x46df2e
mov eax, dword [esp + 0xb4]
or dword [eax], 2
add esp, 0x8c
mov eax, ebp
mov edx, ebx
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov eax, dword [esp + 0xb4]
or dword [eax], 4
jmp 0x46deff
mov esi, dword [edi + 0xc]
xor eax, eax
cmp dword [edi + 8], esi
jb 0x46df20
mov eax, dword [edi]
mov byte [esp + 0x34], dl
mov ecx, edi
call dword [eax + 0x24]
movzx edx, byte [esp + 0x34]
cmp eax, 0xffffffff
sete al
jmp 0x46df20
mov eax, dword [ecx + 0xc]
xor edx, edx
cmp dword [ecx + 8], eax
jb 0x46df12
mov eax, dword [ecx]
mov byte [esp + 0x3f], dl
mov ebp, 0
mov dword [esp + 0x38], ecx
call dword [eax + 0x24]
movzx edx, byte [esp + 0x3f]
mov ecx, dword [esp + 0x38]
cmp eax, 0xffffffff
movzx eax, byte [esp + 0x34]
cmovne ebp, ecx
cmove edx, eax
jmp 0x46df12
Function at 0x470b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
push ebx
sub esp, 0x9c
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
mov esi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0x3c], eax
lea eax, [edx + 0x6c]
mov edi, dword [esp + 0xb8]
mov dword [esp], eax
call method.std::__timepunct_wchar_t__const_std::use_facet_std.__timepunct_wchar_t____std::locale_const_
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x54], 0
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x48]
mov dword [esp + 0x58], ecx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + 0x54]
mov dword [esp + 0x64], ecx
mov ecx, dword [eax + 0x58]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x60]
mov dword [esp + 0x70], ecx
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x74], ecx
mov ecx, dword [eax + 0x30]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x7c], ecx
mov ecx, dword [eax + 0x38]
mov dword [esp + 0x80], ecx
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x84], ecx
mov ecx, dword [eax + 0x40]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x88], ecx
mov ecx, ebp
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], esi
mov dword [esp + 4], ebx
xor bx, bx
mov dword [esp + 0x18], 7
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
call sym.__ZNKSt8time_getIwSt19istreambuf_iteratorIwSt11char_traitsIwEEE24_M_extract_wday_or_monthES3_S3_RiPPKwjRSt8ios_baseRSt12_Ios_I
sub esp, 0x24
mov ecx, eax
movzx esi, dx
mov eax, edx
mov dword [esp + 0x4c], edx
mov edx, ebx
mov ebx, dword [esp + 0x54]
mov ebp, ecx
mov dword [esp + 0x48], ecx
or edx, esi
test ebx, ebx
jne 0x470cd0
mov ebx, dword [esp + 0xc8]
mov esi, dword [esp + 0x50]
mov dword [ebx + 0x18], esi
cmp ax, 0xffff
sete bl
test ecx, ecx
setne al
and al, bl
mov esi, eax
jne 0x470cf8
cmp word [esp + 0x3c], 0xffff
sete al
mov ecx, eax
test edi, edi
je 0x470cb2
test al, al
jne 0x470ce0
cmp bl, cl
jne 0x470cc0
mov eax, dword [esp + 0xc4]
or dword [eax], 2
add esp, 0x9c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
mov esi, dword [esp + 0xc4]
or dword [esi], 4
jmp 0x470c8d
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
jae 0x470d20
movzx eax, word [eax]
cmp ax, 0xffff
sete cl
jmp 0x470cb2
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
jae 0x470d38
movzx eax, word [eax]
cmp ax, 0xffff
mov ebx, 0
mov ebp, 0
cmove ebx, esi
cmovne ebp, ecx
jmp 0x470c9f
mov eax, dword [edi]
mov dword [esp + 0x3c], edx
mov ecx, edi
call dword [eax + 0x24]
mov edx, dword [esp + 0x3c]
jmp 0x470ceb
mov eax, dword [ecx]
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ecx
call dword [eax + 0x24]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
jmp 0x470d03
Function at 0x48dd30
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
mov ebx, ecx
sub esp, 0x1c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
jmp 0x48dd53
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 4
jne 0x48dd71
mov ecx, ebx
call method.std::__basic_file_char_.fd__
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._read
mov ebp, eax
cmp eax, 0xffffffff
je 0x48dd48
add esp, 0x1c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x10359d2
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x1002454
lea edi, [ebp - 0x61c]
rep movsd dword es:[edi], dword [esi]
push 0x1ee
xor ebx, ebx
lea eax, [ebp - 0x602]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
push 7
pop ecx
mov esi, 0x1002434
lea edi, [ebp - 0x414]
rep movsd dword es:[edi], dword [esi]
push 0x1ea
lea eax, [ebp - 0x3f6]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x61c]
add esp, 0x18
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x628], 2
mov esi, 0x1002428
lea eax, [ebp - 0x624]
push eax
push 0x2001f
push ebx
push dword [ebp - 0x620]
xor edi, edi
push 0x80000000
mov dword [ebp - 0x624], ebx
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1035abf
push 4
lea eax, [ebp - 0x62c]
push eax
push 4
push ebx
push esi
push dword [ebp - 0x624]
mov dword [ebp - 0x62c], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1035aaf
push esi
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edi, edi
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x1035b13
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push 0x1002408
push 0x104
push eax
call fcn.0103592d
add esp, 0x10
test eax, eax
jl 0x1035b13
push 4
push 1
mov edi, 0x10000000
push edi
push 0x1002400
lea eax, [ebp - 0x20c]
push eax
call fcn.01057c71
push 4
push 1
push edi
push 0x10023f8
lea eax, [ebp - 0x20c]
push eax
call fcn.01057c71
add dword [ebp - 0x620], 0x208
dec dword [ebp - 0x628]
jne 0x1035a52
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047480
leave
Function at 0x1036fdd
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4b8
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, 0x80004005
mov dword [ebp - 0x4b0], ecx
mov dword [ebp - 0x4ac], edx
mov dword [ebp - 0x4a8], esi
mov dword [ebp - 0x498], eax
mov dword [ebp - 0x4b4], ebx
mov dword [ebp - 0x4b8], ebx
cmp ecx, ebx
je 0x103734e
cmp edx, ebx
je 0x103734e
cmp esi, ebx
je 0x103734e
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0x4b4]
push eax
mov edi, 0x20019
push edi
push ebx
push 0x1001f80
push 0x80000002
call esi
test eax, eax
jne 0x10372bd
and dword [ebp - 0x49c], ebx
lea eax, [ebp - 0x49c]
push eax
push edi
push ebx
push dword [ebp - 0x4b0]
push dword [ebp - 0x4b4]
call esi
test eax, eax
jne 0x10372a4
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x4a4]
push eax
push ebx
push ebx
push dword [ebp - 0x49c]
xor edi, edi
inc edi
mov dword [ebp - 0x4a4], edi
mov dword [ebp - 0x4a0], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1037298
cmp dword [ebp - 0x4a4], 2
mov esi, 0x104
jne 0x103712b
push esi
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x103712b
push esi
lea eax, [ebp - 0x28c]
push eax
call fcn.010417d3
mov dword [ebp - 0x498], eax
test eax, eax
jl 0x103712b
lea eax, [ebp - 0x28c]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x4ac]
call fcn.01035831
mov dword [ebp - 0x498], eax
test eax, eax
jl 0x103712b
mov ebx, edi
cmp dword [ebp - 0x4a4], edi
jne 0x103716c
push esi
lea eax, [ebp - 0x494]
push eax
call fcn.010417d3
mov dword [ebp - 0x498], eax
test eax, eax
jl 0x103716c
lea eax, [ebp - 0x494]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x4ac]
call fcn.01035831
xor ebx, ebx
test eax, eax
mov dword [ebp - 0x498], eax
invalid
popfd

Function at 0x103716b
Capabilities:
Query or enumerate registry value

Disassembly:
ret
Function at 0x104192f
Capabilities:
Get session user name
Get user security identifier

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, dword [ebp + 8]
push ebx
push edi
push 0xffffffffffffffff
xor edi, edi
push 0x1004988
mov dword [ebp - 8], edi
call fcn.0106de7c
mov ebx, eax
cmp ebx, edi
jl 0x1041add
lea ecx, [ebp - 0x30]
call fcn.0106d6aa
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0x7fff
call fcn.0106d6aa
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.0106de34
mov ebx, eax
cmp ebx, edi
jge 0x1041994
lea ecx, [ebp - 0x24]
call fcn.0106de2a
lea ecx, [ebp - 0x30]
call fcn.0106de2a
jmp 0x1041add
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x24]
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x10419c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x10419b5
push 0x57
pop eax
cmp eax, edi
jle 0x10419c1
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x104197f
push esi
push 0x44
pop esi
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x10419e3
mov ebx, 0x8007000e
jmp 0x1041abc
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
lea ecx, [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0xc], edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x14], esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call esi
test ebx, ebx
jne 0x1041a2b
cmp eax, 0x7a
je 0x1041a2b
test eax, eax
jle 0x1041a24
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x1041abc
lea ecx, [ebp - 0x3c]
call fcn.0106d6aa
mov eax, dword [ebp - 0xc]
inc eax
push eax
lea ecx, [ebp - 0x3c]
call fcn.0106de34
mov ebx, eax
test ebx, ebx
jl 0x1041ab4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push dword [ebp - 0x24]
push 0
call edi
mov edi, eax
call esi
test edi, edi
jne 0x1041a77
test eax, eax
jle 0x1041ab2
and eax, 0xffff
or eax, 0x80070000
jmp 0x1041ab2
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
test eax, eax
jne 0x1041a92
call esi
test eax, eax
jne 0x1041a69
push 0x57
pop eax
jmp 0x1041a67
push 0xffffffffffffffff
push dword [ebp - 8]
lea ecx, [ebp - 0x30]
invalid
invalid
Function at 0x10480dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
xor ecx, ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x218], ecx
cmp dword [eax], ecx
je 0x104820f
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0x210]
push eax
mov ebx, 0x20019
push ebx
push ecx
mov edi, 0x1006190
push edi
push 0x80000002
mov dword [ebp - 0x210], ecx
call esi
test eax, eax
je 0x1048154
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push edi
push 0x80000001
call esi
test eax, eax
je 0x1048154
and dword [ebp - 0x210], 0
cmp dword [ebp - 0x210], 0
mov edi, dword [ebp - 0x214]
je 0x10481fb
and dword [ebp - 0x21c], 0
lea eax, [ebp - 0x21c]
push eax
xor ebx, ebx
inc ebx
push ebx
push 0
push dword [edi]
push dword [ebp - 0x210]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10481e1
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0x100615c
push dword [ebp - 0x21c]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x220], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10481d9
cmp dword [ebp - 0x214], ebx
jne 0x10481d9
mov dword [ebp - 0x218], ebx
push dword [ebp - 0x21c]
call esi
push dword [ebp - 0x210]
call esi
cmp dword [ebp - 0x218], 0
je 0x10481fb
push dword [edi]
push 0x1006134
jmp 0x1048202
push dword [edi]
push 0x10060f0
push 4
call fcn.01055c8a
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
call fcn.01047480
leave

Function at 0x104823b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
xor esi, esi
push esi
push esi
push esi
mov edi, ecx
push 6
mov dword [ebp - 0x14], edi
call fcn.01058973
test eax, eax
je 0x10482d2
push ebx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
inc ebx
push ebx
push esi
push 0x1006248
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10482cd
push 4
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1006210
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10482c4
cmp dword [ebp - 8], edi
jne 0x10482c4
cmp dword [ebp - 0xc], esi
jne 0x10482c4
push 0x10061ec
push edi
call fcn.01055c50
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x98]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
jmp 0x10482d8
mov eax, dword [edi + 0x98]
pop edi
pop esi
leave
ret
Function at 0x104a320
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3a4]
push edx
xor ebx, ebx
push eax
mov dword [ebp - 0x38c], ebx
call dword [ecx + 0x1c]
cmp dword [ebp - 0x3a0], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jl 0x104a365
cmp dword [esi + 0x34], ebx
je 0x104a381
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x104a375
push eax
call edi
mov dword [esi + 0x28], ebx
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x3a4]
sub eax, ebx
je 0x104a495
dec eax
je 0x104a481
dec eax
je 0x104a43f
dec eax
je 0x104a3e7
dec eax
je 0x104a3d3
dec eax
je 0x104a3b5
mov dword [ebp - 0x388], 0x2779
jmp 0x104a4bb
push 0x1006bcc
push 4
mov dword [ebp - 0x388], 0x2778
call fcn.01055bad
mov dword [esi + 0x30], ebx
jmp 0x104a4bb
mov dword [ebp - 0x388], 0x2777
push 0x1006bc0
jmp 0x104a4b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x24]
cmp eax, 0x2710
jbe 0x104a42e
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x388], 0x277a
cmp eax, ebx
je 0x104a411
push eax
call edi
mov dword [esi + 0x28], ebx
push 0x1006b90
mov eax, 0x80072efd
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x3a0], eax
push 2
jmp 0x104a4b6
mov dword [ebp - 0x388], 0x2775
push 0x1006b80
jmp 0x104a4b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x24]
cmp eax, 0x2710
jbe 0x104a470
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x388], 0x277a
invalid
Function at 0x104f6b6
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
test byte [0x1074690], 1
push edi
mov esi, ecx
mov dword [ebp - 0x38c], ebx
jne 0x104f6fe
mov eax, dword [esi + 0x84]
or dword [0x1074690], 1
invalid
Function at 0x1057da6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebx
push edi
push 0x144
push 0
push esi
call sub.msvcrt.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and dword [esi], 0
add esp, 0xc
push 0x32
lea eax, [esi + 0xe0]
push eax
push 0x1010
mov ebx, 0x400
push ebx
call edi
lea eax, [esi + 0xe0]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
push 0x32
mov dword [esi + 0x14], eax
lea eax, [esi + 0xe0]
push eax
push 0x12
xor ecx, ecx
push ebx
mov word [eax], cx
call edi
lea eax, [esi + 0xe0]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
push 0x32
mov dword [esi + 4], eax
lea eax, [esi + 0x18]
push eax
push 0xe
push ebx
call edi
lea eax, [esi + 0x18]
push 0x32
mov dword [esi + 0xc], eax
lea eax, [esi + 0x7c]
push eax
push 0xf
push ebx
call edi
lea eax, [esi + 0x7c]
push 0x32
mov dword [esi + 0x10], eax
lea eax, [esi + 0xe0]
push eax
push 0x10
xor ecx, ecx
push ebx
mov word [eax], cx
call edi
lea edi, [esi + 0xe0]
movzx eax, word [edi]
xor ecx, ecx
cmp cx, ax
je 0x1057e87
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push 0x30
pop ecx
cmp cx, ax
je 0x1057e87
mov eax, dword [esi + 8]
imul eax, eax, 0xa
push edi
mov dword [esi + 8], eax
call dword [sym.imp.msvcrt.dll__wtoi]
add dword [esi + 8], eax
pop ecx
push edi
call ebx
push eax
call ebx
mov edi, eax
movzx eax, word [edi]
xor ecx, ecx
cmp cx, ax
jne 0x1057e59
pop edi
pop ebx

Function at 0x105864b
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
jne 0x105866e
xor edx, edx
jmp 0x105875e
push esi
push eax
push 0x103
lea eax, [ebp - 0x20c]
push eax
call fcn.01035831
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov esi, eax
pop ecx
xor eax, eax
pop ecx
test esi, esi
jne 0x10586a1
xor edx, edx
jmp 0x105875d
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
inc esi
inc esi
mov word [esi], ax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
jne 0x1058700
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10586de
push 0x57
pop eax
test eax, eax
jle 0x10586ea
and eax, 0xffff
or eax, 0x80070000
push eax
push 0x1009de0
push 2
call fcn.01055c8a
add esp, 0xc
xor eax, eax
xor edx, edx
jmp 0x105875c
mov eax, dword [ebp - 0x210]
push ebx
mov ebx, dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
test ebx, ebx
jne 0x1058753
test eax, eax
jne 0x1058753
mov word [esi - 2], ax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x1058753
mov eax, dword [ebp - 0x210]
mov ebx, dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov edx, dword [ebp - 0x218]
invalid