joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419b0a
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00410233
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x419b42
xor eax, eax
jmp 0x419b6e
cmp esi, dword [ebp - 4]
je 0x419b6b
cmp dword [ebp + 0xc], 0
je 0x419b6b
push dword [edi + 0x9c]
call fcn.00419718
push dword [edi + 0x9c]
mov esi, eax
call fcn.0040b9fc
pop ecx
pop ecx
cmp esi, eax
je 0x419b3e
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x40892e
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.0040894b
add edx, edx
sub edx, edx
xor dword [eax], ebx
inc edx
inc ecx
inc eax
and edx, ecx
cmp eax, esi
jne fcn.0040892e
ret

Function at 0x418180
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x4181a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4181a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x418198
mov eax, 1
add ebx, ebx
jne 0x4181bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4181b0
jne 0x4181cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181b0
xor ecx, ecx
sub eax, 3
jb 0x4181e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x418252
mov ebp, eax
add ebx, ebx
jne 0x4181eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4181f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41821c
inc ecx
add ebx, ebx
jne 0x418208
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4181fd
jne 0x418219
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4181fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41823c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41822d
jmp 0x41819e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41823c
add edi, ecx
jmp 0x41819e
pop esi
mov edi, esi
mov ecx, 0x3b2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41825a
cmp byte [edi], 0
jne 0x41825a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x41825f
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x4182ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x180b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x18114]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41828c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x18118]
or eax, eax
je 0x4182c8
mov dword [ebx], eax
add ebx, 4
jmp 0x4182a9
call dword [esi + 0x1811c]
popal
jmp 0x40a630
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x10004cb2
Capabilities:
Create thread

Disassembly:
push 0x34
mov eax, 0x1001e015
call fcn.1001bb08
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xd0], 1
jne 0x10004d76
mov eax, dword [ebp + 8]
cmp dword [eax], 7
jne 0x10004d76
cmp dword [esi + 0x248], ebx
sete al
cmp al, bl
sete al
cmp al, bl
je 0x10004d76
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
xor eax, eax
push 0x10020b70
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
mov word [ebp - 0x40], ax
call fcn.100074a3
xor eax, eax
push str._self
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov word [ebp - 0x30], ax
call fcn.100074a3
mov eax, dword [esi + 0x248]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x10004d40
push 0x80004003
call fcn.10008ef7
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
push edx
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x40]
push edx
push eax
call dword [ecx + 0xd0]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x30]
push eax
call edi
lea eax, [ebp - 0x40]
push eax
call edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
mov eax, dword [esi + 0xd0]
cmp eax, 2
je 0x10004e53
cmp eax, 1
je 0x10004e53
mov eax, dword [esi + 0x244]
or dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ebx
call fcn.100063a6
push dword [ebp + 8]
lea ecx, [esi + 0xe4]
mov eax, dword [ecx]
push eax
mov dword [ebp - 4], 3
call fcn.100084b0
push dword [esi + 0xc0]
lea edi, [esi + 0x240]
cmp dword [edi], ebx
setne byte [ebp - 0xd]
call dword [sym.imp.kernel32.dll_SetEvent]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], ebx
je 0x10004de8
push dword [ebp - 0x1c]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp eax, 1
jne 0x10004e15
cmp dword [esi + 0x23c], ebx
jne 0x10004e15
push edi
push ebx
push esi
push 0x10004c38
push ebx
push ebx
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x23c], eax
jmp 0x10004e53
cmp eax, 0xa
jne 0x10004e47
lea edi, [esi + 0x23c]
cmp dword [edi], ebx
je 0x10004e47
lea eax, [ebp + 8]
push eax
push edi
push 1
push 0xffffffffffffffff
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
test eax, eax
jne 0x10004e53
push dword [edi]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [edi], ebx
jmp 0x10004e53
cmp byte [ebp - 0xd], bl
jne 0x10004e53
mov ecx, esi
call fcn.10008ef7
call fcn.1001bbe0
ret 4
Function at 0x10006690
Capabilities:
Hash data using fnv

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x811c9dc5
jmp 0x100066a9
movzx edx, word [ecx]
imul eax, eax, 0x1000193
xor eax, edx
add ecx, 2
cmp ecx, dword [esp + 8]
jne 0x1000669b
ret

Function at 0x1000b06c
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x1000b0ba
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x1000b0cb
push 0xd
pop eax
jmp 0x1000b0f5
push edi
xor edi, edi
push esi
call dword [sym.imp.kernel32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x1000b0ce
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8

Function at 0x1000b5af
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x100307e8]
xor eax, ebp
mov dword [ebp + 0x9c], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.10008ef7
mov ebx, eax
cmp ebx, esi
je 0x1000b622
lea ecx, [ebp - 0x74]
call fcn.10009ecc
mov eax, ebx
mov ecx, dword [ebp + 0x9c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ba56
add ebp, 0xa0
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000b63a
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000b5af
cmp eax, esi
jne 0x1000b66c
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x68], 0x100
call ebx
test eax, eax
je 0x1000b62a
lea ecx, [ebp - 0x74]
call fcn.10009ecc
push dword [ebp - 0x78]
mov ecx, edi
call fcn.1000af95
lea ecx, [ebp - 0x74]
mov esi, eax
call fcn.10009ecc
mov eax, esi
jmp 0x1000b608
Function at 0x10011126
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x10011130
lea esi, [ecx - 0x78]
jmp 0x10011132
xor esi, esi
lea eax, [esi + 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x50]
test esi, esi
je 0x1001114e
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8

Function at 0x10011201
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10011213
add eax, 0xffffff84
jmp 0x10011215
xor eax, eax
and dword [ebp + 8], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
push 7
pop ecx
lea edi, [ebp - 0x1c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp + 8]
push ecx
push 0x1002244c
lea ecx, [eax + 4]
call fcn.1000d84d
test eax, eax
js 0x1001127e
cmp dword [ebp + 8], 0
je 0x1001127b
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
xor edi, edi
call esi
test ax, ax
jns 0x10011253
inc edi
push 0x11
call esi
test ax, ax
jns 0x1001125f
add edi, 2
push 0x12
call esi
test ax, ax
jns 0x1001126b
add edi, 4
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
lea edx, [ebp - 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
jmp 0x1001127e
xor eax, eax
inc eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 8]
setne cl
mov esi, ecx
test eax, eax
je 0x10011294
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x10012b45
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [sym.imp.kernel32.dll_GetTickCount]
push esi
push edi
call ebx
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x1c], ecx
jg 0x10012b77
jl 0x10012b67
cmp dword [ebp + 0x18], ecx
jae 0x10012b77
mov dword [ebp - 8], 1
mov dword [ebp - 4], 0x14
jmp 0x10012b8f
push 0x14
mov dword [ebp - 8], ecx
pop eax
cmp dword [ebp + 0x1c], ecx
jg 0x10012b8c
jl 0x10012b89
cmp dword [ebp + 0x18], eax
jae 0x10012b8c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp + 0x10]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10012bf4
xor edi, edi
cmp byte [ebp + 0x20], 0
mov esi, 0xf80001
je 0x10012bb4
mov esi, 0x4ff0001
push esi
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x10012be2
lea eax, [ebp - 0x28]
push eax
inc edi
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp edi, 0x64
jl 0x10012bb4
cmp dword [ebp - 8], 0
jne 0x10012b8f
call ebx
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0xc]
cmp eax, ecx
jb 0x10012b8f
pop edi
pop esi
pop ebx
leave
ret 0x1c
Function at 0x100138c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x100307e8]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
mov ebx, dword [ebp + 0x798]
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x794]
push 0x3ff
lea eax, [ebp + 0x389]
push 0
push eax
mov byte [ebp + 0x388], 0
call sub.msvcr100.dll_memset
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov edi, 0x400
lea eax, [ebp + 0x388]
push edi
push eax
call dword [sym.imp.msvcr100.dll_sprintf_s]
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x388]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1001395d
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
jmp 0x100139a0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x10023c4a
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x10013987
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100139a0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push ebx
call dword [sym.imp.msvcr100.dll__mbscmp]
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001ba56
add ebp, 0x78c
leave
ret

Function at 0x10013b9c
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x10013bbd
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x10013bbd
inc esi
mov eax, esi
pop esi
ret

Function at 0x1001460e
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x100307e8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x1001eac9
call fcn.1001bb3b
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x10014668
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.100178de
pop ecx
pop ecx
push ebx
push edi
call fcn.10008ef7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10006d43
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10014685
call fcn.100060e0
jmp 0x10014687
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x100146d3
call fcn.10007f79
jmp 0x100146d3
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001ba56
add ebp, 0x20c
leave
ret
Function at 0x100146fd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x100307e8]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0xc
mov eax, 0x1001eaf9
call fcn.1001bb3b
mov esi, dword [ebp + 0x214]
xor ebx, ebx
lea eax, [ebp]
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
cmp edi, ebx
jge 0x10014757
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.100178de
pop ecx
pop ecx
push ebx
push edi
call fcn.10008ef7
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10006d43
mov ecx, dword [eax]
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x10014774
call fcn.100060e0
jmp 0x10014776
xor eax, eax
push 0x104
push eax
push dword [ebp + 0x218]
push esi
call dword [sym.imp.msvcr100.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp ecx, ebx
je 0x100147c2
call fcn.10007f79
jmp 0x100147c2
xor eax, eax
cmp edi, ebx
setge al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1001ba56
add ebp, 0x20c
leave
ret

Function at 0x10014eb7
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x1001eb59
call fcn.1001bb3b
mov esi, dword [ebp + 8]
xor eax, eax
xor edi, edi
xor ebx, ebx
mov word [esi], ax
mov dword [ebp - 4], edi
call fcn.10008ef7
test eax, eax
je 0x10014ee2
call fcn.10014ea8
mov ebx, eax
push 0x104
push esi
push ebx
push edi
push 0x1002051c
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
cmp esi, edi
jge 0x10014f3d
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.100178de
pop ecx
pop ecx
push edi
push esi
call fcn.10008ef7
mov ecx, dword [ebp - 0x18]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x14], esi
call fcn.10006f58
push eax
push esi
push 0x10023e3c
call fcn.100178de
or dword [ebp - 4], 0xffffffff
add esp, 0xc
mov eax, 0x10014f36
ret
cmp ebx, edi
je 0x10014f48
push ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10014ff9
push dword [ebp + 8]
mov dword [ebp - 4], 2
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10014fa5
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10014f01
or dword [ebp - 4], 0xffffffff
cmp esi, edi
jge 0x10014ff9
push 1
push 0x1a
push dword [ebp + 8]
mov dword [ebp - 4], 4
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
cmp esi, edi
jge 0x10014ff9
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10014f01
mov eax, esi
call fcn.1001bbe0
ret
Function at 0x100152a6
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
xor ebx, ebx
call edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
and al, 1
cmp al, 1
sete cl
push ebx
push ecx
push dword [esp + 0x48]
mov dword [esp + 0x40], ecx
push dword [esp + 0x48]
call dword [sym.imp.kernel32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x10015309
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x100152f5
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push str.WaitForMultipleObjects__08x_
call fcn.100178de
pop ecx
pop ecx
jmp 0x100153da
cmp eax, 0x102
jne 0x100153d4
push 0x4bf
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, 0xffffffff
jne 0x10015359
call dword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jle 0x10015348
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
push ebx
push str.MsgWaitForMultipleObjects__08x_
call fcn.100178de
pop ecx
pop ecx
jmp 0x100153c3
cmp eax, 0x102
je 0x100153cd
cmp dword [esp + 0x3c], eax
jne 0x100153d4
call edi
mov ebp, eax
mov esi, ebp
sub esi, dword [esp + 0x10]
jmp 0x1001538d
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
call edi
mov ebp, eax
mov esi, ebp
sub esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x38]
ja 0x100153a5
push 1
xor eax, eax
push eax
push eax
push eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x10015372
jmp 0x100153aa
mov ebx, 0x80010115
test ebx, ebx
js 0x100153da
cmp esi, dword [esp + 0x38]
ja 0x100153cd
cmp dword [esp + 0x38], 0xffffffff
je 0x100153bf
sub dword [esp + 0x38], esi
mov dword [esp + 0x10], ebp
test ebx, ebx
jns 0x10015314
jmp 0x100153da
mov ebx, 0x80010115
jmp 0x100153da
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x20
ret

Function at 0x10015707
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
lea eax, [esi + 0xc]
push eax
push 0
push esi
push 0x10015298
push 0
push 0
call dword [sym.imp.msvcr100.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 8], eax
pop esi
test eax, eax
jne 0x10015748
call dword [sym.imp.msvcr100.dll__errno]
mov eax, dword [eax]
mov dword [ebp - 4], eax
push 0x1002a574
lea eax, [ebp - 4]
push eax
call sub.msvcr100.dll__CxxThrowException
leave
ret
Function at 0x10015960
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x179c]
mov eax, 0x181c
call fcn.1001be50
mov eax, dword [0x100307e8]
xor eax, ebp
mov dword [ebp + 0x1798], eax
mov eax, dword [ebp + 0x17a4]
push ebx
push esi
push edi
xor ebx, ebx
mov edi, 0x7ff
push edi
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0xf99]
push ebx
push eax
mov dword [ebp - 0x70], ebx
mov byte [ebp + 0xf98], bl
call sub.msvcr100.dll_memset
push edi
lea eax, [ebp - 0x67]
push ebx
push eax
mov byte [ebp - 0x68], bl
call sub.msvcr100.dll_memset
add esp, 0x18
lea eax, [ebp - 0x7c]
push eax
push 0x20019
push ebx
push 0x10024ad8
lea esi, [edi + 1]
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10015ac0
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
push ebx
jmp 0x10015aaf
lea eax, [ebp + 0xf98]
push eax
push 0x10024b04
push 0x10024b30
lea eax, [ebp - 0x68]
push esi
push eax
call dword [sym.imp.msvcr100.dll_sprintf_s]
add esp, 0x14
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x68]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10015a97
push edi
lea eax, [ebp + 0x799]
push ebx
push eax
mov byte [ebp + 0x798], bl
call sub.msvcr100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x798]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x10024b38
push dword [ebp - 0x78]
mov dword [ebp - 0x6c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10015a97
cmp dword [ebp - 0x6c], ebx
jbe 0x10015a97
mov eax, dword [ebp + 0x17a8]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x80]
push eax
push ebx
push 0x10024b44
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
inc dword [ebp - 0x70]
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0xf98]
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x6c], esi
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x100159f7
mov eax, dword [ebp - 0x74]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10015ac6
sub eax, edx
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp + 0x1798]
pop edi
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.1001ba56
add ebp, 0x179c
leave
ret