joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x419e94
add eax, eax
lea ecx, [esi + 0x2c]
push eax
call fcn.00410750
test al, al
je 0x419fd7
push 0
push 0x8800
lea ecx, [esi + 0x40]
call fcn.00408ce0
test al, al
je 0x419fd7
mov ecx, dword [esi + 0x50]
mov eax, dword [esi + 0x14]
add ecx, 0x400
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
lea eax, [ecx + 0x8000]
mov dword [esi + 0x10], 0
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0x80], ecx
mov dword [esi + 0x7c], ecx
mov dword [esi + 0xa4], 1
mov dword [esi + 0xc], 1
cmp dword [esi + 0x18], 0
je 0x419f60
mov ecx, esi
call fcn.0041a470
mov edx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
sub edx, dword [esi + 0x1c]
je 0x419f56
mov ecx, dword [esi + 8]
push 0x45b4e0
push edx
push dword [esi + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
call eax
test al, al
je 0x419f4f
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
shr eax, 0xd
test al, 1
jne 0x419f4f
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
jmp 0x419f56
mov dword [esi + 0x10], 0xffffffff
cmp dword [esi + 0x10], 0
je 0x419f02
nop dword [eax]
mov ecx, esi
call fcn.0041a470
mov edx, dword [esi + 0x14]
mov dword [esi + 0x10], eax
sub edx, dword [esi + 0x1c]
je 0x419fb5
mov ecx, dword [esi + 8]
push 0x45b4e0
push edx
push dword [esi + 0x3c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa8]
call eax
test al, al
je 0x419fae
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
shr eax, 0xd
test al, 1
jne 0x419fae
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x419f60
jmp 0x419fb8
mov dword [esi + 0x10], 0xffffffff
mov eax, dword [esi + 0x10]
test eax, eax
je 0x419ff3
cmp eax, 1
je 0x419ff3
mov eax, dword [esp + 8]
push dword [esp + 0xc]
push str.Decompression_error_in___s_._File_may_be_corrupted
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
add esp, 0xc
mov eax, dword [esi + 0xac]
lea ecx, [esi + 0xac]
mov dword [esi + 0x10], 0xfffffffc
call dword [eax + 0xc]
xor al, al
pop esi
ret 8
mov eax, dword [esi + 0xac]
lea ecx, [esi + 0xac]
call dword [eax + 0xc]
mov al, 1
pop esi
ret 8
Function at 0x41ac80
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov al, byte [esi]
test al, al
jne 0x41ade3
mov eax, dword [0x45dca4]
cmp eax, 0x80040007
jne 0x41acb9
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [0x45dca4], eax
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
test eax, eax
jns 0x41acdb
push 0
push str.WMI_error
push eax
mov ecx, ebp
call fcn.00414ca0
test al, al
je 0x41adce
mov ecx, dword [esi + 0xc]
lea edi, [esi + 0xc]
test ecx, ecx
je 0x41aceb
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
push 0x44a89c
push 1
push 0
push 0x44d888
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
jns 0x41ad5b
push str.WbemLocator
push str.Failed_to_instantiate_COM_object
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x24], 0
call fcn.004145f0
add esp, 0x10
test al, al
je 0x41ad4c
push 0
push dword [esp + 0x14]
mov ecx, ebp
push ebx
call fcn.00414ca0
test al, al
je 0x41ad4c
mov bl, 1
jmp 0x41ad4e
xor bl, bl
lea ecx, [esp + 0x10]
call fcn.00405f20
test bl, bl
je 0x41adce
mov ebx, dword [edi]
lea edi, [esi + 0x14]
mov ecx, dword [edi]
test ecx, ecx
je 0x41ad6c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [edi], 0
mov eax, dword [ebx]
push str.ROOTCIMV2
push ebx
call dword [eax + 0xc]
test eax, eax
jns 0x41ada1
push 0
push str.WMI_error
push eax
mov ecx, ebp
call fcn.00414ca0
test al, al
je 0x41adce
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [edi]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x41addc
push 0
push str.WMI_error
push eax
mov ecx, ebp
call fcn.00414ca0
test al, al
jne 0x41addc
pop edi
pop ebp
xor al, al
pop ebx
mov byte [esi], al
pop esi
add esp, 8
ret 4
pop edi
mov al, 1
pop ebp
mov byte [esi], al
pop ebx
pop esi
add esp, 8
ret 4

Function at 0x41b430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 0xc]
sub esp, 0x150
push ebp
push esi
mov esi, dword [esp + 0x15c]
push edi
push 0xa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41b4f3
push ebx
lea ecx, [esp + 0x10]
xor bl, bl
call fcn.004039b0
push dword [esp + 0x168]
lea ecx, [esp + 0x14]
push 0x400
push dword [esp + 0x178]
call fcn.00408d80
test al, al
je 0x41b4d6
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [esp + 0x170]
lea ecx, [esp + 0x14]
push dword [esp + 0x16c]
push ecx
push esi
push eax
lea ecx, [esp + 0xbc]
call fcn.004188c0
mov ecx, eax
call fcn.00419e60
lea ecx, [esp + 0xa8]
mov bl, al
call fcn.00418930
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [esp + 0x10]
call fcn.00405680
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x150
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x150
ret
Function at 0x41b510
Capabilities:
Delete file

Disassembly:
sub esp, 0x298
mov eax, dword [0x45e068]
xor eax, esp
mov dword [esp + 0x294], eax
push ebx
mov ebx, dword [esp + 0x2a4]
lea eax, [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x2a4]
lea ecx, [esp + 0x78]
push esi
push edi
push 0
push pe_nt_image_headers32
push 2
push eax
mov dword [esp + 0x24], ebp
call fcn.00403920
mov eax, dword [esp + 0x90]
xor ecx, ecx
push 0x5c
push ebx
mov word [eax], cx
call fcn.0040c630
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x41b587
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41b576
sub esi, edx
sar esi, 1
jmp 0x41b589
xor esi, esi
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x88]
call fcn.004130f0
cmp esi, 4
jbe 0x41b5ab
mov eax, dword [esp + 0x90]
xor ecx, ecx
mov word [eax + esi*2 - 8], cx
lea ecx, [esp + 0x18]
mov esi, 0x115d
call fcn.00404a70
push ebx
push 0
push 0xa
push 0x2be
push ebp
lea ecx, [esp + 0x2c]
call fcn.00409220
test al, al
je 0x41b5fa
mov eax, dword [esp + 0x70]
mov ecx, 4
cmp eax, ecx
cmova eax, ecx
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x18]
push eax
call fcn.00422b90
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
cmovne esi, eax
push ebp
push esi
push ebx
call fcn.00420450
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.00405e10
push dword [esp + 0x90]
push ebp
call fcn.0041cfa0
add esp, 8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call ebp
mov edi, 2
nop word [eax + eax]
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
call fcn.004130f0
lea ecx, [esp + 0x80]
call fcn.0040c5f0
mov esi, eax
sub edi, 1
jne 0x41b66f
push 0x2e
push esi
call fcn.0042212e
add esp, 8
mov esi, eax
test esi, esi
je 0x41b6b5
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b680
sub ecx, edx
lea eax, [esi + 2]
sar ecx, 1
lea ecx, [ecx*2 + 2]
push ecx
push esi
push eax
call fcn.00421af0
add esp, 0xc
mov eax, 0x5f
mov word [esi], ax
push dword [esp + 0x90]
call ebp
test edi, edi
jne 0x41b640
push ebx
lea ecx, [esp + 0x84]
call fcn.004132f0
lea ecx, [esp + 0x80]
call fcn.0040c5f0
push 0x5f
lea ecx, [esp + 0x84]
mov esi, eax
call fcn.00407080
push esi
push dword [esp + 0x18]
call fcn.0041cfa0
add esp, 8
lea ecx, [esp + 0x80]
push 1
push 0x44a924
call fcn.00412a30
push dword [esp + 0x90]
call ebp
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x88]
call fcn.004130f0
push 1
push str.snap
lea ecx, [esp + 0x88]
call fcn.00412a30
push dword [esp + 0x90]
call ebp
lea ecx, [esp + 0x80]
call fcn.00408250
mov ecx, dword [esp + 0x2a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00420bdf
add esp, 0x298
ret
Function at 0x41f9c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x244
mov eax, dword [0x45e068]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
mov ebp, dword [esp + 0x254]
push esi
push edi
mov edi, dword [esp + 0x258]
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x41fb30
push 1
lea ecx, [esp + 0x1c]
call fcn.004038f0
push 0
push esi
lea ecx, [esp + 0x20]
call fcn.00408ce0
test al, al
je 0x41fade
push dword [esp + 0x28]
push esi
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41fac2
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
push str.StringFileInfo040904B0FileDescription
push dword [esp + 0x34]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41fa9e
cmp dword [esp + 0x10], 0
je 0x41fa7a
push dword [esp + 0x14]
mov ecx, ebp
call fcn.004131f0
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00408250
jmp 0x41fb46
mov eax, dword [vtable.ErrorClass.0]
mov ecx, 0x45b4e0
push str.Could_not_retrieve_File_Description
mov eax, dword [eax + 4]
call eax
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00408250
jmp 0x41fb46
mov eax, dword [vtable.ErrorClass.0]
mov ecx, 0x45b4e0
push str.File_Description_could_not_be_found_in_the_Version_resource
mov eax, dword [eax + 4]
call eax
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00408250
jmp 0x41fb46
push str.Could_not_retrieve_Version_information_for_the_running_binary
mov ecx, 0x45b4e0
call fcn.0040fe40
lea ecx, [esp + 0x18]
mov bl, al
call fcn.00408250
jmp 0x41fb46
lea ecx, [esp + 0x18]
call fcn.00408250
push 0
push pe_nt_image_headers32
push 2
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00403920
mov eax, dword [esp + 0x3c]
xor ecx, ecx
push 0xffffffffffffffff
push edi
mov word [eax], cx
lea ecx, [esp + 0x34]
call fcn.004130f0
test al, al
je 0x41fb4e
lea ecx, [esp + 0x2c]
call fcn.0040c5f0
push eax
mov ecx, ebp
call fcn.004131f0
test al, al
je 0x41fb4e
mov bl, 1
jmp 0x41fb50
mov eax, dword [vtable.ErrorClass.0]
mov ecx, 0x45b4e0
push str.Version_resource_is_not_present_in_the_running_binary
mov eax, dword [eax + 4]
call eax
mov bl, al
test bl, bl
je 0x41fae7
mov al, 1
jmp 0x41fb5b
xor bl, bl
lea ecx, [esp + 0x2c]
call fcn.00408250
mov al, bl
mov ecx, dword [esp + 0x250]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00420bdf
add esp, 0x244
ret
Function at 0x41fb80
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], vtable.SmartCOMPointer_struct_INetFwMgr_.0
push eax
push 0x44d5a4
push 1
push 0
push 0x44cf1c
mov ebp, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
mov dword [esp + 0x28], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, dword [esp + 0x2c]
mov esi, eax
test esi, esi
jns 0x41fc25
push str.Windows_Firewall_Manager
push str.Failed_to_instantiate_COM_object
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x34], 0
call fcn.004145f0
add esp, 0x10
test al, al
je 0x41fc12
push 0
push dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.00414ca0
test al, al
je 0x41fc12
mov bl, 1
jmp 0x41fc14
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.00405f20
test bl, bl
je 0x41fd21
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x41fc37
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x14]
mov eax, dword [esi]
push ecx
push esi
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x41fca5
push str.Windows_Firewall_Local_Policy
push str.COM_error_occurred
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x34], 0
call fcn.004145f0
add esp, 0x10
test al, al
je 0x41fc96
push 0
push dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.00414ca0
test al, al
je 0x41fc96
mov bl, 1
jmp 0x41fc98
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.00405f20
test bl, bl
je 0x41fd21
mov ecx, dword [ebp + 4]
lea esi, [ebp + 4]
mov ebx, dword [esp + 0x14]
test ecx, ecx
je 0x41fcb9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], 0
mov eax, dword [ebx]
push esi
push ebx
call dword [eax + 0x1c]
mov esi, eax
test esi, esi
jns 0x41fd25
push str.Windows_Firewall_Profile
push str.COM_error_occurred
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x441510
push str._s__Message:___s_
push eax
mov dword [esp + 0x34], 0
call fcn.004145f0
add esp, 0x10
test al, al
je 0x41fd12
push 0
push dword [esp + 0x24]
mov ecx, edi
push esi
call fcn.00414ca0
test al, al
je 0x41fd12
mov bl, 1
jmp 0x41fd14
xor bl, bl
lea ecx, [esp + 0x20]
call fcn.00405f20
test bl, bl
jne 0x41fd25
xor bl, bl
jmp 0x41fd27
mov bl, 1
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], vtable.SmartCOMPointer_struct_INetFwPolicy_.0
test ecx, ecx
je 0x41fd3d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], vtable.SmartCOMPointer_struct_INetFwMgr_.0
test eax, eax
je 0x41fd53
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x18
ret 4
Function at 0x424a80
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x44da9c
push str.FlsAlloc
push 0
call fcn.004249f9
mov esi, eax
add esp, 0x10
test esi, esi
je 0x424ab2
push dword [ebp + 8]
mov ecx, esi
call fcn.004216de
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x424af4
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x44dac0
push str.FlsGetValue
push 2
call fcn.004249f9
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x424b25
mov ecx, esi
call fcn.004216de
call esi
jmp 0x424b2b
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x424b2e
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x44dad4
push str.FlsSetValue
push 3
call fcn.004249f9
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x424b62
mov ecx, esi
call fcn.004216de
call esi
jmp 0x424b68
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x436342
Capabilities:
Set environment variable

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x3824583
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x76a0bed
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x10001200
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push 0x20219
push ebx
mov dword [ebp - 8], 0x208
call fcn.100010c2
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10001256
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
push ebx
push ebx
push str.WriteableHKCU
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret
Function at 0x100043ca
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x10016050]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [ebp - 0x118]
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x110], esi
call fcn.10004378
mov ebx, eax
cmp ebx, esi
je 0x10004436
cmp dword [ebp - 0x118], esi
je 0x1000442f
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x100044ce
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000445e
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x118]
call fcn.100043ca
mov dword [ebp - 0x124], eax
cmp eax, esi
jne 0x100044df
lea eax, [ebp - 0x12c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push dword [ebp - 0x118]
mov dword [ebp - 0x11c], pe_nt_image_headers32
call ebx
test eax, eax
je 0x1000443e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x118], esi
je 0x100044a9
push dword [ebp - 0x118]
call ebx
mov dword [ebp - 0x118], esi
push dword [ebp - 0x120]
mov dword [ebp - 0x114], esi
call fcn.10004599
mov edi, eax
cmp dword [ebp - 0x118], esi
je 0x100044cc
push dword [ebp - 0x118]
call ebx
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000715b
leave
ret 4
cmp dword [ebp - 0x118], esi
je 0x100044f3
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x124]
jmp 0x100044ce
Function at 0x10004e6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x1000f8ca
call fcn.1000d1b5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x41c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x10004f1b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x420]
inc eax
push ecx
mov dword [ebp - 0x420], eax
call fcn.10003c63
pop ecx
test eax, eax
js 0x10004f1b
mov ebx, dword [ebp - 0x420]
cmp ebx, 0x400
jg 0x10004efd
push ebx
call fcn.10003cc6
pop ecx
test al, al
je 0x10004efd
mov eax, ebx
call fcn.1000cc00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x10004f0a
mov eax, ebx
lea esi, [ebp - 0x41c]
call fcn.10003d32
push 3
push ebx
push edi
mov esi, eax
call fcn.100018d2
test eax, eax
jne 0x10004f5f
xor ebx, ebx
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10004f34
lea eax, [ebp - 0x418]
call fcn.1000361b
cmp dword [ebp - 0x41c], ebx
je 0x10004f55
mov eax, dword [ebp - 0x41c]
mov esi, dword [eax]
push eax
mov dword [ebp - 0x41c], esi
call fcn.10008f7e
pop ecx
cmp esi, ebx
jne 0x10004f3c
mov eax, 0x8007000e
jmp 0x100050bb
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x420], edi
test edi, edi
jne 0x10004f82
call fcn.10003631
mov edi, eax
jmp 0x1000507e
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x10004fa5
call fcn.10003631
jmp 0x10005070
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x424], eax
test eax, eax
je 0x10004f9b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x428], esi
cmp eax, esi
jae 0x10004fd8
mov edi, 0x8007000e
jmp 0x10005072
xor ecx, ecx
mov byte [ebp - 4], 2
ja 0x10004fe5
cmp eax, 0xffffffff
jbe 0x10004fef
push 0x80070216
call fcn.10005628
cmp eax, 0x400
jbe 0x1000501a
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.10003646
jmp 0x10005026
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x10004fce
push esi
push dword [ebp - 0x424]
push esi
push dword [ebp - 0x418]
call fcn.100090a3
push eax
call fcn.10004256
mov eax, dword [ebp - 0x418]
add esp, 0x14
push dword [ebp + 0x14]
mov byte [eax + esi], 0
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x430]
call fcn.10004d1c
mov edi, eax
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10005097
lea eax, [ebp - 0x418]
call fcn.1000361b
cmp dword [ebp - 0x41c], 0
je 0x100050b9
mov eax, dword [ebp - 0x41c]
mov esi, dword [eax]
push eax
mov dword [ebp - 0x41c], esi
call fcn.10008f7e
pop ecx
test esi, esi
jne 0x100050a0
mov eax, edi
lea esp, [ebp - 0x440]
call fcn.1000d211
ret 0x10
Function at 0x10006c01
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
cmp esi, ebx
je 0x10006c7b
push edi
push 0x100173c0
push esi
call fcn.10008a21
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x10006c73
push edi
push esi
push ebx
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x10006c73
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x1001228c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x10006c73
cmp dword [ebp - 4], ebx
je 0x10006c73
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [edx], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
inc ebx
push edi
call fcn.10007150
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x10006c81
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor ebx, ebx
or edi, 0xffffffff
lea eax, [ebp - 4]
cmp dword [ebp + 0xc], ebx
je 0x10006d09
push ebx
push eax
push dword [ebp + 0xc]
push 0x20219
push dword [ebp + 0x10]
call dword [sym.imp.SHLWAPI.dll_SHRegOpenUSKeyA]
test eax, eax
je 0x10006cb4
xor eax, eax
jmp 0x10006d76
mov esi, dword [sym.imp.SHLWAPI.dll_SHRegQueryUSValueA]
push ebx
push ebx
push ebx
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x10006cfe
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x1c]
jge 0x10006cfe
inc dword [ebp + 0xc]
push ebx
push ebx
push ebx
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x14]
push dword [ebp - 4]
call esi
mov edi, eax
cmp edi, ebx
je 0x10006cfe
mov eax, dword [ebp + 0x18]
mov byte [eax], bl
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHRegCloseUSKey]
jmp 0x10006d6f
push eax
push 0x20219
push ebx
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006cad
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 4]
call esi
test eax, eax
jne 0x10006d66
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x1c]
jge 0x10006d66
inc dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x18]
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 0x14]
push dword [ebp - 4]
call esi
mov edi, eax
cmp edi, ebx
je 0x10006d66
mov eax, dword [ebp + 0x18]
mov byte [eax], bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp edi, ebx
sete al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000715b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10016050]
jne 0x10007165
repz ret
jmp fcn.10009b51