joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448398
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x448550
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
je 0x4483f9
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x44856c
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x448466
xor eax, eax
push ebp
push 0x44845f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x448448
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x44858c
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x448466
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.dll_GetThreadLocale
push eax
call sub.KERNEL32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x448547
cmp byte [ebp - 0xd], 0
jne 0x4484a8
cmp byte [ebp - 0x12], 0
je 0x448547
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4484c1
dec ebx
cmp byte [ebx], 0x2e
je 0x4484d0
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4484c0
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x448547
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4484fd
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x448547
cmp byte [ebp - 0xd], 0
je 0x448547
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x448547
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448944
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x4489f1
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x46206c], 1
jae 0x4489e3
xor eax, eax
mov dword [0x461c94], eax
xor eax, eax
mov dword [0x461c9c], eax
xor eax, eax
mov dword [0x461ca0], eax
mov byte [0x461ca6], 2
mov byte [0x461ca7], 2
mov byte [0x461ca8], 3
mov word [0x462044], 0
mov word [0x462054], 1
call fcn.00446a78
test al, al
je 0x4489ac
call fcn.00446aa8
call fcn.00446b6c
mov eax, 0x461cac
mov edx, 0x4489fc
call fcn.004446ce
mov eax, 0x461e78
mov edx, 0x4489fc
call fcn.004446ce
call sub.KERNEL32.dll_GetCommandLineA
mov dword [0x461c8c], eax
call fcn.004453a8
mov dword [0x461c88], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4489f8
ret
Function at 0x44a434
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0044aa24
test byte [ebp + 0xd], 0xc0
jne 0x44a458
mov eax, dword [0x45d894]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x44a465
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x44a492
je 0x44a4a4
sub ecx, 0x100
je 0x44a4b2
sub ecx, 0x100
je 0x44a4b9
sub ecx, 0x100
je 0x44a4ab
jmp 0x44a4c0
sub ecx, 0x600
je 0x44a4b9
sub ecx, 0x100
je 0x44a4a4
jmp 0x44a4c0
mov edi, 1
jmp 0x44a4c5
mov edi, 2
jmp 0x44a4c5
mov edi, 4
jmp 0x44a4c5
mov edi, 5
jmp 0x44a4c5
mov edi, 3
test byte [ebp + 0xd], 1
je 0x44a4ec
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x45d310]
test al, 0x80
je 0x44a4e5
mov ebx, 0x80
jmp 0x44a4fe
mov ebx, 1
jmp 0x44a4fe
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.dll_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x44a4fe
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x44a510
je 0x44a519
dec eax
je 0x44a522
jmp 0x44a52b
mov dword [ebp - 4], 0x80000000
jmp 0x44a53a
mov dword [ebp - 4], 0x40000000
jmp 0x44a53a
mov dword [ebp - 4], 0xc0000000
jmp 0x44a53a
push 1
call fcn.0044ade4
pop ecx
mov ebx, eax
jmp 0x44a626
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x44a556
sub eax, 0x10
je 0x44a55d
sub eax, 0x10
je 0x44a566
sub eax, 0x10
je 0x44a56f
jmp 0x44a56f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x44a576
mov dword [ebp - 8], 1
jmp 0x44a576
mov dword [ebp - 8], 2
jmp 0x44a576
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x44a5df
call sub.KERNEL32.dll_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x44a5d4
test byte [ebp + 0xd], 1
mov ebx, 0x50
jne 0x44a5d4
add ebx, 0xffffffb2
push ebx
call fcn.0044ade4
pop ecx
mov ebx, eax
jmp 0x44a626
mov edi, esi
push edi
call fcn.0044a398
pop ecx
test eax, eax
je 0x44a5f3
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x44a5ff
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0044ab24
add esp, 8
mov ebx, eax
inc eax
jne 0x44a626
push 4
call fcn.0044ade4
pop ecx
push esi
call sub.KERNEL32.dll_CloseHandle
call fcn.0044aa58
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e88c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
cmp dword [0x45e680], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44e944
cmp byte [0x455293], 0
je 0x44e8fe
push 0x50
lea eax, [ebp - 0x54]
push eax
push 0
call sub.KERNEL32.dll_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x54]
push edx
call fcn.0044e7d8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44e8e7
push 0x3a
lea edx, [ebp - 0x54]
push edx
call fcn.0044e7d8
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44e8e7
lea ebx, [ebp - 0x54]
jmp 0x44e8e8
inc ebx
call fcn.0044e844
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.dll_MessageBoxA
jmp 0x44e965
push 0xfffffffffffffff4
call sub.KERNEL32.dll_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x45e684
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00449294
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.dll_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45e687
push ebx
call sub.KERNEL32.dll_WriteFile
jmp 0x44e965
cmp dword [0x45e680], 0xffffffff
je 0x44e965
mov eax, dword [0x45e680]
test eax, eax
je 0x44e965
cmp byte [eax], 0
je 0x44e965
push esi
push eax
call fcn.0044e9f4
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100045d8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
sub eax, edi
je 0x10004648
sub eax, 1
jne 0x10004669
mov edx, str.APPMOND_dll_attach
mov ecx, 0x10093fd0
call fcn.10003347
push eax
call fcn.100034f5
mov eax, dword [0x10094f6c]
pop ecx
mov ecx, eax
inc eax
mov dword [0x10094f6c], eax
test ecx, ecx
jne 0x10004669
push esi
call fcn.1000e2a0
mov ecx, eax
call fcn.100129cf
call fcn.1001232f
mov esi, eax
lea ecx, [esi + 8]
push ecx
push edi
push esi
push 0x1001243c
push edi
push edi
call fcn.1003dd85
add esp, 0x18
mov dword [esi + 4], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
jmp 0x10004669
sub dword [0x10094f6c], 1
jne 0x10004669
call fcn.1001232f
mov ecx, eax
call fcn.10012392
call fcn.1000e2a0
mov ecx, eax
call fcn.1001293d
xor eax, eax
inc eax
pop edi
pop ebp
ret 0xc

Function at 0x10004f62
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
test eax, eax
jg 0x10004f86
jl 0x10004f7d
test ebx, ebx
jne 0x10004f86
xor eax, eax
xor edx, edx
jmp 0x10005043
cmp dword [esi + 0x38], 0
je 0x10004f9b
push eax
push ebx
push dword [ebp + 8]
call fcn.1000550c
jmp 0x10005043
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x10004fde
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x10004fde
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [ebp + 8]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.100367b0
mov ecx, dword [ebp - 4]
add edi, esi
mov dword [ebp + 8], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x10004fe4
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [esi + 0x4c], 0
je 0x10005038
mov ecx, esi
call fcn.100059ff
mov ecx, dword [ebp + 8]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x10005023
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.1003d4a8
mov ecx, dword [ebp + 8]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp + 8], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x10005038
jmp 0x10004ff6
test edx, edx
je 0x10005038
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.1003d4a8
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10006d8f
Capabilities:
Enumerate processes

Disassembly:
push 0x244
mov eax, 0x1005a7e2
call fcn.10035a7d
mov edi, ecx
mov dword [ebp - 0x240], edi
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x248], esi
cmp esi, 0xffffffff
jne 0x10006dc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10006e90
push 0x228
lea eax, [ebp - 0x238]
push ebx
push eax
call fcn.10036d40
add esp, 0xc
mov dword [ebp - 0x23c], 0x22c
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10006e7f
cmp dword [edi + 4], 0x7432d6
mov eax, dword [edi]
mov dword [ebp - 0x244], eax
je 0x10006e96
mov dword [ebp - 0x250], edi
mov dword [ebp - 4], ebx
push 0x234
mov dword [ebp - 0x24c], ebx
call fcn.10034eb8
mov edx, eax
lea esi, [ebp - 0x23c]
pop ecx
mov ecx, 0x8b
lea edi, [edx + 8]
rep movsd dword es:[edi], dword [esi]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x244]
mov edi, dword [ebp - 0x240]
mov esi, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ebx
inc dword [edi + 4]
mov eax, dword [ecx + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
mov dword [ecx + 4], edx
mov dword [eax], edx
lea eax, [ebp - 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10006dfe
jmp 0x10006e87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.10035a2c
ret
push str.list_too_long
call fcn.1002161e
int3

Function at 0x10008acd
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10092080]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
mov esi, 0x7fffffff
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
js 0x10008b68
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x118]
cmp ecx, 5
jne 0x10008b1a
cmp eax, 1
jb 0x10008b1c
cmp ecx, 5
jae 0x10008b20
xor esi, esi
jmp 0x10008b68
jne 0x10008b34
cmp eax, 1
jne 0x10008b2b
push 0x33
jmp 0x10008b67
cmp eax, 2
jne 0x10008b68
push 0x34
jmp 0x10008b67
cmp ecx, 6
jne 0x10008b5c
test eax, eax
jne 0x10008b41
push 0x3c
jmp 0x10008b67
cmp eax, 1
jne 0x10008b4a
push 0x3d
jmp 0x10008b67
cmp eax, 2
jne 0x10008b53
push 0x3e
jmp 0x10008b67
cmp eax, 3
jne 0x10008b68
push 0x3f
jmp 0x10008b67
cmp ecx, 0xa
jne 0x10008b68
test eax, eax
jne 0x10008b68
push 0x64
pop esi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10034eaa
leave
ret

Function at 0x1000b092
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x1005ad91
call fcn.10035a4a
mov esi, ecx
push 8
xor ebx, ebx
call fcn.10034eb8
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov edx, dword [edx]
mov dword [eax], edx
mov dword [eax + 4], ecx
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x1000b6bf
push ebx
push ebx
call fcn.1003dd85
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x1000b0e1
mov eax, esi
call fcn.10035a18
ret 8
push 6
mov dword [edi], ebx
call fcn.1002256f
int3
Function at 0x1000c9ad
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0x20
mov eax, 0x1005b0a3
call fcn.10035a7d
mov ebx, ecx
mov eax, dword fs:[0x2c]
mov edi, 0x100951c8
mov ecx, dword [0x10094790]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100951c4]
cmp eax, dword [ecx + 4]
jle 0x1000ca1e
push 0x100951c4
call fcn.100352bd
cmp dword [0x100951c4], 0xffffffff
pop ecx
jne 0x1000ca1e
and dword [ebp - 4], 0
mov ecx, edi
push 0x1008897c
call fcn.100032c7
push 0x1005df61
call fcn.10035223
or dword [ebp - 4], 0xffffffff
mov dword [esp], 0x100951c4
call fcn.1003526c
pop ecx
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x1000ca28
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1000ca99
cmp dword [0x100951dc], 7
mov ecx, esi
cmova edi, dword [0x100951c8]
cmp dword [esi + 0x14], 7
jbe 0x1000ca4c
mov ecx, dword [esi]
push dword [0x100951d8]
mov edx, dword [esi + 0x10]
push edi
push ecx
call fcn.1000dc03
add esp, 0xc
cmp eax, 0xffffffff
je 0x1000ca88
push eax
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.10009686
push eax
mov ecx, ebx
mov dword [ebp - 4], 1
call fcn.1000c9ad
lea ecx, [ebp - 0x2c]
call fcn.10002975
cmp dword [esi + 0x14], 7
jbe 0x1000ca90
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.10035a2c
ret 4

Function at 0x1000dfa6
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x1000dfc9
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x1000dfb7
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x1000f0e8
Capabilities:
Print debug messages

Disassembly:
push 0x34
mov eax, 0x1005b3ce
call fcn.10035a7d
mov esi, ecx
mov edi, dword [ebp + 0x14]
lea eax, [esi + 0x30]
lea ecx, [eax + 4]
mov dword [ebp - 0x3c], eax
add eax, 4
mov dword [ebp - 0x40], vtable.AutoLock.0
push eax
mov dword [ebp - 0x38], ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
lea ecx, [esi + 0x4c]
call fcn.1000fa52
mov eax, dword [ebp - 0x30]
cmp eax, dword [esi + 0x50]
je 0x1000f2b3
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1000f2b3
mov ecx, dword [ebp + 0xc]
push 1
sub ecx, ebx
pop ebx
je 0x1000f235
dec ecx
sub ecx, ebx
je 0x1000f209
sub ecx, ebx
je 0x1000f1ef
sub ecx, ebx
je 0x1000f1b5
sub ecx, ebx
je 0x1000f1ab
sub ecx, 3
je 0x1000f18d
dec ecx
sub ecx, ebx
jne 0x1000f2b3
push edi
lea ecx, [esi + 0x134]
call fcn.1000d409
call fcn.10010082
push edi
push 0xa
jmp 0x1000f195
call fcn.10010082
push edi
push 8
push dword [ebp + 8]
mov ecx, eax
call fcn.1000b825
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x1000f2b3
call fcn.10010082
push edi
push 5
jmp 0x1000f195
cmp byte [esi], 0
je 0x1000f2b3
mov eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10089380]
movsd qword [ebp - 0x34], xmm0
movsd xmm0, qword [esi + 0x170]
call fcn.1000b7b7
movsd xmm3, qword [ebp - 0x34]
push ebx
jmp 0x1000f229
cmp byte [esi], 0
je 0x1000f2b3
movsd xmm0, qword [esi + 0x170]
call fcn.1000b7b7
push 5
jmp 0x1000f221
cmp byte [esi], 0
je 0x1000f2b3
movsd xmm0, qword [esi + 0x170]
call fcn.1000b7b7
push 4
movsd xmm3, qword [0x100892e8]
movaps xmm2, xmm0
mov ecx, esi
call fcn.1000c20e
jmp 0x1000f2b3
cmp byte [esi], 0
je 0x1000f2b3
mov eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10089380]
movsd qword [ebp - 0x34], xmm0
movsd xmm0, qword [esi + 0x170]
call fcn.1000b7b7
movsd xmm3, qword [ebp - 0x34]
xor eax, eax
push eax
movaps xmm2, xmm0
mov ecx, esi
call fcn.1000c20e
test edi, edi
je 0x1000f2b3
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x1000f27e
sub ecx, edx
sar ecx, 1
je 0x1000f2b3
push edi
lea ecx, [ebp - 0x2c]
call fcn.100032c7
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], bl
push eax
lea ecx, [esi + 0x128]
call fcn.100070cc
lea ecx, [ebp - 0x2c]
call fcn.10002975
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
call fcn.10035a2c
ret 0x10

Function at 0x1000fa85
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [esi + ecx]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x1000fa93
pop esi
mov eax, edx
pop ebp
ret 4
Function at 0x1000ff36
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, edx
push 0xf003f
mov dword [esp + 0x20], eax
call fcn.1000fed5
mov esi, dword [ebp + 8]
mov ebx, eax
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0x14]
mov dword [esp + 0x14], eax
pop ecx
test ebx, ebx
je 0x1000ffbe
cmp dword [eax], 7
mov edx, edi
jbe 0x1000ff73
mov edx, dword [edi]
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x1000ff7d
mov ecx, dword [esi]
lea eax, [edi + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
add eax, eax
push eax
push edx
push 1
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, str.APPMOND_:_setting_registry_whitelist_failed
test eax, eax
je 0x1000ffb2
mov edx, ebx
mov ecx, 0x10093fd0
call fcn.10003347
push eax
call fcn.100034f5
pop ecx
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000ffe4
mov ebx, str.APPMOND_:_setting_registry_whitelist_failed
mov ecx, 0x10093fd0
mov edx, ebx
call fcn.10003347
push eax
call fcn.100034f5
lea eax, [edi + 0x14]
mov dword [esp + 0x14], eax
lea eax, [edi + 0x10]
pop ecx
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x1c]
push 0xf013f
call fcn.1000fed5
pop ecx
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x10010049
mov eax, dword [esp + 0x10]
cmp dword [eax], 7
jbe 0x10010008
mov edi, dword [edi]
cmp dword [esi + 0x14], 7
jbe 0x10010010
mov esi, dword [esi]
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
add eax, eax
push eax
push edi
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1001003d
mov edx, ebx
mov ecx, 0x10093fd0
call fcn.10003347
push eax
call fcn.100034f5
pop ecx
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1001005c
mov edx, ebx
mov ecx, 0x10093fd0
call fcn.10003347
push eax
call fcn.100034f5
pop ecx
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001244e
Capabilities:
Connect pipe
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5030
call fcn.10036100
mov eax, dword [0x10092080]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x5024], 0
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x10095180
inc edi
mov eax, edi
xchg dword [esi], eax
mov eax, dword [0x10095180]
push 3
pop esi
cmp eax, edi
jne 0x1001254a
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea eax, [ebp - 0x5020]
push eax
push edi
push str.S:_ML__NW___LW_D:_A__0x12019f___WD_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorA]
mov eax, dword [ebp - 0x5020]
mov dword [ebp - 0x502c], eax
lea eax, [ebp - 0x5030]
push eax
push 0
mov eax, 0x200c
mov dword [ebp - 0x5030], 0xc
push eax
push eax
push 0xff
push 6
push esi
push str..pipeAppMonD_DataWindow
mov dword [ebp - 0x5028], edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100125ae
push 0
push edi
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1001250d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x1001250d
push edi
jmp 0x10012538
mov eax, dword [0x10095180]
cmp eax, 1
jne 0x100125a9
lea eax, [ebp - 0x5024]
push eax
xor eax, eax
push eax
push edi
push 0x10012607
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x10012562
push eax
call ebx
mov eax, dword [0x10095180]
xor edi, edi
inc edi
cmp eax, edi
je 0x10012491
mov eax, 0x10095180
xchg dword [eax], esi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10034eaa
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x501c]
call fcn.100127ab
cmp dword [eax + 0x14], 7
jbe 0x1001257d
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x5004]
push str.CreateThread_failed:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x501c]
call fcn.10002975
lea ecx, [ebp - 0x5004]
push ecx
push 0xfffffffffffffff4
jmp 0x100125f3
push edi
call ebx
jmp 0x1001254a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x501c]
call fcn.100127ab
cmp dword [eax + 0x14], 7
jbe 0x100125c9
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x5004]
push str.CreateNamedPipe_failed:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x501c]
call fcn.10002975
lea eax, [ebp - 0x5004]
push eax
push 0xfffffffffffffff5
call fcn.10010082
mov ecx, eax
call fcn.1000e08d
or eax, 0xffffffff
jmp 0x10012553
Function at 0x100129cf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea esi, [edi + 0x28]
mov dword [edi + 0x24], ebx
push esi
push ebx
push edi
push 0x10012a39
push ebx
push ebx
mov dword [esi], ebx
call fcn.1003dd85
add esp, 0x18
mov dword [edi + 0x24], eax
test eax, eax
je 0x10012a32
cmp dword [esi], ebx
je 0x10012a32
mov dword [ebp - 4], ebx
push 0xa
lea ebx, [edi + 8]
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [edi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
sete bl
je 0x10012a32
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, 0xa
jb 0x10012a02
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x10034997
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.100445d2
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100349d6
sub eax, 1
je 0x100349d1
sub eax, 1
je 0x100349cd
xor eax, eax
leave
ret
push 3
jmp 0x100349d8
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100458a7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x100458e6
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100458e6
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100458e6
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x100458e6
cmp dword [ecx + 0x74], 0xe
jbe 0x100458e6
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret