joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d138
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x49db50]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44d17e
cmp word [ebx], dx
jne 0x44d17e
or byte [eax + edi + 0x28], 4
jmp 0x44d183
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x44d2e6
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x44d2c6
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x44d1c4
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x44d1fa
cmp eax, edx
jae 0x44d208
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x44d19f
jmp 0x44d2e6
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44d2c1
cmp dword [ebp - 0x18], 0
je 0x44d2c1
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x49db50]
test byte [eax + edi + 0x28], 0x48
je 0x44d297
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x44d25b
mov word [esi], cx
jmp 0x44d292
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x49db50]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x49db50]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x49db50]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x44d2e6
pop eax
cmp word [ebp - 4], ax
jne 0x44d2a7
cmp esi, ebx
jne 0x44d2a7
mov word [esi], ax
jmp 0x44d2e3
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0044ff8d
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x44d2e6
push 0xd
pop eax
jmp 0x44d2a2
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x49db50]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x44d2e0
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x44d2e6
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x44e4d1
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x485838
push 0x485830
push str.FlsAlloc
push 0x1f
call fcn.0044e33c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44e505
push dword [ebp + 8]
mov ecx, esi
call dword [0x47e15c]
call esi
jmp 0x44e50b
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x44e54f
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x485848
push 0x485840
push str.FlsGetValue
push 0x21
call fcn.0044e33c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44e586
push dword [ebp + 8]
mov ecx, esi
call dword [0x47e15c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x44e58e
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x485850
push 0x485848
push str.FlsSetValue
push 0x22
call fcn.0044e33c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x44e5c8
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x47e15c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x45382d
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 0x4538ca
push ebx
push esi
call fcn.004537f6
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.0045378a
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x453877
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4538c9
push edi
push eax
call fcn.004501e4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x453897
call fcn.0044cfb1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4538c8
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0045378a
add esp, 0x20
test eax, eax
jne 0x4538b6
push edi
call fcn.0044cfb1
jmp 0x4538be
push ebx
call fcn.0044cfb1
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 0x4538cd
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4538de
pop esi
ret
push ebx
push edi
push esi
call fcn.004537f6
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.004501e4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x453906
push ebx
push esi
push edi
call fcn.004395d0
add esp, 0xc
push 0
call fcn.0044cfb1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x454060
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00453b7b

Function at 0x45668e
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0044ccc6
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4566fd
cmp esi, dword [ebp - 4]
je 0x4566f8
cmp dword [ebp + 0xc], 0
je 0x4566f8
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4566d5
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004561e0
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4566ff
xor eax, eax
inc eax
jmp 0x4566ff
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x456764
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x49b058]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0044ccc6
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0044ccc6
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4567db
cmp word [ecx], dx
je 0x4567db
mov eax, dword [0x485f44]
push edi
dec eax
push eax
push 0x485e30
call fcn.00456703
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x45684e
cmp word [eax], dx
je 0x45684e
mov eax, dword [edi]
test eax, eax
je 0x4567ff
cmp word [eax], dx
je 0x4567ff
lea eax, [ebp - 0x10]
push eax
call fcn.004560e6
jmp 0x456808
lea eax, [ebp - 0x10]
push eax
call fcn.00456181
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x456878
mov eax, dword [0x485e2c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x485b20
call fcn.00456703
add esp, 0xc
test al, al
je 0x456878
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x456843
cmp word [eax], di
je 0x456843
lea eax, [ebp - 0x10]
push eax
call fcn.004560e6
pop ecx
jmp 0x45687a
lea eax, [ebp - 0x10]
push eax
call fcn.00456181
jmp 0x456840
mov eax, dword [edi]
test eax, eax
je 0x456865
cmp word [eax], dx
je 0x456865
lea eax, [ebp - 0x10]
push eax
call fcn.0045609b
pop ecx
jmp 0x456878
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x456943
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00456588
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x456943
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x456943
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x456943
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4568d0
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0044e76a
test ebx, ebx
je 0x45693e
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0044e76a
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x456943
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x456943
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0045c317
add esp, 0x10
xor eax, eax
inc eax
jmp 0x456945
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004222d1
leave
ret
Function at 0x45d055
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0045cfd1
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x45d1c4
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x45d1c4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x45d179
jg 0x45d0b1
test eax, eax
je 0x45d16f
push 1
push 0x1000
call fcn.0044db05
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x45d0d4
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x45d166
push 0x8000
push ebx
call fcn.004460f9
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x45d0fd
jg 0x45d0f8
cmp ecx, 0x1000
jb 0x45d0fd
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0044f913
add esp, 0x10
cmp eax, 0xffffffff
je 0x45d142
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x45d0f8
jl 0x45d129
test ecx, ecx
jne 0x45d0ea
push dword [ebp - 0xc]
push ebx
call fcn.004460f9
push esi
call fcn.0044cfb1
add esp, 0xc
xor ebx, ebx
jmp 0x45d1d2
cmp byte [edi + 0x24], 0
je 0x45d159
cmp dword [edi + 0x20], 5
jne 0x45d159
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x45d164
mov ebx, dword [edi + 0x18]
jmp 0x45d166
xor ebx, ebx
push esi
call fcn.0044cfb1
pop ecx
jmp 0x45d1d2
test ecx, ecx
jg 0x45d13b
jl 0x45d179
test eax, eax
jae 0x45d13b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044ff8d
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x45d199
cmp byte [edi + 0x1c], 0
je 0x45d13b
jmp 0x45d1ca
push ebx
call fcn.004516a8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x45d13b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x45d1d2
cmp byte [edi + 0x1c], 0
je 0x45d1cf
mov ebx, dword [edi + 0x18]
jmp 0x45d1d2
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0044ff8d
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x472ab0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x472add
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x472add
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x475ba0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00475bb0

Function at 0x475e30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00475e40

Function at 0x477da0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x477f28
cmp dword [esi + 0x20], 0
je 0x477f28
cmp dword [esi + 0x24], 0
je 0x477f28
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x477f28
cmp dword [eax], esi
jne 0x477f28
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x477e07
cmp eax, 0x39
je 0x477e07
cmp eax, 0x45
je 0x477e07
cmp eax, 0x49
je 0x477e07
cmp eax, 0x5b
je 0x477e07
cmp eax, 0x67
je 0x477e07
cmp eax, 0x71
je 0x477e07
cmp eax, 0x29a
jne 0x477f28
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x477e40
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
push 0
mov edx, 0x39
cmove eax, edx
push 0
mov dword [edi + 4], eax
push 0
jne 0x477e62
call fcn.00475e30
jmp 0x477e67
call fcn.00475ba0
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.00479890
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.00439b50
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x49307a]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x493078]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x49307c]
mov dword [esi + 0x90], eax
xor eax, eax
movzx ecx, word [ecx*4 + 0x49307e]
pop edi
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
pop ebp
ret
mov eax, 0xfffffffe
pop esi
pop ebp
ret
Function at 0x401420
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 0x401438
cmp eax, 0x80010106
jne 0x4014b6
push edi
push esi
push 0x666144
push 1
push 0
push 0x666134
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x401467
push edi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.0055a410
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 0x401490
push ebx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.0055a410
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 0x4014b4
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.0055a410
mov eax, esi
add esp, 8
pop ebx
pop edi
pop esi
ret

Function at 0x4017b0
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 0x4017c8
cmp eax, 0x80010106
jne 0x40181c
push edi
push esi
push 0x666184
push 1
push 0
push 0x666174
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4017f7
push edi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.0055a410
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 0x40181b
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.0055a410
mov eax, esi
add esp, 8
pop edi
pop esi
ret
Function at 0x4018a0
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
jne 0x4018b6
mov eax, 0x80004001
pop esi
pop ecx
ret 0xc
push ebx
push ebp
push edi
push str.Infestation:_Survivor_Stories
call fcn.00401360
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00401360
mov ecx, dword [esp + 0x28]
push ecx
mov ebp, eax
call fcn.00401360
mov dword [esp + 0x28], eax
add esp, 0xc
lea ebx, [esp + 0x20]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00401820
mov esi, eax
test esi, esi
jge 0x401913
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.0055a410
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
cmp dword [esp + 0x20], 0
je 0x401924
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret 0xc
lea edx, [esp + 0x10]
push edx
push 0x6661a4
push 1
push 0
push 0x666194
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x40194e
push esi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
jmp 0x4019dd
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 0x4019e5
push esi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.0055a410
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 0x401a08
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 0x401c20
Capabilities:
Copy file

Disassembly:
sub esp, 0x614
mov eax, dword [0x6926dc]
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.0057bec0
mov esi, eax
inc esi
add esp, 8
cmp esi, 1
jne 0x401c7b
push 0
push 0x16
push str..GenerateUpdaterXML.cpp
push str._DWORD_fname___1
call fcn.0055a720
add esp, 0x10
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
call fcn.0055b0b0
add esp, 0xc
test al, al
jne 0x401cae
lea edx, [esp + 0x114]
push edx
push str.failed_to_get_crc_for__s_n
call fcn.0055a5e0
add esp, 8
push str.0.0.0
push esi
lea eax, [esp + 0x18]
push str._s__s.exe
push eax
call fcn.00401db0
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x401ceb
lea edx, [esp + 0x10]
push edx
push esi
push str.unable_to_copy__s___s_n
call fcn.0055a5e0
add esp, 0xc
push 0x2f
push str.https:__192.168.0.114_Infestation_updater_wzupd.xml
call fcn.0057bec0
mov esi, eax
add esp, 8
test esi, esi
jne 0x401d15
push eax
push 0x23
push str..GenerateUpdaterXML.cpp
push str.updater_file
call fcn.0055a720
add esp, 0x10
lea edi, [esi + 1]
push 0x666234
push edi
call fcn.0055b5c0
mov esi, eax
push str._p__n
push esi
call fcn.0057beed
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
push str.0.0.0
push ecx
lea edx, [esp + 0x2c]
push edx
push str.http:__192.168.0.114_Infestation_updater_
push str.__u_url__s_s__crc__u__ver__s__size__u____n
push esi
call fcn.0057beed
push str.__p__n
push esi
call fcn.0057beed
push esi
call fcn.0057c080
lea eax, [esp + 0x48]
push eax
push edi
push str.XML__s_generated_nnew_exe:_s
lea edx, [esp + 0x25c]
call fcn.00401dd0
add esp, 0x44
push 0
push str.Updater_XML
lea ecx, [esp + 0x220]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x618]
pop edi
pop esi
xor ecx, esp
call fcn.0057bc02
add esp, 0x614
ret
Function at 0x402540
Capabilities:
Get cpu information
Get memory capacity
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, eax
call fcn.00402610
mov eax, esi
call fcn.00402680
lea eax, [esp + 0x14]
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 0x4025a0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + 0x88]
push edx
push eax
push eax
mov eax, dword [esp + 0x24]
push str.MHz
push eax
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push 0
shrd edx, eax, 0xa
push 0
push 0
push str.DISPLAY
shr eax, 0xa
mov dword [esi + 0x8c], edx
call dword [sym.imp.GDI32.dll_CreateICA]
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push 8
push edi
call ebx
push 0xa
push edi
mov dword [esi + 0x90], eax
call ebx
push edi
mov dword [esi + 0x94], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
call fcn.004027f0
call fcn.00402990
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402de0
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 connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x402e08
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 0x402e7a
push esi
call fcn.0057c458
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
add esp, 4
add esi, 0x2a300
adc ecx, 0
cmp edx, ecx
jg 0x402e7a
jl 0x402e73
cmp eax, esi
jae 0x402e7a
xor al, al
pop esi
add esp, 0x10
ret
mov al, 1
pop esi
add esp, 0x10
ret