joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e6d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x234
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 0x114
call esi
test eax, eax
je 0x41e910
mov eax, dword [esp + 0x14]
cmp eax, 2
jne 0x41e87e
mov eax, dword [esp + 8]
cmp eax, 5
jne 0x41e7c2
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41e73f
mov eax, 7
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 1
jne 0x41e75f
mov eax, 8
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 2
jne 0x41e910
lea ecx, [esp + 0x118]
push ecx
mov dword [esp + 0x11c], 0x11c
call esi
mov al, byte [esp + 0x232]
cmp al, 3
je 0x41e7a7
cmp al, 2
je 0x41e7a7
mov eax, 9
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
mov eax, 0xa
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 6
jne 0x41e85a
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41e82d
lea edx, [esp + 0x118]
push edx
mov dword [esp + 0x11c], 0x11c
call esi
mov al, byte [esp + 0x232]
cmp al, 3
je 0x41e812
cmp al, 2
je 0x41e812
mov eax, 0xb
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
mov eax, 0xc
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 1
jne 0x41e910
call fcn.0041e660
neg eax
sbb eax, eax
neg eax
add eax, 0xd
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 4
jne 0x41e910
mov eax, 6
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 1
jne 0x41e8f1
cmp dword [esp + 8], 4
jne 0x41e910
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x41e8b1
mov eax, 2
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 0xa
jne 0x41e8d1
mov eax, 3
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
cmp eax, 0x5a
jne 0x41e910
mov eax, 4
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
test eax, eax
jne 0x41e910
mov eax, 1
pop esi
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00466d50
add esp, 0x234
ret
mov ecx, dword [esp + 0x234]
pop esi
xor ecx, esp
xor eax, eax
call fcn.00466d50
add esp, 0x234
ret

Function at 0x41eb20
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
add ecx, 0x230
push ecx
push 0x41e930
push 0
push 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
cmp dword [esp], eax
setne al
pop ecx
ret
Function at 0x41ef90
Capabilities:
Get file attributes

Disassembly:
sub esp, 0xa80
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0xa7c], eax
mov eax, dword [esp + 0xa88]
push ebx
push ebp
push esi
mov esi, dword [esp + 0xa90]
push edi
mov dword [esp + 0x18], ecx
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x276]
push edx
mov dword [esp + 0x20], eax
mov word [esp + 0x278], cx
call fcn.004660d0
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x692]
push ecx
mov word [esp + 0x694], ax
call fcn.004660d0
mov eax, esi
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f000
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
cmp word [esi + eax*2 - 2], 0x5c
je 0x41f025
push 0x49ebb0
push esi
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
lea edx, [esp + 0x680]
push edx
call ebx
push 0x48dc94
lea eax, [esp + 0x680]
push eax
call edi
push 0x250
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004660d0
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
mov dword [esp + 0x10], ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp ebp, 0xffffffff
je 0x41f1ab
test ebp, ebp
je 0x41f1ab
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
mov ecx, 0x48e72c
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f0c6
test dx, dx
je 0x41f0c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f0c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f0a0
xor eax, eax
jmp 0x41f0cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f181
mov ecx, 0x48dc78
lea eax, [esp + 0x48]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f106
test dx, dx
je 0x41f102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f106
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f0e0
xor eax, eax
jmp 0x41f10b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f181
push esi
lea ecx, [esp + 0x270]
push ecx
call ebx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x270]
push eax
call edi
lea ecx, [esp + 0x26c]
push ecx
call ebp
test al, 0x10
je 0x41f14f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x270]
push eax
call fcn.0041ef90
jmp 0x41f181
test al, 1
je 0x41f165
and eax, 0xfffffffe
push eax
lea ecx, [esp + 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [esp + 0x18]
push 2
add edx, 0x8c5
push edx
lea eax, [esp + 0x274]
push eax
call dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41f090
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
jmp 0x41f1ad
xor eax, eax
mov ecx, dword [esp + 0xa8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466d50
add esp, 0xa80
ret 8
Function at 0x41f1d0
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
sub esp, 0xe8c
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0xe88], eax
push ebx
mov ebx, dword [esp + 0xe98]
push ebp
mov ebp, dword [esp + 0xe98]
push esi
push edi
push 0
push ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41f213
mov dword [esp + 0x10], eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x682]
push ecx
mov word [esp + 0x684], ax
call fcn.004660d0
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0xa9e]
push eax
mov word [esp + 0xaa0], dx
call fcn.004660d0
xor ecx, ecx
push 0x40e
push ecx
lea edx, [esp + 0x28a]
push edx
mov word [esp + 0x28c], cx
call fcn.004660d0
mov eax, ebp
add esp, 0x24
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f272
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
sub eax, edx
sar eax, 1
mov edi, 0x5c
cmp word [ebp + eax*2 - 2], di
je 0x41f29b
push 0x49ebb0
push ebp
call esi
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f2a0
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 - 2], di
je 0x41f2be
push 0x49ebb0
push ebx
call esi
push ebp
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x48dc94
lea ecx, [esp + 0x67c]
push ecx
call esi
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x67c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41f2fd
xor eax, eax
jmp 0x41f428
test edi, edi
je 0x41f41d
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
jmp 0x41f310
lea ecx, [esp + 0x18]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x41f41d
lea edx, [esp + 0x44]
push edx
push ebp
lea eax, [esp + 0xa90]
push 0x48e6d8
push eax
call esi
lea ecx, [esp + 0x54]
push ecx
push ebx
lea edx, [esp + 0x280]
push 0x48e6d8
push edx
call esi
add esp, 0x20
test byte [esp + 0x18], 0x10
jne 0x41f37a
push 0
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0xa90]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41f310
mov dword [esp + 0x10], eax
jmp 0x41f310
mov ecx, 0x48e72c
lea eax, [esp + 0x44]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f3a9
test dx, dx
je 0x41f3a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f3a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f383
xor eax, eax
jmp 0x41f3ae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f310
mov ecx, 0x48dc78
lea eax, [esp + 0x44]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41f3e6
test dx, dx
je 0x41f3e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41f3e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41f3c0
xor eax, eax
jmp 0x41f3eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41f310
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x268]
push edx
lea eax, [esp + 0xa8c]
push eax
call fcn.0041f1d0
test eax, eax
jne 0x41f310
mov dword [esp + 0x10], eax
jmp 0x41f310
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xe98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00466d50
add esp, 0xe8c
ret 8
Function at 0x41fa00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x4b9b20]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x41fb1f
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x41fa56
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x41fa42
xor eax, eax
jmp 0x41fa56
lea eax, [esi + esi]
call fcn.00466d60
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00417e90
mov ecx, dword [ebp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x41fb1f
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xc0000000
cmp eax, 0x80000000
jne 0x41fa95
mov edx, dword [ebp + 8]
push edx
call fcn.0041e300
add esp, 4
mov edi, eax
jmp 0x41fa98
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push edi
call esi
test eax, eax
jne 0x41fb1f
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x41fb1f
mov ebx, dword [edi + 0x3c]
push 0xf8
add ebx, edi
push ebx
call esi
test eax, eax
jne 0x41fb1f
cmp dword [ebx], 0x4550
jne 0x41fb1f
mov esi, dword [ebx + 0x80]
add esi, edi
cmp esi, ebx
je 0x41fb1f
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41fafd
lea ecx, [ecx]
mov ecx, dword [ebp + 0xc]
add eax, edi
push ecx
push eax
call fcn.00468b58
add esp, 8
test eax, eax
je 0x41fafd
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x41fae0
cmp dword [esi + 0xc], 0
je 0x41fb1f
mov esi, dword [esi + 0x10]
add esi, edi
cmp dword [esi], 0
je 0x41fb1f
lea ecx, [ecx]
mov ebx, dword [ebp - 0xc]
cmp dword [esi], ebx
je 0x41fb37
add esi, 4
cmp dword [esi], 0
jne 0x41fb10
xor eax, eax
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00466d50
mov esp, ebp
pop ebp
ret 0x10
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x41fb6b
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 8]
push edx
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
push ecx
mov dword [esi], eax
mov edx, dword [ebp - 8]
push edx
push 4
push esi
call edi
mov eax, ebx
jmp 0x41fb21
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
mov eax, ebx
jmp 0x41fb21
Function at 0x420190
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push edi
mov edi, dword [esp + 0x218]
lea eax, [esp + 0x80]
push eax
push 0x101
xor ebx, ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4201d0
push str.Failed_to_load_winsock_stack_n
jmp 0x42029f
mov eax, dword [esp + 0x80]
cmp al, 1
jne 0x42029a
shr eax, 8
cmp al, 1
jne 0x42029a
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xc], str.time.windows.com
call fcn.0042c740
lea ecx, [esp + 0x34]
call fcn.0042c010
lea ecx, [esp + 0x3c]
call fcn.0042c010
lea ecx, [esp + 0x44]
call fcn.0042c010
lea ecx, [esp + 0x4c]
call fcn.0042c010
xor esi, esi
mov edx, dword [esp + esi*4 + 0xc]
push 0x7b
lea ecx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.0042c770
test eax, eax
jne 0x42024c
inc esi
cmp esi, 1
jb 0x420222
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
pop esi
jmp 0x4202a9
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x48]
call fcn.0042c590
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x6c]
call fcn.0042c3e0
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
call fcn.00419400
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [edi], ecx
mov dword [edi + 4], edx
mov ebx, 1
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, ebx
pop esi
jmp 0x4202a9
push str.Winsock_stack_does_not_support_version_which_this_program_requires_n
call fcn.00468baa
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x210]
pop edi
pop ebx
xor ecx, esp
call fcn.00466d50
add esp, 0x20c
ret 4

Function at 0x420f20
Capabilities:
Create process on windows

Disassembly:
jmp fcn.00420480
mov ecx, dword [0x4be390]
test ecx, ecx
jne 0x420f2d
xor eax, eax
ret
jmp 0x420c90
Function at 0x422ee0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48890b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x4b9b20]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
push esi
push edi
mov eax, dword [0x4b9b20]
xor eax, esp
push eax
lea eax, [esp + 0x450]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 0x200
xor edi, edi
lea ecx, [esp + 0x3a]
xor eax, eax
push edi
push ecx
mov word [esp + 0x40], ax
call fcn.004660d0
push 0x200
lea eax, [esp + 0x24e]
xor edx, edx
push edi
push eax
mov word [esp + 0x254], dx
call fcn.004660d0
push 0x100
lea ecx, [esp + 0x258]
push ecx
push 0x100
lea edx, [esp + 0x58]
push edx
push edi
push edi
push edi
push edi
push esi
call fcn.00468212
add esp, 0x3c
lea eax, [esp + 0x23c]
push eax
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.AcroRd32.exe
lea edx, [esp + 0x38]
push edx
call ebx
test eax, eax
jne 0x422fc8
push 4
lea eax, [esp + 0x14]
push eax
push 4
push str.bProtectedMode
push str.SoftwareAdobeAcrobat_Reader10.0Privileged
push closesocket
mov dword [esp + 0x28], edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [esp + 0x1c], str.acrord32.exe
mov dword [esp + 0x20], str.acrobat.exe
mov dword [esp + 0x24], str.ACDSeePro1.exe
mov dword [esp + 0x28], str.ACDSeePro2.exe
mov dword [esp + 0x2c], str.ACDSeePro3.exe
mov dword [esp + 0x30], str.Photoshop.exe
jmp 0x423000
mov esi, dword [esp + edi*4 + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push esi
call ebx
test eax, eax
jne 0x423051
lea ecx, [esp + 0x14]
call fcn.0042a030
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push esi
mov dword [esp + 0x460], 0
call fcn.0041a8d0
lea ecx, [esp + 0x18]
call fcn.0042a100
or ecx, 0xffffffff
mov dword [esp + 0x458], ecx
cmp eax, ecx
lea ecx, [esp + 0x14]
jne 0x423082
call fcn.0042a050
inc edi
cmp edi, 6
jb 0x423000
mov eax, 1
mov ecx, dword [esp + 0x450]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x438]
xor ecx, esp
call fcn.00466d50
mov esp, ebp
pop ebp
ret 4
call fcn.0042a050
xor eax, eax
jmp 0x42305c
Function at 0x423c70
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4889c0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b9b20]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
push eax
mov dword [esp + 0x1c], 0
call fcn.004199c0
add eax, 0x10
add esp, 4
mov dword [esp + 0xc], eax
push 1
push 0x49ebb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0041a160
lea ecx, [edi + 0x380]
test ecx, ecx
jne 0x423cd7
xor eax, eax
jmp 0x423cef
mov eax, ecx
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x423ce0
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.0041a160
lea edx, [edi + 0x482]
test edx, edx
jne 0x423d08
xor eax, eax
jmp 0x423d1f
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x423d10
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.0041a160
mov esi, dword [esp + 0xc]
push 0
push esi
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423d5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423d86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x423da0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4889f0
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4b9b20]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], 0
call fcn.0041eec0
test eax, eax
jne 0x423e16
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423dff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
push 2
lea ecx, [esi + 0x8c5]
push ecx
lea edi, [esi + 4]
push edi
call eax
add esp, 0xc
mov ecx, esi
mov ebp, eax
call fcn.0041ef70
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
test ebp, ebp
jne 0x423e53
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x423df3
push eax
call fcn.004199c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
push 0x49ebb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
call fcn.0041a890
lea ecx, [esi + 0x380]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041a890
add esi, 0x482
push esi
lea ecx, [esp + 0x14]
call fcn.0041a890
mov esi, dword [esp + 0x10]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423ec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423eef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 4
Function at 0x4267e0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push eax
mov dword [esi], vtable.CEt99Ex.0
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x10], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x42688f
cmp eax, 0xffffffff
je 0x42688f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.et_FindToken
push eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
push str.et_OpenToken
push eax
call edi
mov ecx, dword [esi + 0xc]
push str.et_CloseToken
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0xc]
push str.et_Verify
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
push str.et_Read
push eax
call edi
mov dword [esi + 0x24], eax
pop edi
cmp dword [esi + 0x14], ebx
je 0x42688f
cmp dword [esi + 0x18], ebx
je 0x42688f
cmp dword [esi + 0x1c], ebx
je 0x42688f
cmp dword [esi + 0x20], ebx
je 0x42688f
cmp eax, ebx
mov eax, esi
je 0x426891
mov dword [esi + 0x10], 1
pop esi
pop ebx
ret 4
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x426a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x426a9e
xor eax, eax
pop ecx
ret 0x18
mov ecx, dword [esp + 0x18]
push esi
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
pop ecx
ret 0x18
Function at 0x426b60
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push edi
lea eax, [esp + 4]
push eax
push 0x20019
xor edi, edi
push edi
push ecx
push edx
mov dword [esp + 0x18], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x426b8e
xor eax, eax
pop edi
pop ecx
ret 0x10
mov eax, 0xfc0fc0fd
mul dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
shr edx, 9
push esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0x104
mov ecx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x2c]
push eax
push ebx
push edi
push ecx
call ebp
mov esi, eax
inc edi
cmp esi, 0x103
je 0x426bec
cmp edi, dword [esp + 0x18]
ja 0x426bec
add ebx, 0x208
mov dword [esp + 0x1c], 0x104
test esi, esi
je 0x426bb3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x426c0d
cmp esi, 0x103
je 0x426c0d
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
pop ecx
ret 0x10
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
pop ecx
ret 0x10