joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412cb9
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x18], edx
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], eax
push ecx
xor ebx, ebx
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x412d79
push esi
call fcn.0041889f
mov edi, eax
pop ecx
test edi, edi
je 0x412d79
push edi
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x412d72
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x40807c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x412d72
lea ecx, [ebp - 4]
call fcn.004133dd
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 4]
push 0x4080b0
push eax
call fcn.00413725
mov esi, dword [ebp - 4]
lea eax, [ebp - 8]
add esp, 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x412d6a
cmp dword [ebp - 8], ebx
je 0x412d6a
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
call fcn.00413348
inc ebx
lea ecx, [esi - 0x10]
call fcn.00411193
push edi
call fcn.00418f65
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x413c0f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x413c65
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x413c65
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x413c57
cmp esi, ecx
jae 0x413c65
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x413c45
cmp esi, ecx
jae 0x413c65
cmp word [esi], 0
je 0x413c65
mov eax, esi
jmp 0x413c67
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x416140
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x434014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x418], eax
xor eax, eax
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x408], eax
push esi
mov esi, eax
mov dword [ebp - 0x414], esi
push edi
test ebx, ebx
je 0x416301
mov edx, ebx
xor edi, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, di
jne 0x416196
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x410], edx
call fcn.0041686a
test eax, eax
js 0x416301
mov edi, dword [ebp - 0x410]
cmp edi, 0x400
jg 0x4161e4
mov ecx, edi
call fcn.00415039
test al, al
je 0x4161e4
mov eax, edi
call fcn.00431a80
mov eax, esp
jmp 0x4161f6
push edi
lea ecx, [ebp - 0x414]
call fcn.004150b2
mov esi, dword [ebp - 0x414]
push 3
push edi
mov edx, ebx
mov ecx, eax
call fcn.00414a7f
mov edi, eax
test edi, edi
je 0x416301
push 0x60
xor eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
jne 0x41623a
push 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov ebx, eax
test ebx, ebx
jne 0x41623a
call fcn.00414a21
mov edi, eax
jmp 0x416306
push dword [ebp - 0x418]
push dword [ebp - 0x40c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41625d
call fcn.00414a21
jmp 0x4162f2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x40c], eax
test eax, eax
je 0x416253
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea ecx, [edi + 1]
cmp ecx, edi
jae 0x416287
mov edi, 0x8007000e
jmp 0x4162f4
call fcn.004150ee
cmp eax, 0x400
jbe 0x4162a1
push eax
lea ecx, [ebp - 0x408]
call fcn.00414a34
jmp 0x4162ad
lea eax, [ebp - 0x404]
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0
je 0x416280
mov ecx, dword [ebp - 0x408]
mov edx, edi
push edi
push dword [ebp - 0x40c]
call fcn.0041689a
pop ecx
pop ecx
mov ecx, eax
call fcn.0041682e
mov eax, dword [ebp - 0x408]
xor ecx, ecx
push dword [ebp + 0x14]
mov byte [eax + edi], cl
lea ecx, [ebp - 0x420]
push dword [ebp - 0x408]
call fcn.00416000
mov edi, eax
test ebx, ebx
je 0x416306
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x416306
mov edi, 0x8007000e
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x41632a
lea ecx, [ebp - 0x408]
call fcn.00414a18
jmp 0x41632a
push esi
mov esi, dword [esi]
call fcn.0041c083
pop ecx
test esi, esi
jne 0x416321
mov eax, edi
lea esp, [ebp - 0x42c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418af8
leave
ret 0x10
Function at 0x41758a
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x4175bd
cmp ecx, 0xffffffff
je 0x4175bd
cmp ecx, 7
je 0x4175bd
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 2
push eax
push 0x410310
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
xor eax, eax
cmp word [ebp - 4], 0x31
sete al
leave
ret
xor eax, eax
leave
ret

Function at 0x4175c1
Capabilities:
Write file on windows

Disassembly:
push 0x210
mov eax, 0x4332a3
call fcn.00431970
mov esi, ecx
mov ebx, dword [ebp + 8]
xor eax, eax
mov edi, eax
mov dword [ebp - 0x218], edi
push 0xfffffffffffffff5
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, eax
mov dword [ebp - 0x21c], eax
call fcn.0041758a
test eax, eax
je 0x4176a1
test ebx, ebx
je 0x4176fe
mov edx, ebx
xor esi, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x41760e
sub edx, ecx
sar edx, 1
inc edx
push ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edx
call fcn.0041686a
test eax, eax
js 0x4176fe
mov esi, dword [ebp - 0x214]
cmp esi, 0x400
jg 0x41765c
mov ecx, esi
call fcn.00415039
test al, al
je 0x41765c
mov eax, esi
call fcn.00431a80
mov eax, esp
jmp 0x41766e
push esi
lea ecx, [ebp - 0x218]
call fcn.004150b2
mov edi, dword [ebp - 0x218]
push 3
push esi
mov edx, ebx
mov ecx, eax
call fcn.00414a7f
mov esi, eax
test esi, esi
je 0x4176fe
xor eax, eax
push eax
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x4176fe
xor eax, eax
push 0x100
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push eax
push 0x3e8
push esi
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
lea ecx, [ebp - 0x214]
call fcn.0041338d
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 1
call fcn.004131d3
mov esi, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push 0x10
push eax
push esi
xor eax, eax
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [esi - 0x10]
call fcn.00411193
or dword [ebp - 4], 0xffffffff
jmp 0x41770d
push edi
mov edi, dword [edi]
call fcn.0041c083
pop ecx
test edi, edi
jne 0x417704
lea esp, [ebp - 0x22c]
call fcn.0043192b
ret 4
Function at 0x10001000
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
mov ax, word [esi]
add esi, 2
cmp ax, 0x22
jne 0x10001050
push 0x22
push esi
call fcn.1000108c
add esp, 8
test eax, eax
je 0x10001067
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10001030
sub ecx, esi
sar ecx, 1
cmp ecx, 2
ja 0x1000104b
mov esi, 0x10006128
jmp 0x10001067
lea esi, [eax + 4]
jmp 0x10001067
push 0x20
push esi
call fcn.1000108c
add esp, 8
mov esi, 0x1000612c
test eax, eax
je 0x10001067
lea esi, [eax + 2]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 0
push 0x3e8
push ecx
push esi
push edx
push eax
call sub.PBVM126.dll_Ordinal_67
pop esi
pop ebp
ret 0x10
Function at 0x1000304b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10008310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10001f9e
and dword [ebp - 0x14], 0
cmp dword [0x1000941c], 0
mov dword [ebp - 0x18], eax
jne 0x100030fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100031a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100031a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000941c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10009420], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10009424], eax
call edi
push eax
call esi
mov dword [0x1000942c], eax
test eax, eax
je 0x100030fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10009428], eax
mov eax, dword [0x10009428]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10003157
cmp dword [0x1000942c], ecx
je 0x10003157
push eax
call esi
push dword [0x1000942c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10003157
test ebx, ebx
je 0x10003157
call edi
test eax, eax
je 0x1000314e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000314e
test byte [ebp - 8], 1
jne 0x10003157
or dword [ebp + 0x10], 0x200000
jmp 0x1000318a
mov eax, dword [0x10009420]
cmp eax, dword [ebp - 0x18]
je 0x1000318a
push eax
call esi
test eax, eax
je 0x1000318a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000318a
mov eax, dword [0x10009424]
cmp eax, dword [ebp - 0x18]
je 0x1000318a
push eax
call esi
test eax, eax
je 0x1000318a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000941c]
call esi
test eax, eax
je 0x100031a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100031a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100033b6
leave
ret

Function at 0x100033b6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10008310]
jne 0x100033c0
repz ret
jmp fcn.10004626
Function at 0x435d60
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [0x43dafc], 0
jne 0x435d84
push 0x1019
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x435d84
xor eax, eax
jmp 0x435daa
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp eax, 0xfffffffe
je 0x435d93
xor eax, eax
jmp 0x435daa
mov eax, section..text
sub eax, 0x51615
mov dword [0x43db00], eax
mov eax, dword [0x43db00]
add eax, 4
mov esp, ebp
pop ebp
ret
Function at 0x4364e0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
jmp 0x4364f8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x43659c
mov edx, dword [ebp - 4]
sub edx, 0x231d
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + eax*2 + 0x463a]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
shr eax, 0xc
cmp eax, 3
jne 0x436597
mov ecx, dword [ebp - 8]
push ecx
call fcn.004364c0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x436556
push 0x154b
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x436556
xor eax, eax
jmp 0x43659c
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax - 0x4c3f8]
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx]
add ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov eax, dword [edx]
mov edx, dword [ebp + 0x10]
mov dword [edx + eax], ecx
mov eax, dword [ebp - 8]
sub eax, 0x4c3f8
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
sub edx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], edx
jmp 0x4364ef
mov esp, ebp
pop ebp
ret
Function at 0x10d7c00
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x72d000]
push edi
jmp 0x10d7c1a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10d7c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10d7c10
mov eax, 1
add ebx, ebx
jne 0x10d7c33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10d7c44
jne 0x10d7c63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10d7c63
dec eax
add ebx, ebx
jne 0x10d7c50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10d7c28
add ebx, ebx
jne 0x10d7c5f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10d7cb5
xor ecx, ecx
sub eax, 3
jb 0x10d7c7b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10d7cea
sar eax, 1
mov ebp, eax
jmp 0x10d7c86
add ebx, ebx
jne 0x10d7c86
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10d7c54
inc ecx
add ebx, ebx
jne 0x10d7c94
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10d7c54
add ebx, ebx
jne 0x10d7ca1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10d7c96
jne 0x10d7cb2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10d7c96
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10d7cd4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10d7cc6
jmp 0x10d7c16
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10d7cd4
add edi, ecx
jmp 0x10d7c16
pop esi
mov edi, esi
mov ecx, 0x482361
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x10d7d0f
cmp byte [edi], 0
jne 0x10d7cf4
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x10d7cf2
lea edi, [esi + 0xcd2000]
mov eax, dword [edi]
or eax, eax
je 0x10d7d60
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcee3c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcee5dc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10d7d15
mov ecx, edi
jns 0x10d7d44
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcee5e4]
or eax, eax
je 0x10d7d5a
mov dword [ebx], eax
add ebx, 4
jmp 0x10d7d32
call dword [esi + 0xcee5e0]
mov ebp, dword [esi + 0xcee5e8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10d7d94
sub esp, 0xffffff80
jmp 0x883128
Function at 0x401a24
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4360d0]
jne 0x401a2e
repz ret
jmp fcn.00402816

Function at 0x40dbab
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.00405f51
and dword [ebp - 4], 0
cmp dword [0x43f0c0], 0
mov ebx, eax
jne 0x40dc5c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40dd0d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40dd0d
push eax
call fcn.00405edf
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43f0c0], eax
call esi
push eax
call fcn.00405edf
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43f0c4], eax
call esi
push eax
call fcn.00405edf
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x43f0c8], eax
call esi
push eax
call fcn.00405edf
pop ecx
mov dword [0x43f0d0], eax
test eax, eax
je 0x40dc5c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405edf
pop ecx
mov dword [0x43f0cc], eax
mov eax, dword [0x43f0cc]
cmp eax, ebx
je 0x40dcb4
cmp dword [0x43f0d0], ebx
je 0x40dcb4
push eax
call fcn.00405f5a
push dword [0x43f0d0]
mov esi, eax
call fcn.00405f5a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40dcb4
test edi, edi
je 0x40dcb4
call esi
test eax, eax
je 0x40dcab
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40dcab
test byte [ebp - 0xc], 1
jne 0x40dcb4
or dword [ebp + 0x10], 0x200000
jmp 0x40dced
mov eax, dword [0x43f0c4]
cmp eax, ebx
je 0x40dced
push eax
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dced
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40dced
mov eax, dword [0x43f0c8]
cmp eax, ebx
je 0x40dced
push eax
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dced
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43f0c0]
call fcn.00405f5a
pop ecx
test eax, eax
je 0x40dd0d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40dd0f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43035b
Capabilities:
Compare security identifiers
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4360d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [0x43f5ac]
push edi
push dword [eax]
mov edi, dword [0x43f4f4]
call fcn.00430288
cmp dword [0x43f5ac], 0x2f
pop ecx
jne 0x4303ec
push esi
xor esi, esi
push esi
call dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownA]
lea eax, [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
lea eax, [ebp - 0x404]
push eax
push esi
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ReadEventLogW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
pop esi
push edi
call fcn.004302d2
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00401a24
leave
ret
Function at 0x43073e
Capabilities:
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x43f5ac], 0xbf9
jne 0x430761
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp dword [0x43f5ac], 0x3dc
mov dword [0x43f5a0], 0x8e55ceaa
jne 0x430790
push esi
push 0x433988
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.canofepusofijinufuj_vil_jacuvopagaruvahobidorojofutove
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
dec edi
jne 0x43074e
xor ebx, ebx
cmp ebx, 0x8465cd
jne 0x4307ac
mov eax, dword [0x43e574]
add eax, 0xa231
mov dword [0x43f5ac], eax
cmp dword [0x43f5ac], 0x141
jne 0x4307f2
xor eax, eax
mov word [ebp - 8], ax
lea edi, [ebp - 6]
stosw word es:[edi], ax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push dword [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputA]
or dword [0x43f274], 0xffffffff
mov dword [0x43f270], 0xec58acac
inc ebx
cmp ebx, 0x125483c
jl 0x430795
call fcn.00430401
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..00cfg
mov ebx, 0x408ecc
nop
mov ecx, 0x17f35df9
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x47f55360
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
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 0x68316c
push 1
push 0
push 0x68315c
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.0056a8a0
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.0056a8a0
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.0056a8a0
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 0x6831ac
push 1
push 0
push 0x68319c
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.0056a8a0
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.0056a8a0
mov eax, esi
add esp, 8
pop edi
pop esi
ret