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

Disassembly:
push ebp
lea ebp, [esp - 0x1ac]
sub esp, 0x22c
mov eax, dword [0x10171b0]
push ebx
push esi
mov dword [ebp + 0x1a8], eax
mov eax, dword [ebp + 0x1b8]
xor esi, esi
push 0x20019
mov dword [eax], esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
mov ebx, eax
cmp ebx, esi
je 0x100d594
push edi
mov edi, 0x105
push edi
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100d576
lea eax, [ebp - 0x70]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d56b
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x70]
call fcn.0100bc67
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x1b4]
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jge 0x100d562
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x10026cc
push 0
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100d562
mov eax, dword [ebp - 0x78]
or dword [ebp - 0x6c], eax
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x68]
push edi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push ebx
call esi
test eax, eax
je 0x100d4fb
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp + 0x1b8]
push ebx
mov dword [ecx], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x1a8]
xor eax, eax
pop esi
inc eax
pop ebx
call fcn.010120eb
add ebp, 0x1ac
leave
ret 8

Function at 0x100d932
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x1001540
xor edi, edi
push edi
push edi
lea ecx, [ebp - 0x18]
call fcn.01004604
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.0100464e
push 1
mov esi, 0x2001f
push esi
push 2
call fcn.0100afc2
cmp eax, edi
mov ebx, dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [ebp - 4], eax
je 0x100d9a6
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push 0x10
push 0x1001e80
push edi
push eax
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x100d99d
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp - 4]
call fcn.0100c892
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
push esi
push 3
call fcn.0100afc2
mov esi, eax
cmp esi, edi
je 0x100d9e4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10
push 0x1001e58
push edi
push esi
mov dword [ebp - 8], 4
call ebx
test eax, eax
je 0x100d9dd
push 0xffffffffffffffff
push esi
call fcn.0100cb3b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x18]
call fcn.01004677
lea ecx, [ebp - 0x18]
call fcn.01004629
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100d9f9
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x10171b0]
push esi
push edi
push 0x1001540
push 0
push 0
lea ecx, [ebp - 0x80]
mov dword [ebp + 0x90], eax
call fcn.01004604
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.0100464e
mov esi, 0x2001f
push esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
mov edi, eax
test edi, edi
jne 0x100da4a
lea ecx, [ebp - 0x80]
call fcn.01004677
jmp 0x100da9c
push 0x81
lea eax, [ebp - 0x74]
push eax
push dword [ebp + 0x9c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0
push esi
lea eax, [ebp - 0x74]
push eax
push edi
call fcn.0100b163
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x100da8a
push eax
call esi
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
push edi
call fcn.0100bd26
push 0
call fcn.0100d5ae
lea ecx, [ebp - 0x80]
call fcn.01004677
push edi
call esi
lea ecx, [ebp - 0x80]
call fcn.01004629
mov ecx, dword [ebp + 0x90]
xor eax, eax
pop edi
inc eax
pop esi
call fcn.010120eb
add ebp, 0x94
leave
ret 4
Function at 0x100db40
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x10171b0]
push esi
push edi
xor edi, edi
push edi
mov esi, 0x20019
push esi
push 4
mov dword [ebp + 0x1ac], eax
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
call fcn.0100c0de
cmp eax, edi
mov dword [ebp - 0x80], eax
jne 0x100db82
xor eax, eax
jmp 0x100dc6f
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x6c]
push ecx
push esi
push edi
push dword [ebp + 0x1c0]
push eax
call ebx
test eax, eax
jne 0x100dca9
lea eax, [ebp - 0x68]
push eax
push esi
push edi
push dword [ebp + 0x1bc]
push dword [ebp - 0x6c]
call ebx
test eax, eax
jne 0x100dc9c
lea eax, [ebp - 0x64]
push eax
push esi
push edi
push dword [ebp + 0x1b8]
push dword [ebp - 0x68]
call ebx
test eax, eax
jne 0x100dc8f
push 0x104
lea eax, [ebp - 0x60]
push eax
push edi
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100dc51
lea eax, [ebp - 0x74]
push eax
push esi
push 0
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x64]
call ebx
test eax, eax
jne 0x100dc95
lea eax, [ebp + 0x1c0]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0x10
push 0x1001d9c
push 0
push dword [ebp - 0x74]
mov dword [ebp + 0x1c0], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
push dword [ebp - 0x74]
call edi
cmp dword [ebp - 0x78], 0
jne 0x100dc86
inc dword [ebp - 0x70]
push 0x104
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100dbed
push dword [ebp - 0x64]
call edi
push dword [ebp - 0x68]
call edi
push dword [ebp - 0x6c]
call edi
mov esi, dword [ebp - 0x7c]
push dword [ebp - 0x80]
call edi
mov eax, esi
pop ebx
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
call fcn.010120eb
add ebp, 0x1b0
leave
ret 0xc
mov dword [ebp - 0x7c], 1
jmp 0x100dc55
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x68]
call edi
jmp 0x100dca2
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x6c]
call edi
jmp 0x100dcaf
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x100dc67
Function at 0x100dcb3
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
or dword [ebp - 0x14], 0xffffffff
or dword [ebp - 0x10], 0xffffffff
push ebx
push esi
push edi
push 0x1001540
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], edi
call fcn.01004604
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.0100464e
call fcn.0100d932
push edi
mov esi, 0x2001f
push esi
push 2
call fcn.0100afc2
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x100deb8
push dword [ebp + 0x14]
push edi
push esi
push eax
call fcn.0100beb7
mov esi, eax
cmp esi, ebx
mov dword [ebp + 0x14], esi
je 0x100dead
cmp dword [ebp + 0x1c], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100de57
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push 0x1002028
push esi
call ebx
test eax, eax
jne 0x100dea0
and dword [ebp + 0x1c], 0
cmp dword [ebp + 0xc], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jle 0x100de10
mov edi, dword [ebp + 8]
add edi, 0x20c
lea eax, [ebp - 4]
push eax
push 0x2001f
lea eax, [edi - 0x20c]
push eax
push dword [ebp + 0x14]
call fcn.0100af39
test eax, eax
jne 0x100dea6
lea eax, [edi - 4]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x100ddab
test ecx, ecx
je 0x100dd92
mov dword [ebp - 0x14], ecx
push 4
push eax
push 4
push 0
push 0x1001e80
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100de99
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100ddd2
test eax, eax
je 0x100ddb9
mov dword [ebp - 0x10], eax
push 4
push edi
push 4
push 0
push 0x1001e70
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100de99
lea eax, [edi + 4]
cmp dword [eax], 0xffffffff
je 0x100ddf3
push 4
push eax
push 4
push 0
push 0x1001ecc
push dword [ebp - 4]
call ebx
test eax, eax
jne 0x100de99
push dword [ebp - 4]
call esi
inc dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
add edi, 0x238
cmp eax, dword [ebp + 0xc]
jl 0x100dd61
xor edi, edi
inc edi
push edi
push dword [ebp + 0x14]
call fcn.0100c737
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 8]
call fcn.0100c892
push dword [ebp + 0x14]
call esi
push dword [ebp - 8]
call esi
cmp dword [ebp + 0x18], 0
je 0x100de3e
push 0
call fcn.0100d5ae
lea ecx, [ebp - 0x24]
call fcn.01004677
lea ecx, [ebp - 0x24]
call fcn.01004629
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x18
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10
push 0x1002028
push 0
push esi
mov dword [ebp - 0x18], 4
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
test eax, eax
jne 0x100dd44
cmp dword [ebp - 0xc], eax
je 0x100dd44
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
jmp 0x100de3e
push dword [ebp - 4]
call esi
jmp 0x100dea6
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0x14]
call esi
jmp 0x100deb3
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 8]
call esi
xor edi, edi
jmp 0x100de3e
Function at 0x100debc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x6d8]
sub esp, 0x758
mov eax, dword [0x10171b0]
push esi
push edi
mov dword [ebp + 0x6d4], eax
lea eax, [ebp - 0x60]
push eax
push 0x100151c
push 1
xor esi, esi
push esi
push 0x10014fc
mov dword [ebp - 0x60], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
je 0x100defc
mov dword [ebp - 0x60], esi
push esi
push 0x20019
push 4
call fcn.0100afc2
cmp eax, esi
mov dword [ebp - 0x64], eax
je 0x100e015
cmp edi, esi
mov dword [ebp - 0x68], esi
jne 0x100e00c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push ebx
mov ebx, 0x103
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x68]
mov dword [ebp - 0x74], 0x100
push dword [ebp - 0x64]
call edi
inc dword [ebp - 0x68]
cmp eax, ebx
mov dword [ebp - 0x80], eax
je 0x100e00b
lea eax, [ebp - 0x70]
push eax
push 0x20019
push esi
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100e002
mov dword [ebp - 0x6c], esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x6c]
mov dword [ebp - 0x7c], 0x100
push dword [ebp - 0x70]
call edi
inc dword [ebp - 0x6c]
cmp eax, ebx
mov dword [ebp - 0x78], eax
je 0x100dff4
lea eax, [ebp - 0x5c]
push eax
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.0100434b
mov eax, dword [ebp - 0x60]
cmp eax, esi
je 0x100dfce
mov ecx, dword [eax]
lea edx, [ebp + 0x3a4]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
jge 0x100dff4
push 0x10018ec
push 0x197
lea eax, [ebp + 0x3a4]
push eax
call fcn.01006a77
test eax, eax
jl 0x100dff4
lea eax, [ebp + 0x3a4]
push eax
call fcn.0100b572
cmp dword [ebp - 0x78], esi
je 0x100df7c
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x80], esi
je 0x100df2b
pop ebx
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x60]
pop edi
cmp eax, esi
pop esi
je 0x100e024
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x1002480
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0100b221
mov ecx, dword [ebp + 0x6d4]
xor eax, eax
inc eax
call fcn.010120eb
add ebp, 0x6d8
leave
ret
Function at 0x100e6a6
Capabilities:
Query or enumerate registry key
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10171b0]
push ebx
push esi
mov dword [ebp + 0x98], eax
call fcn.0100d932
push 0x1001540
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x80]
call fcn.01004604
push 0xffffffffffffffff
lea ecx, [ebp - 0x80]
call fcn.0100464e
mov eax, dword [ebp + 0xb0]
mov ebx, 0x2001f
push ebx
mov dword [eax], esi
call sym.mobsync.dll_RegGetHandlerTopLevelKey
cmp eax, esi
mov dword [ebp - 0x70], eax
jne 0x100e708
lea ecx, [ebp - 0x80]
call fcn.01004677
jmp 0x100e7e1
push edi
push esi
push esi
push esi
push esi
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push esi
mov edi, 0x81
push eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x100e735
mov eax, dword [ebp + 0xb0]
mov dword [eax], 1
push edi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 0xa4]
mov dword [ebp + 0xb0], esi
call dword [sym.imp.ole32.dll_StringFromGUID2]
xor edi, edi
inc edi
push edi
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x70]
call fcn.0100b163
mov ebx, eax
cmp ebx, esi
je 0x100e7be
cmp dword [ebp + 0xa8], esi
mov dword [ebp + 0xb0], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x100e795
push dword [ebp + 0xa8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0xa8]
push 1
push esi
push esi
push ebx
call edi
push 4
lea eax, [ebp + 0xac]
push eax
push 4
push esi
push 0x10026cc
push ebx
call edi
push ebx
call fcn.0100bcb0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x70]
call fcn.0100bd26
call sym.mobsync.dll_RegSetUserDefaults
push esi
call fcn.0100d5ae
lea ecx, [ebp - 0x80]
call fcn.01004677
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0xb0]
pop edi
lea ecx, [ebp - 0x80]
call fcn.01004629
mov ecx, dword [ebp + 0x98]
mov eax, esi
pop esi
pop ebx
call fcn.010120eb
add ebp, 0x9c
leave
ret 0x10
Function at 0x100f4d4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push edi
lea ebx, [ecx + eax + 0x18]
jbe 0x100f5b6
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x100f551
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x100f5a1
push dword [esi + 0x34]
mov eax, dword [ebx - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push edi
push eax
call dword [esi + 0x1c]
test eax, eax
je 0x100f5c0
mov edx, dword [ebx - 4]
add edx, dword [ebp - 4]
mov ecx, edi
mov dword [ebx - 8], edx
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x100f5a1
mov ecx, dword [ebx + 4]
add ecx, eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.0100f4bc
test eax, eax
je 0x100f5c0
push dword [esi + 0x34]
mov eax, dword [ebx - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push dword [ebx]
push eax
call dword [esi + 0x1c]
test eax, eax
je 0x100f5c0
mov eax, dword [ebx - 4]
mov ecx, dword [ebx]
add eax, dword [ebp - 4]
mov esi, dword [ebx + 4]
add esi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov dword [ebx - 8], eax
mov eax, dword [esi]
movzx eax, word [eax + 6]
inc dword [ebp - 8]
add ebx, 0x28
cmp dword [ebp - 8], eax
jl 0x100f501
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10
xor eax, eax
jmp 0x100f5b9
Function at 0x10107d8
Capabilities:
Check for time delay via gettickcount
Query service status
Start service

Disassembly:
sub esp, 0x20
push ebp
push esi
push 1
xor ebp, ebp
push ebp
push ebp
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
cmp esi, ebp
jne 0x10107fa
pop esi
pop ebp
add esp, 0x20
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
push 0x14
push 0x1002160
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
mov edi, eax
call ebx
cmp edi, ebp
jne 0x1010826
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x1010846
push edi
call ebx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x18], 4
jne 0x1010857
push edi
call ebx
xor eax, eax
jmp 0x101090a
push ebp
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x1010874
push edi
call ebx
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
xor ebp, ebp
add esi, 0x15f90
inc ebp
mov dword [esp + 0x10], 0x435
lea eax, [esp + 0x14]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x10108f9
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x10108f1
cmp eax, 3
je 0x10108f1
cmp eax, 4
je 0x10108ec
cmp eax, 5
jbe 0x10108ba
cmp eax, 7
jbe 0x10108f1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, esi
jae 0x10108f1
mov eax, dword [esp + 0x2c]
push 0xa
xor edx, edx
pop ecx
div ecx
mov ecx, 0x3e8
cmp eax, ecx
jb 0x10108e1
mov ecx, 0x2710
cmp eax, ecx
jbe 0x10108e3
mov eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10108f3
and dword [esp + 0x10], 0
xor ebp, ebp
test ebp, ebp
jne 0x101088d
jmp 0x1010903
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
push edi
call ebx
mov eax, dword [esp + 0x10]
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
ret

Function at 0x10111ea
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10171b0]
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
mov dword [ebp - 4], eax
push edi
je 0x1011275
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x430
push dword [esi + 0x40]
call edi
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x210]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x1011240
xor eax, eax
jmp 0x1011278
lea eax, [ebp - 0x210]
push eax
push 0xff3
push dword [esi + 0x40]
call edi
push eax
call fcn.01010c85
lea eax, [ebp - 0x210]
push eax
push 0
push 0x478
push dword [esi + 0x40]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.010120eb
leave
ret
Function at 0x10120eb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10171b0]
jne 0x10120f4
ret
jmp 0x10120f9
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x10171b0]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x1017304]
test eax, eax
je 0x101211d
call eax
cmp dword [0x1017308], 0
je 0x1012164
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x1017308]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.010120eb
add ebp, 0x2a8
leave
ret
Function at 0x10121a1
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xb0
mov eax, dword [0x10171b0]
and word [ebp - 0x34], 0
push ebx
push esi
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
and dword [ebp - 0x40], 0
push 0x27
pop ecx
mov dword [ebp + 0x6c], eax
xor eax, eax
lea edi, [ebp - 0x32]
rep stosd dword es:[edi], eax
push 0x50
pop ebx
stosw word es:[edi], ax
push ebx
lea eax, [ebp - 0x34]
push eax
push 0x23
mov edi, 0x400
push edi
call esi
test eax, eax
je 0x1012275
xor eax, eax
cmp word [ebp - 0x34], 0x30
sete al
test eax, eax
mov dword [ebp - 0x38], eax
je 0x101221b
push ebx
lea eax, [ebp - 0x34]
push eax
push 0x1005
push edi
call esi
test eax, eax
je 0x1012275
xor eax, eax
cmp word [ebp - 0x34], 0x31
sete al
mov dword [ebp - 0x40], eax
push ebx
lea eax, [ebp - 0x34]
push eax
push 0x25
push edi
call esi
test eax, eax
je 0x1012275
xor eax, eax
cmp word [ebp - 0x34], 0x31
push ebx
sete al
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x34]
push eax
push 0x1e
push edi
call esi
xor esi, esi
cmp eax, esi
je 0x1012275
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [ebp + 0x7c]
xor ecx, ecx
cmp dword [ebp - 0x3c], esi
setne cl
add eax, ecx
mov ecx, dword [ebp - 0x38]
neg ecx
sbb ecx, ecx
and ecx, 3
lea eax, [eax + ecx + 4]
cmp eax, ebx
jbe 0x1012271
xor eax, eax
cmp eax, esi
jne 0x1012288
push dword [ebp + 0x7c]
push 0x100275c
push dword [ebp + 0x78]
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
jmp 0x10122f6
cmp dword [ebp - 0x38], esi
mov edi, dword [ebp + 0x78]
mov word [edi], si
je 0x10122ad
cmp dword [ebp - 0x40], esi
je 0x10122a5
push ebx
push 0x1002754
push edi
call dword [sym.imp.SHLWAPI.dll_StrCpyNW]
push ebx
mov ebx, 0x1002750
jmp 0x10122b3
push ebx
mov ebx, 0x100274c
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push ebx
push edi
call esi
cmp dword [ebp - 0x3c], 0
je 0x10122ca
push dword [ebp + 0x7c]
push ebx
push edi
call esi
push dword [ebp + 0x7c]
lea eax, [ebp - 0x34]
push eax
push edi
call esi
push dword [ebp + 0x7c]
push 0x1002744
push edi
call esi
cmp dword [ebp - 0x38], 0
je 0x10122f6
cmp dword [ebp - 0x40], 0
jne 0x10122f6
push dword [ebp + 0x7c]
push 0x100273c
push edi
call esi
mov ecx, dword [ebp + 0x6c]
pop edi
pop esi
pop ebx
call fcn.010120eb
add ebp, 0x70
leave
ret 8