joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414bc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 8]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x414c16
push 0x20019
push 1
push edi
add ecx, 0xc
push 1
push ecx
push eax
call fcn.0040c920
mov ecx, eax
call fcn.0040d400
mov esi, eax
cmp esi, 0xffffffff
je 0x414c16
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edi
push edi
push edx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414c0f
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x414c20
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x414c85
push 0x20019
push 2
push edi
add ecx, 0xc
push 1
push ecx
push eax
call fcn.0040c920
mov ecx, eax
call fcn.0040d400
mov esi, eax
cmp esi, 0xffffffff
je 0x414c85
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push edi
push edi
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414c70
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x414c85
mov eax, dword [ebx]
pop edi
mov dword [ebx], eax
pop esi
pop ebx
ret 0xc
xor eax, eax
pop edi
mov dword [ebx], eax
pop esi
pop ebx
ret 0xc

Function at 0x414c90
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [ecx + 8]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x414d1b
push 0x20019
push 2
push edi
add ecx, 0xc
push 1
push ecx
push eax
call fcn.0040c920
mov ecx, eax
call fcn.0040d400
mov esi, eax
cmp esi, 0xffffffff
je 0x414d1b
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push ebx
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x414d07
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push ebp
push edx
push edi
push edi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x414d00
mov edi, 1
mov edx, dword [esp + 0x20]
push edx
call ebx
push esi
call ebx
test edi, edi
pop ebx
je 0x414d1b
mov eax, dword [ebp]
pop edi
mov dword [ebp], eax
pop esi
pop ebp
ret 0x10
xor eax, eax
pop edi
mov dword [ebp], eax
pop esi
pop ebp
ret 0x10

Function at 0x414d30
Capabilities:
Set registry value

Disassembly:
mov eax, dword [ecx + 8]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x414d8a
push 0xf003f
push 2
push edi
add ecx, 0xc
push 1
push ecx
push eax
call fcn.0040c920
mov ecx, eax
call fcn.0040d400
mov esi, eax
cmp esi, 0xffffffff
je 0x414d8a
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push edi
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x414d83
mov edi, 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 0x10
Function at 0x414da0
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [ecx + 8]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
je 0x414e27
push 0x20019
push 2
push edi
add ecx, 0xc
push 1
push ecx
push eax
call fcn.0040c920
mov ecx, eax
call fcn.0040d400
mov esi, eax
cmp esi, 0xffffffff
je 0x414e27
mov ecx, dword [esp + 0x10]
lea eax, [esp + 8]
push ebx
push eax
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x414e1b
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x414e14
mov edi, 1
mov ecx, dword [esp + 0xc]
push ecx
call ebx
push esi
call ebx
mov eax, edi
pop ebx
pop edi
pop esi
pop ecx
ret 0x14
mov eax, edi
pop edi
pop esi
pop ecx
ret 0x14
Function at 0x4186e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x482ef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
lea ecx, [esp + 4]
xor esi, esi
call fcn.00464eb7
mov eax, dword [esp + 0x30]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], esi
call fcn.00464f7a
test eax, eax
je 0x41873a
lea ecx, [esp + 4]
call fcn.0046519a
mov edx, dword [esp + 4]
push 0x10
lea ecx, [esp + 8]
call dword [edx + 0x38]
cmp eax, esi
jne 0x41873a
mov esi, 1
lea ecx, [esp + 4]
call fcn.00464f30
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0xffffffff
call fcn.00464ef4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x418850
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x482f72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x298]
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x184]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x184]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0xa
rep movsb byte es:[edi], byte [esi]
mov edi, str..
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
call fcn.00475669
lea eax, [esp + 0x184]
lea ecx, [esp + 0x14]
push eax
mov dword [esp + 0x294], ebp
call fcn.00475f16
mov ecx, dword [0x4a6844]
mov dword [esp + 0x18], ecx
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 2
call fcn.00474e5e
inc eax
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x1c]
call fcn.00474de6
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 3
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x290], 2
call fcn.00475ea8
mov eax, dword [0x4a6844]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x44]
mov bl, 4
push ecx
push edx
mov byte [esp + 0x298], bl
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x418a11
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea eax, [esp + 0x70]
lea ecx, [esp + 0x10]
push eax
call fcn.00475fe5
mov ecx, dword [esp + 0x10]
push 0x49b150
push ecx
call fcn.00465d10
add esp, 8
test eax, eax
je 0x4189fa
mov edx, dword [esp + 0x10]
push 0x49b14c
push edx
call fcn.00465d10
add esp, 8
test eax, eax
je 0x4189fa
lea eax, [esp + 0x70]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.004760f1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x294], 5
call fcn.00475f95
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], bl
call fcn.00475ea8
lea ecx, [esp + 0x10]
call fcn.0047635e
lea eax, [esp + 0x10]
lea ecx, [esp + 0x24]
push eax
call fcn.004757e9
lea ecx, [esp + 0x44]
push ecx
push esi
call edi
test eax, eax
jne 0x418973
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x290], 2
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x290], 1
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x290], 0
call fcn.00475ea8
mov eax, dword [esp + 0x28]
mov dword [esp + 0x290], 0xffffffff
test eax, eax
mov dword [esp + 0x40], eax
jne 0x418a60
mov ebp, 1
lea ecx, [esp + 0x24]
call fcn.004756dd
mov ecx, dword [esp + 0x288]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x284
ret 4
Function at 0x418a90
Capabilities:
Delete directory

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
push ebx
push edi
mov edi, dword [esp + 0x110]
mov ebx, ecx
push 0x49b19c
lea ecx, [edi + eax]
push ecx
call fcn.00466110
add esp, 8
test eax, eax
je 0x418ade
push esi
mov esi, eax
sub esi, edi
lea edx, [esp + 0xc]
push esi
push edi
push edx
call fcn.00466200
add esp, 0xc
mov byte [esp + esi + 0xc], 0
inc esi
mov ecx, ebx
push esi
push edi
call fcn.00418a90
pop esi
lea eax, [esp + 8]
mov ecx, ebx
push eax
call fcn.00418850
pop edi
pop ebx
test eax, eax
je 0x418b03
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
add esp, 0x104
ret 8

Function at 0x418b10
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x482f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4a6844]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
push esi
call fcn.004186e0
test eax, eax
je 0x418be8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebp, eax
cmp ebp, 1
jne 0x418b73
push esi
mov ecx, 0x4aa6c8
call fcn.004757a6
jmp 0x418b77
test ebp, ebp
je 0x418be8
mov al, byte [esp + 0x24]
test al, 2
je 0x418b8b
push 2
push esi
mov ecx, edi
call fcn.00418a90
jmp 0x418be8
test al, 1
je 0x418be8
push esi
lea ecx, [esp + 0x10]
call fcn.00475fe5
push 0x5c
lea ecx, [esp + 0x10]
call fcn.00474e5e
cmp eax, 0xffffffff
je 0x418be8
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00474de6
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.00475f95
lea ecx, [esp + 0x20]
mov byte [esp + 0x18], 0
call fcn.00475ea8
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x10]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x418c10
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
mov ebx, ecx
push 0x49b19c
xor ebp, ebp
lea ecx, [edi + eax]
push ecx
call fcn.00466110
mov esi, eax
add esp, 8
test esi, esi
je 0x418cdf
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x418c76
lea edx, [esi + 1]
push 0x49b19c
push edx
call fcn.00466110
add esp, 8
test eax, eax
jne 0x418c76
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret 8
sub esi, edi
lea eax, [esp + 0x10]
push esi
push edi
push eax
call fcn.00466200
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + esi + 0x10], 0
push ecx
mov ecx, ebx
call fcn.00418770
test eax, eax
jne 0x418cb9
lea edx, [esp + 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x418cb9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, 1
inc esi
mov ecx, ebx
push esi
push edi
call fcn.00418c10
test eax, eax
jne 0x418cda
test ebp, ebp
jne 0x418cda
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 8
mov ebp, 1
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 8

Function at 0x418dc0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov esi, ecx
push ebx
xor edi, edi
mov ebp, 1
call fcn.004186e0
test eax, eax
je 0x418e46
mov al, byte [esp + 0x1c]
mov edi, dword [esp + 0x18]
test al, 0x20
je 0x418df6
push edi
push ebx
mov ecx, esi
call fcn.00418cf0
mov ebp, eax
test ebp, ebp
je 0x418e4f
test byte [esp + 0x1c], 0x40
je 0x418e08
push edi
push ebx
mov ecx, esi
call fcn.00418d70
mov ebp, eax
test ebp, ebp
je 0x418e4f
push 0
push edi
mov ecx, esi
call fcn.00418b10
push 0
push edi
mov ecx, esi
call fcn.00418c10
push 0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x418e4f
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0xc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
Function at 0x418e60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x40c
lea eax, [esp + 8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x41c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x418f46
cmp esi, 0x7d00
jae 0x418f46
push esi
call fcn.00466490
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x418f46
mov ecx, dword [esp + 0x14]
push ebx
push esi
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x418f46
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
push eax
push str.StringFileInfo040904b0FileVersion
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x418f2c
mov esi, dword [esp + 0xc]
test esi, esi
je 0x418f46
mov edx, dword [esp + 0x10]
cmp edx, 0x100
jae 0x418f46
test edx, edx
je 0x418f46
mov ecx, edx
lea edi, [esp + 0x18]
mov eax, ecx
mov dword [esp + edx*4 + 0x18], 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x420]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.00466190
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x40c
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x40c
ret 8
Function at 0x418f60
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x482fab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
mov eax, dword [0x4a6844]
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x240]
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x240], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x418fe2
cmp esi, 0x7d00
jae 0x418fe2
push esi
call fcn.00466490
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x418fe2
mov edx, dword [esp + 0x1c]
push ebx
push esi
push edx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x419013
push ebx
call fcn.00466190
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], 0xffffffff
call fcn.00475ea8
xor eax, eax
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 4
lea eax, [esp + 0x14]
push eax
push 0x4aa6e4
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
test dword [esp + 0x14], 0xfffffffc
jbe 0x41911a
mov eax, dword [0x4aa6e4]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + ebp*4 + 2]
mov dx, word [eax + ebp*4]
push ecx
push edx
lea eax, [esp + 0x134]
push str.StringFileInfo_04x_04xCompanyName
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x20]
lea edx, [esp + 0x24]
lea eax, [esp + 0x12c]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x419100
mov esi, dword [esp + 0x24]
test esi, esi
je 0x419100
mov eax, dword [esp + 0x20]
cmp eax, 0x100
jae 0x419100
test eax, eax
je 0x419100
mov ecx, eax
lea edi, [esp + 0x28]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x28], 0
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.00475fe5
lea ecx, [esp + 0x10]
call fcn.0047635e
push str.CONEXANT
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x419112
push str.CNXT
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x419112
push 0x49e078
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x419112
mov ecx, dword [esp + 0x14]
inc ebp
shr ecx, 2
cmp ebp, ecx
jb 0x419036
jmp 0x41911a
mov dword [esp + 0x18], 1
push ebx
call fcn.00466190
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x238], 0xffffffff
call fcn.00475ea8
mov eax, dword [esp + 0x18]
jmp 0x418ff8
Function at 0x419140
Capabilities:
Get file version info

Disassembly:
sub esp, 0x118
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
lea eax, [esp + 0x18]
xor ebp, ebp
push eax
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebp
je 0x41919d
cmp esi, 0x7d00
jae 0x41919d
push esi
call fcn.00466490
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x41919d
mov ecx, dword [esp + 0x18]
push ebx
push esi
push ecx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x4191ac
push ebx
call fcn.00466190
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x118
ret 0xc
lea edx, [esp + 0x10]
push edx
push 0x4aa6e4
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
xor edi, edi
test eax, 0xfffffffc
jbe 0x41928b
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x4aa6e4]
xor ecx, ecx
xor edx, edx
mov cx, word [eax + edi*4 + 2]
mov dx, word [eax + edi*4]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.StringFileInfo_04x_04xComments
push eax
call ebp
add esp, 0x10
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
lea eax, [esp + 0x24]
push ecx
push edx
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41922b
mov esi, dword [esp + 0x20]
test esi, esi
je 0x41922b
mov eax, dword [esp + 0x1c]
cmp eax, 0x100
jae 0x41922b
test eax, eax
jne 0x419251
mov ecx, dword [esp + 0x10]
inc edi
shr ecx, 2
cmp edi, ecx
jb 0x4191d8
push ebx
call fcn.00466190
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 0xc
mov ecx, dword [esp + 0x134]
cmp ecx, eax
jae 0x41926e
mov edi, dword [esp + 0x130]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x41927e
mov edi, dword [esp + 0x130]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
mov dword [esp + 0x14], 1
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.00466190
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x118
ret 0xc
Function at 0x4192b0
Capabilities:
Delete file
Get common file path
Move file
Read .ini file

Disassembly:
sub esp, 0x600
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4192de
mov eax, dword [esp + 0x604]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
add esp, 0x600
ret 4
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
push 0x100
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, str.wininit.ini
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x100
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x110]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x618]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea edx, [esp + 0xc]
lea eax, [esp + 0x20c]
push edx
push 0x400
push eax
push str.Rename
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [esp + 0x10c]
push 0
push ecx
lea edx, [esp + eax + 0x214]
push str.NUL_s_c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x20c]
push eax
push ecx
push str.Rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionA]
pop edi
pop esi
pop ebx
add esp, 0x600
ret 4
Function at 0x434390
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x88
push esi
xor esi, esi
mov dword [esp + 8], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x38]
push str.push_me_x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esp + 0xc], eax
je 0x434547
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
push ebx
push ebp
mov eax, dword [edx]
mov edx, dword [ecx]
mov eax, dword [eax - 8]
mov ecx, dword [edx - 8]
lea eax, [ecx + eax + 0x1c]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
test ebx, ebx
je 0x434532
mov edx, dword [esp + 0xa0]
push edi
test edx, 0x200000
lea esi, [esp + 0x1c]
je 0x43443b
mov edi, 0x4a1b64
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
jmp 0x434457
mov edi, 0x4a1b8c
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test edx, 0x2000000
lea edx, [esp + 0x24]
mov edi, str._ARPWCLOSE1
jne 0x434479
mov edi, 0x4a1b88
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx]
lea ecx, [esp + 0x1c]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0xa8]
push eax
mov eax, dword [edx]
push eax
push str._s_0x_X__s__s__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x70]
add esp, 0x1c
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x30]
lea edx, [esp + 0x54]
push ecx
push edx
push eax
push eax
push eax
push 1
push eax
push eax
push ebx
push eax
mov dword [esp + 0x7c], 0x44
mov dword [esp + 0xa8], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
mov eax, dword [esp + 0x34]
push eax
call ebp
mov ecx, dword [esp + 0x30]
push ecx
call ebp
test esi, esi
pop edi
je 0x434532
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x434532
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x14]
push eax
call ebp
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
pop esi
add esp, 0x88
ret
mov eax, esi
pop esi
add esp, 0x88
ret