joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430919
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 0x410]
push esi
push edi
mov esi, 0x104
xor edi, edi
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x430993
push esi
lea eax, [ebp - 0x208]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_GetLongPathNameW]
lea ecx, [ebp - 0x208]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x430964
sub ecx, edx
sar ecx, 1
cmp ecx, 0xa
jbe 0x430993
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0047b116
test al, al
je 0x430993
mov al, 1
jmp 0x430995
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43099b
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6ab3b7
call fcn.006375a8
sub esp, 0x440
lea eax, [ebp - 0x44c]
push ebx
push esi
push edi
push 0x208
push eax
push 0x6b6f34
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.00483521
test al, al
je 0x430a86
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [eax + 0x10], ebx
je 0x430a84
xor ecx, ecx
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], cx
mov esi, dword [ebp + 0xc]
sub esp, 0x18
mov dword [ebp - 4], ebx
push 6
pop ecx
mov edi, esp
cmp dword [esi + 0x10], ebx
je 0x430a28
sub esp, 0x18
rep movsd dword es:[edi], dword [esi]
mov esi, eax
lea eax, [ebp - 0x3c]
push 6
pop ecx
mov edi, esp
push str.__s___s
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004638e7
add esp, 0x38
jmp 0x430a3d
mov esi, eax
lea eax, [ebp - 0x3c]
push str.__s_
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004638e7
add esp, 0x20
push eax
lea ecx, [ebp - 0x24]
call fcn.0042623d
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004267c2
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x430a5d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44c]
push eax
call fcn.0065cdeb
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x24]
neg ebx
push 0
sbb bl, bl
push 1
inc bl
call fcn.004267c2
mov al, bl
jmp 0x430a86
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x430ee9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6937cb
call fcn.006375a8
sub esp, 0x258
push edi
lea ecx, [ebp - 0x10]
call fcn.00482dcd
push 0x20019
push str.SoftwareBitTorrent
xor edi, edi
lea ecx, [ebp - 0x10]
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], edi
call fcn.00483090
test al, al
je 0x430fff
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
push eax
push str.StatsTesting
lea ecx, [ebp - 0x10]
call fcn.004830ef
cmp dword [ebp - 0x14], edi
je 0x430fff
push edi
push 0x1a
lea eax, [ebp - 0x264]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x430fff
push 0x6b6f34
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x2c]
push str._s_stats__s.txt
push eax
call fcn.004638e7
add esp, 0x10
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0043edf3
cmp dword [eax + 0x14], 0x10
jb 0x430f92
mov eax, dword [eax]
push esi
push 0x6b6f68
push eax
call fcn.0065ec21
pop ecx
pop ecx
push edi
push 1
lea ecx, [ebp - 0x44]
mov esi, eax
call fcn.0040daff
test esi, esi
je 0x430ff3
push dword [ebp + 8]
lea eax, [ebp - 0x5c]
push eax
call fcn.0047af87
cmp dword [eax + 0x14], 8
jb 0x430fc5
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetCurrentProcessId
push eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push str._u__d__S_n
push esi
call fcn.0043f61d
add esp, 0x14
lea ecx, [ebp - 0x5c]
push edi
push 1
call fcn.004267c2
push esi
call fcn.0065e673
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004267c2
pop esi
lea ecx, [ebp - 0x10]
call fcn.00482dd8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x431018
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
xor ecx, ecx
lea eax, [ebp - 0x20c]
push ecx
push 0x25
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00427f43
push dword [ebp + 8]
call fcn.0045e7e8
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x434e05
Capabilities:
Create pipe
Read file on windows
Read pipe

Disassembly:
mov eax, 0x693b92
call fcn.006375a8
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x2c], 0xc
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea eax, [ebp - 0x10]
push 2
push ebx
push ebx
push eax
call esi
push eax
push dword [ebp - 0x18]
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0059b77f
mov esi, dword [ebp + 8]
mov cl, al
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], ebx
jb 0x434e92
mov eax, dword [esi]
jmp 0x434e94
mov eax, esi
xor edx, edx
mov word [eax], dx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test cl, cl
je 0x434f85
push edi
push 0x104
call fcn.0045e489
xor ecx, ecx
mov ebx, eax
mov edi, ecx
mov byte [ebp + 0x13], cl
jmp 0x434f28
cmp dword [ebp + 0xc], 0
jne 0x434ee8
cmp byte [ebp + 0x13], 0
jne 0x434f3d
push 0xc8
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
je 0x434f26
mov byte [ebp + 0x13], 1
jmp 0x434f26
push 0
lea eax, [ebp + 0xc]
push eax
mov eax, 0x103
sub eax, edi
push eax
lea eax, [edi + ebx]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x434f0e
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x434f24
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
je 0x434f3d
cmp edi, 0x103
je 0x434f3d
mov eax, dword [ebp + 0xc]
add edi, eax
xor ecx, ecx
push ecx
lea eax, [ebp + 0xc]
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
test eax, eax
jne 0x434ec1
push ebx
lea eax, [ebp - 0x44]
mov byte [edi + ebx], 0
push eax
call fcn.0047af87
push eax
mov ecx, esi
call fcn.0042623d
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.004267c2
push 1
push ebx
call fcn.0045e47c
cmp dword [ebp + 0x18], 0
pop edi
je 0x434f7a
push dword [ebp + 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x434f8f
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x434f8f
or dword [eax], 0xffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43595e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
jmp 0x4359e2
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 0x4359b9
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 0x435a01
test edi, edi
je 0x435a01
push dword [ebp - 4]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
test esi, esi
je 0x4359e2
push 0x7530
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0
push 0x785564
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
jne 0x435967
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.0040c884
add esp, 0xc
xor al, al
jmp 0x4359fb
Function at 0x4362d6
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6ab9ee
call fcn.006375a8
sub esp, 0x24c
cmp byte [0x7a398a], 0
push esi
push edi
jne 0x4363b2
test byte [0x79fc80], 2
jne 0x4363b2
cmp byte [ebp + 8], 0
je 0x43639e
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 - 0x24]
mov word [ebp + eax*2 - 0x256], si
lea eax, [ebp - 0x258]
push eax
call fcn.00427f43
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], edi
push eax
call fcn.0043099b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
xor esi, esi
mov bl, al
push edi
inc esi
push esi
call fcn.004267c2
test bl, bl
pop ebx
jne 0x4363b2
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00427f43
push dword [ebp + 0xc]
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], esi
push eax
call fcn.0043652d
push edi
push esi
lea ecx, [ebp - 0x3c]
call fcn.004267c2
jmp 0x4363b2
push 0x6b6f34
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.004832b3
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x43652d
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6ab3b7
call fcn.006375a8
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x43654d
xor al, al
jmp 0x436603
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 0x436591
cmp dword [eax + 0x14], 8
jb 0x436570
mov eax, dword [eax]
cmp dword [esi + 0x14], 8
jb 0x43657a
mov ecx, dword [esi]
jmp 0x43657c
mov ecx, esi
push eax
push ecx
lea eax, [ebp - 0x3c]
push 0x6b7dd8
push eax
call fcn.004638e7
add esp, 0x10
jmp 0x4365af
cmp dword [esi + 0x14], 8
jb 0x43659b
mov eax, dword [esi]
jmp 0x43659d
mov eax, esi
push eax
lea eax, [ebp - 0x3c]
push 0x6b6d5c
push eax
call fcn.004638e7
add esp, 0xc
push eax
lea ecx, [ebp - 0x24]
call fcn.0042623d
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.004267c2
cmp dword [ebp - 0x14], 0
je 0x4365d9
cmp dword [ebp - 0x10], 8
jb 0x4365d4
mov esi, dword [ebp - 0x24]
jmp 0x4365e1
lea esi, [ebp - 0x24]
jmp 0x4365e1
cmp dword [esi + 0x14], 8
jb 0x4365e1
mov esi, dword [esi]
push esi
push 0x6b6f34
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.004835d7
push edi
push 1
lea ecx, [ebp - 0x24]
call fcn.004267c2
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 0x436712
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x6aff04
call fcn.006375a8
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x436817
cmp byte [esi + 0x3e], bl
je 0x436817
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 0xc]
movzx eax, ax
cmp di, ax
sete al
test al, al
je 0x436757
xor al, al
jmp 0x436819
push ebx
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.0043726e
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x436784
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4367af
sub eax, 1
je 0x4367b3
dec eax
sub eax, 1
je 0x436805
xor bl, bl
jmp 0x436807
mov byte [esi + 0x3e], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x4367c3
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
sub ebx, ecx
je 0x4367eb
cmp eax, 0x10
jae 0x4367d2
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0065f19b
add esp, 0x10
cmp ebx, eax
jne 0x4367ab
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3e], 0
je 0x436805
test ebx, ebx
jne 0x436778
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.0040cba3
jmp 0x436772
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.0040daff
mov al, bl
jmp 0x436819
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x44156f
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
mov eax, 0x6945b3
call fcn.006375a8
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 0x4415a2
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x4416f7
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 0x6bdcac
push 1
push ebx
push 0x6bdc9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jns 0x4415cc
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x4416e6
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], 3
call dword [ecx + 0x48]
mov edi, eax
test edi, edi
jns 0x4415f0
mov eax, dword [ebp + 0xc]
mov byte [eax], bl
jmp 0x4416d5
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 6
call fcn.00491803
push 1
push eax
mov ecx, esi
call fcn.00440e44
mov esi, eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 7
test eax, eax
je 0x44161f
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 0x441641
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x4416bd
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], 0xb
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
js 0x441689
cmp dword [ebp - 0x14], 0
je 0x4416bd
push dword [ebp + 8]
push dword [ebp - 0x14]
call fcn.0065cdeb
pop ecx
pop ecx
test eax, eax
jne 0x4416b2
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 0x441691
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x4416b2
cmp word [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x4416a0
mov byte [eax], 1
jmp 0x4416b2
push dword [ebp + 8]
mov byte [eax], 0
push str.Authorized_application__lS_is_disabled_in_the_firewall._n
call fcn.00426aaa
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0
je 0x4416bd
push dword [ebp - 0x14]
call ebx
test esi, esi
je 0x4416c4
push esi
call ebx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x15
test eax, eax
je 0x4416d5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x4416e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 0x17
test ecx, ecx
je 0x4416f7
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 0x441712
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
mov eax, 0x694613
call fcn.006375a8
sub esp, 0x4c
push ebx
push edi
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
push 0x6bdc50
push 1
push ebx
push 0x6bdc40
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x44189b
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], 2
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x44188a
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], 5
call dword [ecx + 0x1c]
mov edi, eax
test edi, edi
js 0x441879
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], 9
call dword [ecx + 0x50]
mov edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
js 0x44186b
test eax, eax
je 0x44186b
push dword [ebp + 8]
lea ecx, [ebp - 0x58]
call fcn.00427f43
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
call fcn.0043ee18
cmp dword [eax + 0x14], 8
jb 0x4417d0
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.004267c2
push ebx
push 1
lea ecx, [ebp - 0x58]
call fcn.004267c2
test esi, esi
jne 0x4417fe
mov edi, 0x8007000e
jmp 0x441867
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], 0x15
call dword [ecx + 0x28]
test eax, eax
js 0x441839
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 0x44184f
cmp word [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
je 0x44183e
mov byte [eax], 1
jmp 0x44184f
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.00426aaa
pop ecx
pop ecx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0x20
test eax, eax
je 0x441860
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], 0x21
test eax, eax
je 0x441879
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 0x22
test eax, eax
je 0x44188a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 0x23
test eax, eax
je 0x44189b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], 0x24
test ecx, ecx
je 0x4418af
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 0x445ad2
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.00427922
cmp dword [ebp - 4], 8
mov eax, dword [ebp - 0x18]
jae 0x445af4
lea eax, [ebp - 0x18]
push esi
push 0x14
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.0057e5c5
lea ecx, [ebp - 0x68]
push ecx
push eax
push dword [ebp + 8]
call fcn.004436d8
push 0
push 1
lea ecx, [ebp - 0x18]
mov esi, eax
call fcn.004267c2
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44706a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x7990a8]
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.00651ed0
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 0x4470c6
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or eax, 0xffffffff
jmp 0x447102
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov edi, eax
cmp dword [ebp - 0x228], edi
je 0x4470f4
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4470cf
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
or eax, 0xffffffff
jmp 0x447101
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.00637b3e
mov esp, ebp
pop ebp
ret

Function at 0x447cc2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x7990a8]
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.00651ed0
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.00446021
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00637b3e
mov esp, ebp
pop ebp
ret 4

Function at 0x447dc1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x7990a8]
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.00651ed0
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.00446021
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00637b3e
mov esp, ebp
pop ebp
ret 4
Function at 0x447f7f
Capabilities:
Get file version info

Disassembly:
push ebp
sub esp, 0x2a4
lea ebp, [esp - 4]
mov eax, dword [0x7990a8]
xor eax, ebp
mov dword [ebp + 0x2a4], eax
push 0xbc
mov eax, 0x695149
call fcn.00637b86
mov eax, dword [ebp + 0x2b0]
xor edi, edi
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 0x9c]
push 0x104
push eax
push edi
mov dword [ebp - 0x30], edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x9c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x44800e
push 0x6c03e0
lea ecx, [ebp + 0x80]
call fcn.00445fd8
mov dword [ebp - 4], edi
push edi
lea eax, [ebp + 0x80]
push eax
lea ecx, [ebp]
call fcn.00455a9b
push 0x74575c
lea eax, [ebp]
push eax
call fcn.0064fa34
push esi
call fcn.0065fc70
pop ecx
mov ebx, eax
lea eax, [ebp + 0x9c]
push ebx
push esi
push dword [ebp - 0x14]
mov dword [ebp - 0x24], ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x448050
push ebx
call fcn.0065fc6b
lea ecx, [ebp + 0x80]
mov dword [esp], str.GetFileVersionInfo_failed
call fcn.00445fd8
mov dword [ebp - 4], 1
jmp 0x447ff0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x6b7668
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x44808b
push ebx
call fcn.0065fc6b
lea ecx, [ebp + 0x80]
mov dword [esp], str.VerQueryValue_failed
call fcn.00445fd8
mov dword [ebp - 4], 2
jmp 0x447ff0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push str.StringFileInfo040904E4SpecialBuild
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4480bc
push 0x6c05ec
push dword [ebp - 0x1c]
call fcn.0065202a
neg eax
pop ecx
sbb eax, eax
neg eax
pop ecx
mov dword [ebp - 0x10], eax
jmp 0x4480bf
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x24]
movzx ecx, word [eax + 0xa]
movzx esi, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx ebx, word [eax + 0xc]
mov dword [ebp - 0x28], ecx
call fcn.0065fc6b
pop ecx
push 1
push 2
lea ecx, [ebp - 0xc8]
call fcn.0043fce3
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xc8]
shl eax, 4
or eax, esi
mov dword [ebp - 4], 3
shl eax, 4
or eax, edi
add eax, eax
or eax, dword [ebp - 0x10]
shl eax, 0x10
or eax, ebx
push eax
call fcn.0043fee0
lea eax, [ebp + 0x68]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00442a30
mov ecx, dword [ebp - 0x2c]
push eax
mov byte [ebp - 4], 4
call fcn.00445f6b
push 0
push 1
lea ecx, [ebp + 0x68]
call fcn.0040daff
lea ecx, [ebp - 0xc8]
call fcn.00440145
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2a4]
xor ecx, ebp
call fcn.00637b3e
lea esp, [ebp + 0x2a8]
pop ebp
ret 4