joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e9a7
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x66939e
call fcn.006313fc
sub esp, 0x458
movzx eax, byte [0x75dcc0]
push ebx
push ebp
push esi
push edi
push dword [esp + 0x47c]
cmp eax, 5
lea eax, [esp + 0x2c]
push str.SoftwareClasses_s
sbb esi, esi
neg esi
push eax
add esi, reloc.WS2_32.dll_accept
call fcn.0047224d
add esp, 0xc
mov eax, dword [esp + 0x28]
xor edi, edi
push 8
pop ebx
mov dword [esp + 0x470], edi
cmp dword [esp + 0x3c], ebx
jae 0x42ea02
lea eax, [esp + 0x28]
mov ebp, 0x104
lea ecx, [esp + 0x58]
push ebp
push ecx
push edi
push eax
push esi
call fcn.00481e0a
test al, al
je 0x42eb89
push ebp
lea eax, [esp + 0x264]
push eax
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
mov ebp, 0x689bac
lea eax, [esp + 0x260]
push ebp
push eax
call fcn.0045f39d
test eax, eax
jne 0x42eb89
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x3c], ebx
jae 0x42ea5a
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004817ec
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], ax
push ebp
push dword [esp + 0x480]
lea eax, [esp + 0x48]
mov byte [esp + 0x478], 1
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts_sOpenWithProgids_s
push eax
call fcn.0047224d
add esp, 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.0044dbe6
push edi
push 1
lea ecx, [esp + 0x48]
call fcn.0042341c
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebx
jae 0x42eaba
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004817ec
push dword [esp + 0x480]
lea eax, [esp + 0x44]
push str.SoftwareClassesMIMEDatabaseContent_Type_s
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.0044dbe6
push edi
push 1
lea ecx, [esp + 0x48]
call fcn.0042341c
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebx
jae 0x42eafe
lea eax, [esp + 0x10]
push eax
push esi
call fcn.004817ec
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
cmp esi, ecx
je 0x42eb23
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebx
jae 0x42eb1c
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.004817ec
push dword [esp + 0x480]
lea eax, [esp + 0x44]
push str.MIMEDatabaseContent_Type_s
push eax
call fcn.0047224d
add esp, 0xc
lea ecx, [esp + 0x10]
push eax
call fcn.0044dbe6
push edi
push 1
lea ecx, [esp + 0x48]
call fcn.0042341c
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], ebx
jae 0x42eb60
lea eax, [esp + 0x10]
push eax
push SysReAllocString
call fcn.004817ec
push edi
push edi
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push edi
push 1
lea ecx, [esp + 0x18]
call fcn.0042341c
push edi
push 1
lea ecx, [esp + 0x30]
call fcn.0042341c
mov ecx, dword [esp + 0x468]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x4324e0
Capabilities:
Create pipe
Read file on windows
Read pipe

Disassembly:
mov eax, 0x6696ed
call fcn.006313fc
sub esp, 0x38
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [esp + 0x20]
push ebx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ebx
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x58], ebx
push eax
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [esp + 0xc]
push 2
push ebx
push ebx
push eax
call esi
push eax
push dword [esp + 0x28]
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call ebx
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x1c]
push 0
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.0059852f
mov edi, dword [esp + 0x58]
xor ecx, ecx
and dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], cx
and dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], 1
test al, al
je 0x432693
push ebp
push 0x104
call fcn.0045d923
xor ecx, ecx
mov ebp, eax
push ecx
lea eax, [esp + 0x64]
mov byte [esp + 0x68], cl
push eax
push ecx
push ecx
push ecx
push dword [esp + 0x24]
mov esi, ecx
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
je 0x432649
mov bl, byte [esp + 0x64]
cmp dword [esp + 0x60], 0
jne 0x4325e8
test bl, bl
jne 0x432643
push 0xc8
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x43262a
inc bl
jmp 0x43262a
push 0
lea eax, [esp + 0x64]
push eax
mov eax, 0x103
sub eax, esi
push eax
lea eax, [esi + ebp]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x432611
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x432628
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x432643
cmp esi, 0x103
je 0x432643
mov eax, dword [esp + 0x60]
add esi, eax
xor ecx, ecx
lea eax, [esp + 0x60]
push ecx
push eax
push ecx
push ecx
push ecx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x4325c3
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebp
lea eax, [esp + 0x34]
mov byte [esi + ebp], 0
push eax
call fcn.0047a1e1
push eax
mov ecx, edi
call fcn.0044dbe6
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.0042341c
push 1
push ebp
call fcn.0045d916
cmp dword [esp + 0x6c], 0
pop ebp
je 0x43268b
push dword [esp + 0x68]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [esp + 0x10]
call ebx
jmp 0x43269e
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x43269e
or dword [ecx], 0xffffffff
push dword [esp + 0xc]
call ebx
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x14
Function at 0x433184
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
jmp 0x433208
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 8]
push eax
push 0x7530
push 1
push 0x40000000
push 1
push 0x16
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x4331df
push dword [ebp - 4]
push eax
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x433227
test edi, edi
je 0x433227
push dword [ebp - 4]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x433208
push 0x7530
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x746e74
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x43318d
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push edi
push esi
push str.TerminateSessionClientInstances_failed__hp:0x_X_result:_d_n
call fcn.00409edb
add esp, 0xc
xor al, al
jmp 0x433221
Function at 0x433bc9
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x680128
call fcn.006313fc
sub esp, 0x24c
cmp byte [0x7637b6], 0
push esi
push edi
jne 0x433ca5
test byte [0x75faa8], 2
jne 0x433ca5
cmp byte [ebp + 8], 0
je 0x433c91
push ebx
push 0x22
pop esi
push 0x104
lea eax, [ebp - 0x256]
mov word [ebp - 0x258], si
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor ecx, ecx
mov word [ebp + eax*2 - 0x254], cx
lea ecx, [ebp - 0x3c]
mov word [ebp + eax*2 - 0x256], si
lea eax, [ebp - 0x258]
push eax
call fcn.004249e7
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], edi
push eax
call fcn.0042db90
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
xor esi, esi
mov bl, al
push edi
inc esi
push esi
call fcn.0042341c
test bl, bl
pop ebx
jne 0x433ca5
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x24]
call fcn.004249e7
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], esi
push eax
call fcn.00433f3c
push edi
push esi
lea ecx, [ebp - 0x24]
call fcn.0042341c
jmp 0x433ca5
push 0x689bac
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00481b85
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x433f3c
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x66d28b
call fcn.006313fc
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x433f5c
xor al, al
jmp 0x434012
xor eax, eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], edi
mov word [ebp - 0x24], ax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], edi
cmp dword [eax + 0x10], edi
je 0x433fa0
cmp dword [eax + 0x14], 8
jb 0x433f7f
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x433f89
mov ecx, dword [esi]
jmp 0x433f8b
mov ecx, esi
push eax
push ecx
lea eax, [ebp - 0x3c]
push 0x68aa50
push eax
call fcn.0047224d
add esp, 0x10
jmp 0x433fbe
cmp dword [esi + 0x14], 8
jb 0x433faa
mov eax, dword [esi]
jmp 0x433fac
mov eax, esi
push eax
lea eax, [ebp - 0x3c]
push 0x689854
push eax
call fcn.0047224d
add esp, 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.0044dbe6
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042341c
cmp dword [ebp - 0x14], 0
je 0x433fe8
cmp dword [ebp - 0x10], 8
jb 0x433fe3
mov esi, dword [ebp - 0x24]
jmp 0x433ff0
lea esi, [ebp - 0x24]
jmp 0x433ff0
cmp dword [esi + 0x14], 8
jb 0x433ff0
mov esi, dword [esi]
push esi
push 0x689bac
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00481ec0
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.0042341c
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x434112
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x669663
call fcn.006313fc
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x40], ebx
je 0x434223
cmp byte [esi + 0x46], bl
je 0x434223
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
jne 0x434152
xor al, al
jmp 0x434225
push ebp
push ebx
push 8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00434a0b
mov dword [esp + 0x34], ebx
lea ebp, [esi + 0x48]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ebx, edi
cmp eax, 0x10
jae 0x43418b
lea ebx, [esp + 0x14]
mov edi, ebx
mov ecx, dword [esi + 0x40]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
push ebp
call dword [edx + 0x20]
sub eax, 0
je 0x4341b1
dec eax
je 0x4341b5
dec eax
dec eax
je 0x43420f
xor bl, bl
jmp 0x434211
mov byte [esi + 0x46], 0
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ecx, edi
cmp eax, 0x10
jae 0x4341c8
lea ecx, [esp + 0x14]
mov ebx, dword [esp + 0x10]
sub ebx, ecx
je 0x4341f4
cmp eax, 0x10
jae 0x4341d9
lea edi, [esp + 0x14]
push dword [esi + 0x50]
push ebx
push 1
push edi
call fcn.00633c26
add esp, 0x10
cmp ebx, eax
jne 0x4341ad
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
cmp byte [esi + 0x46], 0
je 0x43420f
test ebx, ebx
jne 0x43417e
push ebx
push 8
lea ecx, [esp + 0x1c]
call fcn.004092d9
jmp 0x434176
mov bl, 1
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.0040a0e9
mov al, bl
pop ebp
jmp 0x434225
mov al, 1
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x43f7e6
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov eax, 0x66a086
call fcn.006313fc
sub esp, 0x1c
push ebx
push esi
push edi
push 2
xor ebx, ebx
mov esi, ecx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ebx
test edi, edi
jns 0x43f819
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x43f96f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 0x690b74
push 1
push ebx
push 0x690b64
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x43f843
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x43f95f
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 2
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
jns 0x43f867
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x43f94e
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
call fcn.00490a5f
push 1
push eax
mov ecx, esi
call fcn.00477dfe
mov esi, eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test eax, eax
je 0x43f896
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov eax, dword [edi]
push ecx
push esi
push edi
call dword [eax + 0x28]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, eax
test edi, edi
jns 0x43f8b8
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x43f934
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
and dword [ebp - 0x14], 0
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 5
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
js 0x43f900
cmp dword [ebp - 0x14], 0
je 0x43f934
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0063299b
pop ecx
pop ecx
test eax, eax
jne 0x43f929
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x84]
mov edi, eax
test edi, edi
jns 0x43f908
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x43f929
cmp word [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x43f917
mov byte [eax], 1
jmp 0x43f929
push dword [ebp + 8]
mov byte [eax], 0
push str.Authorized_application__lS_is_disabled_in_the_firewall._n
call fcn.006312e9
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
je 0x43f934
push dword [ebp - 0x14]
call ebx
test esi, esi
je 0x43f93b
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
test eax, eax
je 0x43f94c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor ebx, ebx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
je 0x43f95f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test ecx, ecx
je 0x43f96f
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43f98a
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov eax, 0x66a0c8
call fcn.006313fc
sub esp, 0x4c
push ebx
push edi
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
push 0x690b18
push 1
push ebx
push 0x690b08
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x43fb12
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 1
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x43fb02
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 2
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x43faf1
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 3
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
js 0x43fae3
test eax, eax
je 0x43fae3
push dword [ebp + 8]
lea ecx, [ebp - 0x58]
call fcn.004249e7
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call fcn.0043d0b6
cmp dword [eax + 0x14], 8
jb 0x43fa48
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x28], esi
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.0042341c
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.0042341c
test esi, esi
jne 0x43fa76
mov edi, 0x8007000e
jmp 0x43fadf
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], ebx
push esi
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 7
call dword [ecx + 0x28]
test eax, eax
js 0x43fab1
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
js 0x43fac7
cmp word [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x43fab6
mov byte [eax], 1
jmp 0x43fac7
mov eax, dword [ebp + 0xc]
mov edi, ebx
push dword [ebp + 8]
mov byte [eax], bl
push str.Authorized_application__lS_is_disabled_in_the_firewall._n
call fcn.006312e9
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 6
test eax, eax
je 0x43fad8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
pop esi
mov byte [ebp - 4], 2
test eax, eax
je 0x43faf1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
test eax, eax
je 0x43fb02
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], bl
test eax, eax
je 0x43fb12
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x43fb23
mov edx, dword [ecx]
push ecx
call dword [edx + 8]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x443d84
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004243aa
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x443da6
lea eax, [ebp - 0x18]
push esi
push 0x14
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.0057818d
lea ecx, [ebp - 0x68]
push ecx
push eax
push dword [ebp + 8]
call fcn.00441b1c
push 0
push 1
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.0042341c
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4453cc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x759e6c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
push 0x228
mov esi, eax
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.00635a30
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
jne 0x445428
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or eax, 0xffffffff
jmp 0x445464
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edi, eax
cmp dword [ebp - 0x228], edi
je 0x445456
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x445431
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or eax, 0xffffffff
jmp 0x445463
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x218]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00636364
mov esp, ebp
pop ebp
ret

Function at 0x44613e
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x759e6c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x44]
push esi
mov esi, dword [ebp + 8]
push 0x40
push 0
push eax
call fcn.00635a30
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x1f
push eax
push 0x5a
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004442b1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00636364
mov esp, ebp
pop ebp
ret 4

Function at 0x44623d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x759e6c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x48], 0
lea eax, [ebp - 0x44]
push esi
mov esi, dword [ebp + 8]
push 0x40
push 0
push eax
call fcn.00635a30
add esp, 0xc
lea eax, [ebp - 0x44]
push 0x1f
push eax
push 0x59
push 0x400
call dword [sym.imp.KERNEL32.DLL_GetLocaleInfoW]
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.004442b1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00636364
mov esp, ebp
pop ebp
ret 4
Function at 0x44642d
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x66ab35
mov eax, dword fs:[0]
push eax
sub esp, 0x360
mov eax, dword [0x759e6c]
xor eax, esp
mov dword [esp + 0x35c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x759e6c]
xor eax, esp
push eax
lea eax, [esp + 0x374]
mov dword fs:[0], eax
mov eax, dword [esp + 0x384]
xor ebp, ebp
mov dword [esp + 0x18], eax
lea eax, [esp + 0x168]
push 0x104
push eax
push ebp
mov dword [esp + 0x3c], ebp
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x16c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x4464e4
push 0x6920b8
lea ecx, [esp + 0xd0]
call fcn.00444274
push ebp
lea eax, [esp + 0xd0]
mov dword [esp + 0x380], ebp
push eax
lea ecx, [esp + 0x108]
call fcn.0045496e
push 0x70f0bc
lea eax, [esp + 0x104]
push eax
call fcn.00631398
push esi
call fcn.006362d2
pop ecx
mov ebx, eax
lea eax, [esp + 0x168]
push ebx
push esi
push dword [esp + 0x34]
mov dword [esp + 0x30], ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x44654f
push ebx
call fcn.0063629a
lea ecx, [esp + 0xd0]
mov dword [esp], str.GetFileVersionInfo_failed
call fcn.00444274
push ebp
lea eax, [esp + 0xd0]
mov dword [esp + 0x380], 1
push eax
lea ecx, [esp + 0x108]
call fcn.0045496e
push 0x70f0bc
lea eax, [esp + 0x104]
jmp 0x4464de
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push 0x68a2e0
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4465b2
push ebx
call fcn.0063629a
lea ecx, [esp + 0xd0]
mov dword [esp], str.VerQueryValue_failed
call fcn.00444274
push ebp
lea eax, [esp + 0xd0]
mov dword [esp + 0x380], 2
push eax
lea ecx, [esp + 0x108]
call fcn.0045496e
push 0x70f0bc
lea eax, [esp + 0x104]
jmp 0x4464de
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push str.StringFileInfo040904E4SpecialBuild
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4465e7
push 0x69222c
push dword [esp + 0x2c]
call fcn.00636830
neg eax
pop ecx
sbb eax, eax
neg eax
pop ecx
mov dword [esp + 0x14], eax
jmp 0x4465eb
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x1c]
push dword [esp + 0x24]
movzx ebp, word [eax + 0xa]
movzx esi, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 0xc]
call fcn.0063629a
pop ecx
push 1
push 2
lea ecx, [esp + 0x3c]
call fcn.0043de77
shl ebp, 4
lea ecx, [esp + 0x34]
or ebp, esi
mov dword [esp + 0x37c], 3
shl ebp, 4
or ebp, edi
add ebp, ebp
or ebp, dword [esp + 0x14]
shl ebp, 0x10
or ebp, ebx
push ebp
call fcn.0043e062
lea eax, [esp + 0xe8]
push eax
lea ecx, [esp + 0x38]
call fcn.00440eae
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x380], 4
call fcn.0044421c
push 0
push 1
lea ecx, [esp + 0xf0]
call fcn.0040a0e9
lea ecx, [esp + 0x34]
call fcn.0043e29e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x374]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x35c]
xor ecx, esp
call fcn.00636364
add esp, 0x36c
ret 4