joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ebc0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43ec52
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43ec44
mov ebp, dword [sym.imp.KERNEL32.DLL_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43ec3c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43ec05
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret

Function at 0x43ec60
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x43ecca
push esi
lea edi, [eax + 0x400]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x43ec9a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43ece6
push ecx
push esi
call fcn.0043f600
add esp, 8
mov ebx, eax
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x43ed40
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x43ed5e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x43ed53
pop esi
ret
Function at 0x411ccc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44a600]
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.00409b2f
and dword [ebp - 0x14], 0
cmp dword [0x45127c], 0
mov dword [ebp - 0x18], eax
jne 0x411d7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411e27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x411e27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x45127c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x451280], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x451284], eax
call edi
push eax
call esi
mov dword [0x45128c], eax
test eax, eax
je 0x411d7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x451288], eax
mov eax, dword [0x451288]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411dd8
cmp dword [0x45128c], ecx
je 0x411dd8
push eax
call esi
push dword [0x45128c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411dd8
test ebx, ebx
je 0x411dd8
call edi
test eax, eax
je 0x411dcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x411dcf
test byte [ebp - 8], 1
jne 0x411dd8
or dword [ebp + 0x10], 0x200000
jmp 0x411e0b
mov eax, dword [0x451280]
cmp eax, dword [ebp - 0x18]
je 0x411e0b
push eax
call esi
test eax, eax
je 0x411e0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411e0b
mov eax, dword [0x451284]
cmp eax, dword [ebp - 0x18]
je 0x411e0b
push eax
call esi
test eax, eax
je 0x411e0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45127c]
call esi
test eax, eax
je 0x411e27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411e29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004056af
leave
ret
Function at 0x4a23f7
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x4a241e
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x4a2481
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x4a233d
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x4a233d
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x4a246b
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x4a2475
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x4a24ca
push edi
add edi, 0x384f
and edi, 0x726d
pop edi
push edx
push eax
add esp, 4
sub edx, 0x8603
add edx, 0x12b47
or edx, 0xf7d0
pop edx
push ebx
push edx
add esp, 4
sub ebx, 0x587
pop ebx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x4a2532
push eax
push edi
add esp, 4
xor eax, 0x96a9
jmp 0x4a24dd
and eax, 0x10221
pop eax
push edi
push eax
add esp, 4
call 0x4a24f8
add byte [ebx], dh
aas
dec ebx
cmp dword ss:[0x83333d4b], edi
les eax, [edi + ebx*2]
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x4a2528
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x4a22de
mov dword [ebp - 0x2e0], 0

Function at 0x4a24f8
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
movzx edx, word [ebp - 0x100]
test edx, edx
jne 0x4a241e
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
sub eax, ecx
mov dword [ebp - 0x1498], eax
jmp 0x4a2481
movzx edx, word [ebp - 0x1f8]
movzx eax, word [ebp - 0x100]
cmp edx, eax
je 0x4a233d
movzx ecx, word [ebp - 0x1f8]
xor ecx, 0x20
movzx edx, word [ebp - 0x100]
cmp ecx, edx
je 0x4a233d
movzx eax, word [ebp - 0x1f8]
movzx ecx, word [ebp - 0x100]
cmp eax, ecx
jge 0x4a246b
mov dword [ebp - 0x14d8], 0xffffffff
jmp 0x4a2475
mov dword [ebp - 0x14d8], 1
mov edx, dword [ebp - 0x14d8]
mov dword [ebp - 0x1498], edx
cmp dword [ebp - 0x1498], 0
jne 0x4a24ca
push edi
add edi, 0x384f
and edi, 0x726d
pop edi
push edx
push eax
add esp, 4
sub edx, 0x8603
add edx, 0x12b47
or edx, 0xf7d0
pop edx
push ebx
push edx
add esp, 4
sub ebx, 0x587
pop ebx
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x2e0], eax
jmp 0x4a2532
push eax
push edi
add esp, 4
xor eax, 0x96a9
jmp 0x4a24dd
and eax, 0x10221
pop eax
push edi
push eax
add esp, 4
call 0x4a24f8
add byte [ebx], dh
aas
dec ebx
cmp dword ss:[0x83333d4b], edi
les eax, [edi + ebx*2]
mov ecx, dword [ebp - 0x4d4]
mov edx, dword [ecx]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp - 0x4d4]
cmp eax, dword [ebp - 0xc20]
je 0x4a2528
mov ecx, dword [ebp - 0x4d4]
cmp dword [ecx + 0x30], 0
jne 0x4a22de
mov dword [ebp - 0x2e0], 0
Function at 0x4a3e6b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
jmp 0x4a3e77
xor esi, 0xc9d
pop esi
push ebx
and ebx, 0x9a63
pop ebx
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x4a3efc

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

Disassembly:
add esp, 4
pop edi
push ebx
push eax
add esp, 4
call 0x4a3ec2
add byte [ebx + ecx*2], bh
xor eax, 0x83364a36
les eax, [ebx + ebx*2]
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x4a3ef2
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x4a3cbd
mov dword [ebp - 0x710], 0

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

Disassembly:
add esp, 4
pop edi
push ebx
push eax
add esp, 4
call 0x4a3ec2
add byte [ebx + ecx*2], bh
xor eax, 0x83364a36
les eax, [ebx + ebx*2]
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x4a3ef2
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x4a3cbd
mov dword [ebp - 0x710], 0
Function at 0x4af6e8
Capabilities:
Encode data using xor

Disassembly:
mov ebp, 0x4040478
push 0xffffffffffffff8d
xchg ecx, eax
and dh, bl
add eax, dword [ebx]
mov esi, 0x4040468
push 0xffffffffffffff8d
cdq
and al, 0xf3
add eax, dword [ebx]
push 0x6a040404
lea ebx, [ecx + 0x303f324]
mov esp, 0x4040470
push 0xffffffffffffff8d
mov dword [esi], esp
add eax, dword [ebx]
mov ebp, 0x4040470
push 0xffffffffffffff8d
xchg ecx, eax
sub bl, dh
add eax, dword [ebx]
mov esi, 0x4040432
push 0xffffffffffffff8d
cdq
sub dh, bl
add eax, dword [ebx]
mov esp, 0x4040468
push 0xffffffffffffff8d
mov dword [ebx + esi*8], ebp
add eax, dword [ebx]
mov ebp, 0x4040470
push 0xffffffffffffff8d
xchg ecx, eax
add eax, dword cs:[ebx]
mov esi, 0x4040470
push 0xffffffffffffff8d
cdq
xor bl, dh
add eax, dword [ebx]
aaa
les ebp, [edx - 0x73]
mov dword [edx], esi
add eax, dword [ebx]
push ebp
push edi
xchg eax, ecx
or byte [ebp + 0x44535c5], al
add al, 0xef
or al, byte [eax + 0x3e]
aas
dec edx
dec esp
inc edi
test ebp, ecx
jns 0x4af6f5
add al, 4
test ebp, esp
dec eax
lea eax, [esp + eax]
pop ebp
push ebp
pop ebx
xchg eax, ecx
or byte [ebp + 0x5706ded], al
add al, 0x85
lds eax, [ebx]
jp 0x4af785
add al, 0x5d
retf 0xc89
or al, 0xfc
add eax, dword [ebx]
push edx
retf 0xd89

Function at 0x4c7814
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c78b2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xd]
je 0x4c7876
cmp byte [ebx + 0x11], 0
jne 0x4c7876
cmp byte [ebx + 0x3c], 0
jne 0x4c7876
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4c7897
lea edx, [ebp - 4]
mov eax, dword [0x69ca68]
call fcn.0040cfbc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x496ec4]
call fcn.00427dfc
call fcn.00408ab8
jmp 0x4c7897
lea edx, [ebp - 8]
mov eax, dword [0x69ca68]
call fcn.0040cfbc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x496ec4]
call fcn.00427dfc
call fcn.00408ab8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c78b9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409410
ret

Function at 0x4c8260
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c82ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004c7694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c82c7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c82d0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004c7694
dec esi
jne 0x4c82f2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret
Function at 0x4cab14
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6a2014
cmp dword [edi], 0
jne 0x4cab90
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6a2010]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x6967ec
mov ecx, 2
call fcn.00406930
mov edx, 0x4caaec
lea eax, [esi + 5]
call fcn.004cab0c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004cab0c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4cab65
mov dword [0x6a2010], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x5e2228
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5e2256
mov eax, ebx
call fcn.005e2ce4
cmp dword [ebx + 0x40], 0
je 0x5e224f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5e22c7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5e22b9
cmp dword [ebx + 8], 0
je 0x5e2278
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5e228a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5e22b9
cmp dword [ebx + 8], 0
je 0x5e226b
cmp eax, 3
je 0x5e229d
dec eax
jne 0x5e226b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5e226b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5e226b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5e22e5
cmp dword [ebx + 0x14], 0xcc
je 0x5e22e5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005e22f0
pop ebx
ret
Function at 0x4017c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4017d9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4017ed
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40180e
cmp esi, eax
jae 0x4017e7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401800
cmp esi, eax
jae 0x4017e7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401a6a
Capabilities:
Copy file
Delete file
Get common file path
Get startup folder
Move file
Write file to startup folder

Disassembly:
sub esp, 0x304
mov eax, dword [0x458000]
push 0
push str.C:WINDOWS_system32driversetc_service1.ini
mov dword [esp + 0x308], eax
call fcn.00429b39
add esp, 8
cmp eax, 0xffffffff
je 0x401b89
push 0
push str.C:WINDOWS_system32driversetc_service2.ini
call fcn.00429b39
add esp, 8
cmp eax, 0xffffffff
je 0x401b89
push esi
push 0x104
lea eax, [esp + 0x208]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x204]
push 0x5c
push ecx
call fcn.00429de0
push str..tmp
lea edx, [esp + 0x210]
push edx
mov esi, eax
lea eax, [esp + 0x14]
push 0x446b0c
push eax
inc esi
call fcn.00429ae1
add esp, 0x18
push 0
push 0x18
lea ecx, [esp + 0x10c]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x104]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401ae7
push edi
sub eax, edx
push esi
lea edx, [esp + eax + 0x10c]
push 0x446b08
push edx
call fcn.00429ae1
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0xc
xor esi, esi
nop
lea eax, [esp + 8]
push 0
push eax
call fcn.00429b39
add esp, 8
cmp eax, 0xffffffff
je 0x401b31
lea ecx, [esp + 8]
push ecx
call edi
inc esi
cmp esi, 0x64
jl 0x401b10
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 4
lea edx, [esp + 0x10c]
push edx
lea eax, [esp + 0x10]
push eax
call esi
test eax, eax
pop edi
jne 0x401b5e
push 6
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0xc]
push edx
call esi
push 0
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x300]
call fcn.00429911
add esp, 0x304
ret
mov ecx, dword [esp + 0x300]
or eax, 0xffffffff
call fcn.00429911
add esp, 0x304
ret
Function at 0x407340
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x4441c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [0x456694]
push esi
mov esi, dword [0x45668c]
mov eax, 0x95e7555
imul esi, esi, 0xdcfc
imul ecx
mov ecx, dword [0x456690]
sar edx, 9
push edi
mov edi, edx
add esi, edx
mov eax, 0x5bdd0ecb
imul ecx
mov ecx, dword [0x4566a8]
sar edx, 0xe
imul ecx, ecx, 0x3117
mov eax, edx
shr eax, 0x1f
add eax, edx
shr edi, 0x1f
add edi, esi
sub edi, eax
add edi, ecx
mov ecx, dword [0x45669c]
mov eax, 0x6000f003
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x56cd14]
sub edi, eax
mov ecx, 0x56cd14
mov dword [0x456684], edi
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [0x456690]
mov esi, dword [0x4566a8]
mov eax, 0x9524e185
imul esi, esi, 0xb25a
imul ecx
add edx, ecx
mov ecx, dword [0x45669c]
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x5bdd0ecb
imul ecx
mov eax, dword [0x4566a0]
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x456688]
imul edx, edx, 0x7f22
sub esi, ecx
mov ecx, dword [esp + 0x1c]
add esi, edx
sub esi, eax
lea eax, [esp + 0x20]
push eax
push ecx
sub esi, 0xdd0b
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
mov dword [0x456690], esi
call fcn.004070b0
mov ecx, dword [0x456694]
mov eax, 0x5bdd0ecb
imul ecx
mov esi, ecx
imul esi, esi, 0xdd0b
sar edx, 0xe
mov edi, edx
shr edi, 0x1f
add esi, edx
add edi, esi
mov ecx, dword [0x45668c]
mov edx, dword [0x456690]
imul edx, edx, 0xaaa9
mov eax, ecx
imul eax, eax, 0x18161
mov esi, dword [esp + 8]
add edi, edx
add edi, eax
mov eax, 0x80df83a9
imul ecx
add edx, ecx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub edi, ecx
push esi
mov dword [0x45669c], edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
jg 0x4074dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d0a0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
mov ecx, dword [0x456694]
push ebp
push esi
mov esi, dword [0x45668c]
mov eax, 0x95e7555
imul esi, esi, 0xdcfc
imul ecx
mov ecx, dword [0x456690]
push edi
sar edx, 9
mov edi, edx
add esi, edx
mov eax, 0x5bdd0ecb
imul ecx
mov ecx, dword [0x4566a8]
sar edx, 0xe
imul ecx, ecx, 0x3117
mov eax, edx
shr eax, 0x1f
add eax, edx
shr edi, 0x1f
add edi, esi
sub edi, eax
add edi, ecx
mov ecx, dword [0x45669c]
mov eax, 0x6000f003
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
lea ecx, [esp + 0x10]
mov dword [0x456684], edi
mov edi, dword [esp + 0x1c]
push ecx
xor ebp, ebp
push edi
mov dword [esp + 0x18], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x40d2f4
mov ecx, dword [0x456690]
push ebx
mov ebx, dword [0x4566a0]
mov eax, 0x95e7555
imul ebx, ebx, 0xdcfc
imul ecx
mov ecx, dword [0x45668c]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add ebx, edx
add eax, ebx
mov ebx, eax
mov eax, 0xb73ab967
imul ecx
add edx, ecx
mov ecx, dword [0x4566a8]
imul ecx, ecx, 0x3117
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add ebx, edx
mov edx, dword [0x456694]
add eax, ebx
sub eax, ecx
sub eax, edx
add eax, 0xdbb5
push esi
mov dword [0x45668c], eax
call fcn.0043b5b2
add esp, 4
mov ebx, eax
push ebx
push esi
xor esi, esi
push esi
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40d2ea
mov edi, dword [0x45668c]
mov edx, dword [0x456684]
imul edi, edi, 0xdcfc
mov ecx, dword [0x45669c]
imul edx, edx, 0x36a6
add edi, edx
mov eax, 0xb73ab967
imul ecx
add edx, ecx
mov ecx, dword [0x456698]
sar edx, 0xf
imul ecx, ecx, 0x7f22
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4566a4]
sub edi, eax
add edi, edx
lea edx, [ecx + edi - 0xdd0b]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4471f8
push ebx
mov dword [0x456694], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
mov ecx, dword [0x45668c]
je 0x40d297
mov esi, dword [0x45669c]
mov eax, 0x95e7555
imul ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x456688]
imul edx, edx, 0xb2d6
mov edi, esi
imul edi, edi, 0x36a6
sub edi, eax
add edi, edx
mov edx, dword [0x4566a4]
mov eax, 0x5bdd0ecb
imul edx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov eax, 0x6000f003
imul esi
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x10]
sub edi, eax
mov dword [0x4566a4], edi
mov bp, word [edx + 0x14]
mov edx, dword [0x456694]
mov esi, edx
mov eax, 0x5bdd0ecb
imul esi, esi, 0xdd0b
imul edx
mov eax, dword [0x456690]
sar edx, 0xe
imul eax, eax, 0xaaa9
add esi, edx
mov edi, edx
mov edx, ecx
imul edx, edx, 0x18161
shr edi, 0x1f
add edi, esi
add edi, eax
add edi, edx
mov eax, 0x80df83a9
imul ecx
add edx, ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
mov dword [0x45669c], edi
push ebx
call fcn.0043b5b7
add esp, 4
pop ebx
pop edi
pop esi
mov ax, bp
pop ebp
add esp, 0xc
ret
Function at 0x416b60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x118
mov eax, dword [0x458000]
mov edx, dword [esp + 0x11c]
push ebp
push esi
mov ebp, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x128], eax
mov eax, dword [ebp]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x416c82
lea ecx, [esp + 8]
call fcn.00416a40
mov esi, eax
test esi, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 8], eax
jne 0x416c86
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x34]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x416c30
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x10]
call fcn.00416b60
mov edi, eax
test edi, edi
jne 0x416caa
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push edi
push eax
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x416bf2
mov eax, dword [esp + 0xc]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x416c49
push eax
call edi
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x128]
mov edx, dword [ebp]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x416c68
push eax
call edi
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.00429911
add esp, 0x118
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x416c91
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x114]
call fcn.00429911
add esp, 0x118
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x416cb9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
pop ebp
call fcn.00429911
add esp, 0x118
ret 4