joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43bcd0
Capabilities:
Set registry value

Disassembly:
push 0x16c
mov eax, 0x481cff
call fcn.00450edb
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov esi, dword [ebp + 0xc]
push edi
call fcn.0043a8d1
and dword [ebp - 4], 0
cmp dword [ebp - 0x48], 0
je 0x43bd2c
push 1
lea eax, [ebp - 0x58]
push eax
push ebx
lea ecx, [ebp - 0x94]
call fcn.0043aa20
push esi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0043bcd0
lea ecx, [ebp - 0x94]
call fcn.0043ab87
jmp 0x43bdc0
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x43bd36
mov edx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x43bd40
mov ecx, dword [edi]
mov eax, dword [esi + 0x10]
inc eax
push eax
push edx
push 1
push 0
push ecx
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xd4], eax
test eax, eax
jne 0x43bdd8
push eax
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x43bdc0
push edi
lea eax, [ebp - 0x70]
mov ecx, ebx
push eax
call fcn.0043af20
push 0
push esi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 7
push eax
call fcn.0043a766
add esp, 0x10
push eax
push str.Registry::setString
push 0x193
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_Registry.cpp
push 0
mov byte [ebp - 4], 8
call fcn.00425c61
mov ecx, eax
call fcn.00425e9d
lea ecx, [ebp - 0x28]
call fcn.004063d7
lea ecx, [ebp - 0x70]
call fcn.004063d7
lea ecx, [ebp - 0x40]
call fcn.004063d7
lea ecx, [ebp - 0x58]
call fcn.004063d7
call fcn.00450e8a
ret 8
push str.set_string_value
lea ecx, [ebp - 0x28]
call fcn.004038cc
lea ecx, [ebp - 0xd0]
call fcn.0040391d
push eax
push edi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x88]
mov ecx, ebx
push eax
call fcn.0043af50
push eax
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 4
call fcn.00427e9c
push str.System_error
push dword [ebp - 0xd4]
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 5
push dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [ebp - 0xe0]
push eax
call fcn.0043ca54
mov esi, eax
push 0x190
push str.Registry::setString
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_Registry.cpp
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00403a94
push eax
lea eax, [ebp - 0xb8]
push esi
push eax
call fcn.0041d5c0
add esp, 0xc
lea eax, [ebp - 0xb8]
push 0x4a7474
push eax
call fcn.0045437c
int3
Function at 0x43bf0c
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x74
mov eax, dword [0x4b34c4]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
mov esi, dword [esp + 0x84]
push edi
mov edi, ecx
lea ecx, [esp + 0x2c]
push esi
call fcn.0043a8d1
xor ebx, ebx
cmp dword [esp + 0x3c], ebx
je 0x43bfb0
mov eax, dword [edi + 8]
push ebx
or eax, 0x20019
push eax
lea eax, [esp + 0x34]
push eax
push dword [edi]
lea eax, [esp + 0x28]
push 0x494e00
push eax
call fcn.0043b866
add esp, 0x18
cmp dword [esp + 0x20], ebx
jne 0x43bfa5
push ebp
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ecx
mov ecx, esp
push edi
mov dword [ecx], eax
mov al, byte [esp + 0x34]
mov byte [ecx + 4], al
lea ecx, [esp + 0x74]
mov byte [esp + 0x34], bl
call fcn.0043a908
mov ecx, eax
call fcn.0043bf0c
lea ecx, [esp + 0x5c]
mov bl, al
call fcn.0043ab87
lea ecx, [esp + 0x18]
call fcn.0043ab3d
jmp 0x43bfe6
cmp dword [esi + 0x14], 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], ebx
jb 0x43bfc0
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x18]
push eax
push ebx
push esi
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43bfe6
test ebp, ebp
je 0x43bfe4
mov eax, dword [esp + 0x10]
mov dword [ebp], eax
mov bl, 1
lea ecx, [esp + 0x44]
call fcn.004063d7
lea ecx, [esp + 0x2c]
call fcn.004063d7
mov ecx, dword [esp + 0x80]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00450e68
add esp, 0x74
ret 8
Function at 0x43cfb9
Capabilities:
Create thread

Disassembly:
push 0x6c
mov eax, 0x482032
call fcn.00450edb
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
test esi, esi
jne 0x43cfd7
or dword [edi], 0xffffffff
jmp 0x43d07b
xor ebx, ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
cmp byte [ebp + 0x10], bl
je 0x43cff6
push esi
call fcn.0043cda7
pop ecx
mov esi, eax
lea ecx, [ebp - 0x48]
push esi
call fcn.0043cf85
lea ecx, [ebp - 0x54]
call fcn.0043c432
or dword [ebp - 0x38], 0xffffffff
lea eax, [ebp - 0x54]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
push eax
push 0x43cd8d
push ebx
push ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], ebx
call fcn.00464ca2
mov esi, eax
add esp, 0x18
test esi, esi
je 0x43d083
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x6c]
call fcn.0043c012
lea eax, [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c], esi
call fcn.0043c5b9
jmp 0x43d060
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x6c]
push 0xffffffffffffffff
push eax
call fcn.0043c69b
cmp dword [ebp - 0x3c], 0
jne 0x43d052
lea ecx, [ebp - 0x6c]
call fcn.0043c106
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x54]
mov dword [edi], eax
call fcn.0043c52d
mov eax, edi
call fcn.00450e8a
ret
lea ecx, [ebp - 0x78]
call fcn.0043c4ed
mov esi, eax
push 0x70
push str.ipc::Thread::start
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_ipc_windows_ThreadImpl.cpp
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.00403a94
push eax
lea eax, [ebp - 0x34]
push esi
push eax
call fcn.0043c399
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x4ac7d0
push eax
call fcn.0045437c
int3
Function at 0x43fef4
Capabilities:
Check mutex on windows

Disassembly:
push 0xa0
mov eax, 0x48287e
call fcn.00450ea8
push str.Global_MSIExecute
xor ebx, ebx
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov esi, eax
mov byte [ebp - 0x10], 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], ebx
test esi, esi
je 0x43ffb4
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
cmp dword [ebp + 8], ebx
je 0x43ffac
push 1
call fcn.00425c61
mov ecx, eax
call fcn.00425e91
test al, al
je 0x43ffac
push 1
lea ecx, [ebp - 0xac]
call fcn.004037e9
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 1
push str.finish_waiting_for_mutex:
push eax
call fcn.00402c16
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0xac]
call fcn.004042ce
lea eax, [ebp - 0xac]
push eax
push str.msi::waitForInstallationCompletion
push 0x1c8
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u381_237_install_src_windows_common_MsiUtils.cpp
push 1
call fcn.00425c61
mov ecx, eax
call fcn.0040718f
lea ecx, [ebp - 0xac]
call fcn.004045d2
cmp edi, 0x102
je 0x43ffb6
mov bl, 1
push esi
mov dword [ebp - 4], 3
call fcn.0043d963
pop ecx
mov al, bl
call fcn.00450e76
ret
Function at 0x442801
Capabilities:
Write file on windows

Disassembly:
push 0xd4
mov eax, 0x483090
call fcn.00450edb
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xe0]
xor ebx, ebx
call fcn.00449245
push dword [esi + 4]
lea eax, [ebp - 0xe0]
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x2c], eax
call fcn.00447dfe
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd4]
call fcn.0040776e
push edi
mov byte [ebp - 4], 1
call fcn.00448c4b
pop ecx
cmp dword [ebp - 0x18], ebx
jne 0x442872
mov esi, 0x48854c
push esi
call fcn.00456520
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040655e
push 0x494e00
push 0x48fc5c
lea eax, [ebp - 0x40]
push edi
push eax
call fcn.00448f17
add esp, 0x10
mov cl, byte [eax + 4]
mov edx, dword [eax]
mov byte [eax + 4], bl
mov dword [ebp - 0x38], edx
mov byte [ebp - 0x34], cl
cmp byte [ebp - 0x3c], 0
mov byte [ebp - 4], 3
je 0x4428b0
push dword [ebp - 0x40]
mov byte [ebp - 0x3c], bl
call fcn.0047a1f1
mov edx, dword [ebp - 0x38]
pop ecx
mov byte [ebp - 4], 2
test edx, edx
jne 0x44292b
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00448c09
pop ecx
pop ecx
mov bl, byte [eax + 4]
mov esi, dword [eax]
mov byte [eax + 4], 0
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], bl
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 4], 5
je 0x4428ea
push dword [ebp - 0x30]
mov byte [ebp - 0x2c], 0
call fcn.0047a1e5
pop ecx
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x132
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
push eax
push esi
call fcn.00463479
add esp, 0xc
push eax
call fcn.004424bc
add esp, 0xc
mov byte [ebp - 4], 6
test bl, bl
je 0x4429a4
push esi
call fcn.0047a1e5
jmp 0x4429a3
lea eax, [ebp - 0x38]
push eax
push 0x48fc60
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.00448f4c
add esp, 0x10
mov bl, byte [eax + 4]
mov esi, dword [eax]
mov byte [eax + 4], 0
mov dword [ebp - 0x40], esi
mov byte [ebp - 0x3c], bl
cmp byte [ebp - 0x2c], 0
mov byte [ebp - 4], 9
je 0x442967
push dword [ebp - 0x30]
mov byte [ebp - 0x2c], 0
call fcn.0047a1f1
pop ecx
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
push 1
push dword [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
call fcn.00460306
push dword [ebp - 0x34]
push 0x132
push eax
push 1
call fcn.0044246f
add esp, 0x20
mov byte [ebp - 4], 0xa
test bl, bl
je 0x4429a4
push esi
call fcn.0047a1f1
pop ecx
cmp byte [ebp - 0x34], 0
mov byte [ebp - 4], 0xb
je 0x4429bb
push dword [ebp - 0x38]
mov byte [ebp - 0x34], 0
call fcn.0047a1f1
pop ecx
lea ecx, [ebp - 0x28]
call fcn.004063d7
lea ecx, [ebp - 0xd8]
call fcn.004045d2
call fcn.00450e8a
ret 4

Function at 0x4485d1
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
add eax, 0x18
cmp dword [eax + 0x14], 8
jb 0x4485e0
mov eax, dword [eax]
push eax
call fcn.004653e4
pop ecx
ret
Function at 0x449702
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x4840ae
call fcn.00450ea8
push 0x4906d4
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
call fcn.00448ed2
add esp, 0xc
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [ebp - 0xd], cl
mov byte [eax + 4], bl
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], cl
xor esi, esi
inc esi
mov dword [ebp - 4], esi
cmp byte [ebp - 0x1c], bl
je 0x44974c
push dword [ebp - 0x20]
mov byte [ebp - 0x1c], bl
call fcn.0047a1f1
pop ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 4], 2
push eax
push 0x100001
lea ecx, [ebp - 0x24]
call fcn.0041afd1
push edi
push 0x100000
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.0045fd00
mov ebx, eax
add esp, 0x10
cmp ebx, 0x100000
ja 0x44981d
push edi
call fcn.0046665e
pop ecx
test eax, eax
je 0x4497a0
push 0x133
jmp 0x449822
push edi
call fcn.00466632
pop ecx
test eax, eax
jne 0x4497b2
push 0x13b
jmp 0x449822
push ebx
push esi
call fcn.00449f89
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xe]
push eax
lea eax, [esi + ebx]
push eax
push esi
call fcn.00419676
test esi, esi
je 0x449800
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x4497f7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004055a1
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
pop ecx
pop ecx
push eax
push esi
call fcn.00450c04
pop ecx
pop ecx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 3
je 0x449814
push edi
call fcn.0047a1f1
pop ecx
mov eax, dword [ebp + 8]
call fcn.00450e76
ret
push 0xc8
lea ecx, [ebp - 0x38]
call fcn.00414854
push 0x4a57e4
lea eax, [ebp - 0x38]
push eax
call fcn.0045437c
int3

Function at 0x449fc4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x23c]
sub esp, 0x23c
push 0xffffffffffffffff
push 0x484221
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x4b34c4]
xor eax, ebp
mov dword [ebp + 0x238], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x244]
lea eax, [ebp + 0x30]
push eax
xor edi, edi
mov dword [ebp - 0x10], esi
push edi
push edi
push 0x2c
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push dword [ebp - 0x10]
push 0xc8
push eax
push edi
call fcn.0044246f
add esp, 0x10
lea eax, [ebp + 0x30]
lea ecx, [ebp]
push eax
call fcn.0041e885
push dword [0x4b346c]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.0043dee7
push eax
push esi
mov byte [ebp - 4], 1
call fcn.004485e8
add esp, 0x14
lea ecx, [ebp + 0x18]
call fcn.004063fd
lea ecx, [ebp]
call fcn.004063fd
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x238]
xor ecx, ebp
call fcn.00450e68
add ebp, 0x23c
leave
ret
Function at 0x44ef60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push 4
pop edx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x491740]
sub edx, 1
jne 0x44ef67
ret

Function at 0x451c95
Capabilities:
Parse pe header

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

Function at 0x46b1cc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 0xc], 0x4b5654
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x48]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
Function at 0x46d4b6
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0046d32c

Function at 0x4712dd
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047125f

Function at 0x474488
Capabilities:
Set environment variable

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

Function at 0x47a320
Capabilities:
Parse pe header

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

Function at 0x41a420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
jmp 0x41a43a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41a441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41a430
mov eax, 1
add ebx, ebx
jne 0x41a453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41a448
jne 0x41a464
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a448
xor ecx, ecx
sub eax, 3
jb 0x41a478
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a4ea
mov ebp, eax
add ebx, ebx
jne 0x41a483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41a490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41a4b4
inc ecx
add ebx, ebx
jne 0x41a4a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41a495
jne 0x41a4b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a495
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a4d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a4c5
jmp 0x41a436
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a4d4
add edi, ecx
jmp 0x41a436
pop esi
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41a533
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a704]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a784]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a4f1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a78c]
or eax, eax
je 0x41a52d
mov dword [ebx], eax
add ebx, 4
jmp 0x41a50e
call dword [esi + 0x1a788]
mov ebp, dword [esi + 0x1a790]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x41a567
sub esp, 0xffffff80
jmp 0x40d86c
Function at 0x401070
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov dword [ebp - 0x10], 0x1000
mov dword [esp], 0x1000
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x401110
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], esi
mov edi, dword [sym.imp.iphlpapi.dll_GetAdaptersAddresses]
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call edi
sub esp, 0x14
cmp eax, 0x6f
jne 0x40110c
lea esi, [esi]
mov eax, dword [ebp - 0x10]
mov dword [esp], esi
mov ebx, esi
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_realloc]
mov esi, eax
test eax, eax
je 0x40111a
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], pe_nt_image_headers32
mov dword [esp], 0
call edi
sub esp, 0x14
cmp eax, 0x6f
je 0x4010c8
test eax, eax
jne 0x40111c
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, ebx
mov dword [esp], esi
xor esi, esi
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401210
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x403c
call fcn.00401040
sub esp, eax
lea esi, [ebp - 0x400c]
lea edi, [ebp - 0x4010]
mov eax, dword [esp + eax]
mov dword [ebp - 0x4014], edx
lea edx, [ebp - 0x4014]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], 0x2000
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x400
call dword [sym.imp.kernel32.dll_FormatMessageW]
mov ebx, eax
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
sub esp, 0x1c
mov dword [esp], 0xfffffff5
mov dword [ebp - 0x4018], eax
call eax
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x4012c0
mov edx, dword [ebp - 0x4010]
lea esp, [ebp - 0xc]
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [ebp - 0x4024], eax
mov dword [ebp - 0x402c], ecx
call ecx
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [ebp - 0x4028], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x401c], eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov edx, dword [ebp - 0x4024]
test eax, eax
mov dword [ebp - 0x4020], eax
je 0x4012b5
mov ecx, dword [ebp - 0x402c]
call ecx
mov edx, dword [ebp - 0x401c]
mov ecx, dword [ebp - 0x4020]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov ebx, dword [ebp - 0x4028]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov ebx, dword [ebp - 0x4018]
sub esp, 0x20
mov dword [esp], 0xfffffff5
call ebx
mov edx, dword [ebp - 0x401c]
sub esp, 4
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x4020]
mov dword [esp + 8], edx
mov dword [esp + 4], edi
mov dword [esp + 0x10], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
sub esp, 0x14
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_free]
jmp 0x4012af
Function at 0x401e80
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
Function at 0x4047b3
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SOFTWARECimLM
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4047e2
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
leave
ret 4

Function at 0x4047e6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWARECimLM
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40484b
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
cmp dword [0x4bc11c], esi
je 0x40488e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SOFTWAREWow6432NodeCimLM
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x40488e
push dword [ebp - 0xc]
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call edi
push dword [ebp - 4]
call ebx
pop edi
pop esi
pop ebx
leave
ret 8