joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40326c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
push ebx
call dword [sym.imp.USER32.dll_CharUpperW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp esi, 0x2710
jge 0x40329f
lea eax, [ebp - 0x42c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
inc esi
cmp esi, 0x5d744c
jl 0x40327c
xor esi, esi
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, edi
jle 0x4032c2
cmp dword [ebp - 4], 0x785074d5
jne 0x4032cb
inc esi
cmp esi, 0x1c1b
jl 0x4032af
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x4032f1
inc esi
cmp esi, 0x4f6a4
jl 0x4032cd
cmp dword [0x2a9c018], 0x400
jne 0x403313
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push ebx
push ebx
call fcn.00403384
push ebx
call fcn.004033fe
add esp, 0xc
mov eax, dword [0x42804c]
mov dword [0x2a9c018], eax
mov eax, dword [0x428020]
mov dword [0x2a9c01c], eax
call fcn.00402fe5
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp esi, edi
jle 0x403342
cmp dword [ebp - 4], 0x785074d5
jne 0x40334b
inc esi
cmp esi, 0x11915
jl 0x40332e
mov esi, 0x3078f
cmp dword [0x2a9c018], 0x51f
jne 0x403366
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
dec esi
jne 0x403350
mov eax, dword [0x2a9af6c]
mov dword [0x2a9b5ac], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x40706c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004048d8
and dword [ebp - 4], 0
cmp dword [0x4288e8], 0
mov ebx, eax
jne 0x40711d
push 0x4019d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4071ce
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019c8
push edi
call esi
test eax, eax
je 0x4071ce
push eax
call fcn.00404866
mov dword [esp], 0x4019b8
push edi
mov dword [0x4288e8], eax
call esi
push eax
call fcn.00404866
mov dword [esp], 0x4019a4
push edi
mov dword [0x4288ec], eax
call esi
push eax
call fcn.00404866
mov dword [esp], 0x401988
push edi
mov dword [0x4288f0], eax
call esi
push eax
call fcn.00404866
pop ecx
mov dword [0x4288f8], eax
test eax, eax
je 0x40711d
push 0x401970
push edi
call esi
push eax
call fcn.00404866
pop ecx
mov dword [0x4288f4], eax
mov eax, dword [0x4288f4]
cmp eax, ebx
je 0x407175
cmp dword [0x4288f8], ebx
je 0x407175
push eax
call fcn.004048e1
push dword [0x4288f8]
mov esi, eax
call fcn.004048e1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x407175
test edi, edi
je 0x407175
call esi
test eax, eax
je 0x40716c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40716c
test byte [ebp - 0xc], 1
jne 0x407175
or dword [ebp + 0x10], 0x200000
jmp 0x4071ae
mov eax, dword [0x4288ec]
cmp eax, ebx
je 0x4071ae
push eax
call fcn.004048e1
pop ecx
test eax, eax
je 0x4071ae
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4071ae
mov eax, dword [0x4288f0]
cmp eax, ebx
je 0x4071ae
push eax
call fcn.004048e1
pop ecx
test eax, eax
je 0x4071ae
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4288e8]
call fcn.004048e1
pop ecx
test eax, eax
je 0x4071ce
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4071d0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407985
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427a10]
jne 0x40798f
repz ret
jmp fcn.00409039
Function at 0x40f080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f098
mov eax, 1
add ebx, ebx
jne 0x40f0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f0b0
jne 0x40f0cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0b0
xor ecx, ecx
sub eax, 3
jb 0x40f0e0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f152
mov ebp, eax
add ebx, ebx
jne 0x40f0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f0f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f11c
inc ecx
add ebx, ebx
jne 0x40f108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f0fd
jne 0x40f119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f0fd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f13c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f12d
jmp 0x40f09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f13c
add edi, ecx
jmp 0x40f09e
pop esi
mov edi, esi
mov ecx, 0x265
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f15a
cmp byte [edi], 2
jne 0x40f15a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40f15f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f1ce
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f18c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf068]
or eax, eax
je 0x40f1c8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f1a9
call dword [esi + 0xf06c]
popal
jmp 0x40354a

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x403551
Capabilities:
Delete directory
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x102c
call fcn.00409f40
cmp dword [0x2aa70a0], 0x594
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x40358e
push 0x402c30
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x402c94
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x432c98]
push ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [0x432c9c]
push esi
xor esi, esi
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.0040354a
mov eax, dword [0x432ca0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x432ca4]
add ebx, 0x23f
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x10]
shl eax, 4
cmp dword [0x2aa70a0], 0xc
mov dword [ebp - 4], eax
jne 0x403619
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadIdealProcessor]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
xor eax, eax
mov word [ebp - 0x1c], ax
lea edi, [ebp - 0x1a]
stosw word es:[edi], ax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, dword [0x2aa70a0]
cmp eax, 0xfa9
jne 0x403635
mov dword [0x2aa663c], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403642
mov dword [0x2aa5fec], esi
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
lea eax, [ebx + edx]
shr edx, cl
mov dword [ebp - 0x14], eax
mov dword [0x2aa6638], 0xf4ea3dee
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x2aa70a0], 0x213
mov dword [ebp - 0x14], edx
jne 0x403689
push esi
push 0x402cb0
push esi
push 0x402d38
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CompareStringW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x2aa70a0], 0xc
jne 0x4036c6
push esi
lea eax, [ebp - 0x82c]
push eax
push 0x402d88
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push esi
lea eax, [ebp - 0x102c]
push eax
push 0x402df8
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edi, eax
shr edi, cl
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
add edi, dword [ebp - 0x24]
cmp dword [0x2aa70a0], 0x121
jne 0x403704
push 0x402e28
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
sub dword [ebp - 0x10], ecx
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x4035ce
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret 4
Function at 0x40372e
Capabilities:
Get common file path
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00409f40
mov eax, dword [0x2aa70a0]
mov ecx, dword [0x2aa5ff0]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x403826
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2aa70a0], 0x959
jne 0x403814
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SignalObjectAndWait]
push 0x402e78
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push 0x402ef8
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0x402f88
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402fd8
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
push 0x402e6c
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x403028
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.00403551
add edi, 8
dec ebx
jne 0x40375a
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403b76
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
push ebx
call dword [sym.imp.USER32.dll_CharUpperW]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
cmp esi, 0x2710
jge 0x403ba9
lea eax, [ebp - 0x42c]
push eax
push ebx
call dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
inc esi
cmp esi, 0x5d744c
jl 0x403b86
xor esi, esi
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, edi
jle 0x403bcc
cmp dword [ebp - 4], 0x785074d5
jne 0x403bd5
inc esi
cmp esi, 0x1c1b
jl 0x403bb9
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0x206d47
jg 0x403bfb
inc esi
cmp esi, 0x4f6a4
jl 0x403bd7
cmp dword [0x2aa70a0], 0x400
jne 0x403c1d
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push ebx
push ebx
call fcn.00403d5d
push ebx
call fcn.00403e5d
add esp, 0xc
mov eax, dword [0x43306c]
mov dword [0x2aa70a0], eax
mov eax, dword [0x433040]
mov dword [0x2aa70a4], eax
call fcn.004038f8
xor esi, esi
push 0x40332c
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, edi
jle 0x403c50
cmp dword [ebp - 4], 0x785074d5
jne 0x403c59
inc esi
cmp esi, 0x11915
jl 0x403c38
mov esi, 0x3078f
cmp dword [0x2aa70a0], 0x51f
jne 0x403c74
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
dec esi
jne 0x403c5e
mov eax, dword [0x2aa5ff0]
mov dword [0x2aa6634], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x40687f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x432404]
jne 0x406889
repz ret
jmp fcn.00408910
Function at 0x408197
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404d5e
and dword [ebp - 4], 0
cmp dword [0x433970], 0
mov ebx, eax
jne 0x408248
push 0x40210c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4082f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402100
push edi
call esi
test eax, eax
je 0x4082f9
push eax
call fcn.00404cec
mov dword [esp], 0x4020f0
push edi
mov dword [0x433970], eax
call esi
push eax
call fcn.00404cec
mov dword [esp], 0x4020dc
push edi
mov dword [0x433974], eax
call esi
push eax
call fcn.00404cec
mov dword [esp], 0x4020c0
push edi
mov dword [0x433978], eax
call esi
push eax
call fcn.00404cec
pop ecx
mov dword [0x433980], eax
test eax, eax
je 0x408248
push 0x4020a8
push edi
call esi
push eax
call fcn.00404cec
pop ecx
mov dword [0x43397c], eax
mov eax, dword [0x43397c]
cmp eax, ebx
je 0x4082a0
cmp dword [0x433980], ebx
je 0x4082a0
push eax
call fcn.00404d67
push dword [0x433980]
mov esi, eax
call fcn.00404d67
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4082a0
test edi, edi
je 0x4082a0
call esi
test eax, eax
je 0x408297
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408297
test byte [ebp - 0xc], 1
jne 0x4082a0
or dword [ebp + 0x10], 0x200000
jmp 0x4082d9
mov eax, dword [0x433974]
cmp eax, ebx
je 0x4082d9
push eax
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082d9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4082d9
mov eax, dword [0x433978]
cmp eax, ebx
je 0x4082d9
push eax
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082d9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x433970]
call fcn.00404d67
pop ecx
test eax, eax
je 0x4082f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4082fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401110
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 0x401128
cmp eax, 0x80010106
jne 0x4011a6
push edi
push esi
push 0x6777f0
push 1
push 0
push 0x6777e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x401157
push edi
push str.CoCreateInstance_NetFwMgr_failed:_0x_08lx_n
call fcn.0056e890
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 0x401180
push ebx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.0056e890
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 0x4011a4
push esi
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.0056e890
mov eax, esi
add esp, 8
pop ebx
pop edi
pop esi
ret

Function at 0x4014a0
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 0x4014b8
cmp eax, 0x80010106
jne 0x40150c
push edi
push esi
push 0x677830
push 1
push 0
push 0x677820
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
jge 0x4014e7
push edi
push str.CoCreateInstance_NetFwPolicy2_failed:_0x_08lx_n
call fcn.0056e890
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 0x40150b
push esi
push str.get_Rules_failed:_0x_08lx_n
call fcn.0056e890
mov eax, esi
add esp, 8
pop edi
pop esi
ret
Function at 0x401590
Capabilities:
Access firewall rule properties via inetfwrule

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
cmp dword [esi + 4], 0
jne 0x4015a6
mov eax, 0x80004001
pop esi
pop ecx
ret 0xc
push ebx
push ebp
push edi
push str.WarZ_Thailand
call fcn.00401050
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
call fcn.00401050
mov ecx, dword [esp + 0x28]
push ecx
mov ebp, eax
call fcn.00401050
mov dword [esp + 0x28], eax
add esp, 0xc
lea ebx, [esp + 0x20]
mov eax, esi
mov dword [esp + 0x10], 0
call fcn.00401510
mov esi, eax
test esi, esi
jge 0x401603
push esi
push str.IsAppEnabled_failed:_0x_08lx_n
call fcn.0056e890
add esp, 8
pop edi
pop ebp
pop ebx
mov eax, esi
pop esi
pop ecx
ret 0xc
cmp dword [esp + 0x20], 0
je 0x401614
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
pop ecx
ret 0xc
lea edx, [esp + 0x10]
push edx
push 0x677850
push 1
push 0
push 0x677840
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x40163e
push esi
push str.CoCreateInstance_NetFwRule_failed:_0x_08lx_n
jmp 0x4016cd
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 0x4016d5
push esi
push str.Firewall_Rule_Add_failed:_0x_08lx_n
call fcn.0056e890
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 0x4016f8
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