joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c1980
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5cebf0
push 0x56f180
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5e173c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x20], 0x100
mov eax, dword [ecx]
mov edi, dword [eax + 0x28]
mov dword [ebp - 0x40], edi
test edi, edi
jne 0x4c19e9
xor eax, eax
jmp 0x4c1b5f
mov dword [ebp - 4], ebx
push 0x5ba784
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c1b2a
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x4c1b2a
push 0x5ba71c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c1b2a
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x24]
push ecx
call eax
test eax, eax
je 0x4c1b2a
push 0x5ba6c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c1b2a
push dword [ebp - 0x28]
call eax
add eax, 0x10
mov dword [ebp - 0x30], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x4c1b2a
push 0x5ba7c0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c1b2a
push 2
push dword [ebp - 0x30]
push esi
call eax
test eax, eax
je 0x4c1b2a
push 0x5ba7d0
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4c1b2a
push dword [ebp - 0x28]
push 0x10000000
push 2
push esi
call eax
test eax, eax
je 0x4c1b2a
push 0x5ba7a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4c1b2a
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x4c1b13
push 0
push ecx
push 1
push dword [ebp - 0x38]
call eax
test eax, eax
je 0x4c1b00
mov ebx, 1
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x2c], 0
je 0x4c1b10
jmp 0x4c1b2a
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
push 0
push esi
push 1
push dword [ebp - 0x38]
call eax
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.004c1b86
test ebx, ebx
jne 0x4c1b5d
test esi, esi
je 0x4c1b4f
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x4c1b5d
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00564de8
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c28a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x10
push esi
push 0x11c
mov esi, ecx
push 0
push esi
call fcn.0056cbb0
add esp, 0xc
mov dword [esi], 0x11c
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4c296d
mov eax, dword [esi + 4]
cmp eax, 6
ja 0x4c28db
jne 0x4c292e
cmp dword [esi + 8], 2
jb 0x4c292e
lea eax, [esp + 0x10]
mov dword [esp + 4], 0
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
lea edx, [esp + 0x10]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.004c2d70
add esp, 8
test al, al
je 0x4c292e
mov eax, dword [esp + 4]
mov dword [esi + 4], eax
mov eax, dword [esp + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], 0
call fcn.004c2780
add esp, 4
test al, al
je 0x4c2966
mov eax, dword [esp + 0xc]
mov dword [esi + 0xc], eax
mov al, 1
pop esi
add esp, 0x10
ret
xor al, al
pop esi
add esp, 0x10
ret

Function at 0x4c2d70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x28
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ebx, edx
push esi
push edi
push 0x5ba834
mov edi, ecx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x4c2e3a
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4c2e3a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4c2e3a
movdqu xmm0, xmmword [0x5baaec]
push eax
movdqu xmmword [esp + 0x18], xmm0
movdqu xmm0, xmmword [0x5baafc]
movdqu xmmword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4c2e3a
lea eax, [esp + 0x14]
push eax
lea ecx, [esi + 6]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4c2e3a
cmp word [esi + 2], ax
jbe 0x4c2e3a
movzx eax, word [esi + 0x32]
mov ecx, dword [esp + 0x10]
mov dword [edi], eax
movzx eax, word [esi + 0x30]
mov dword [ebx], eax
movzx eax, word [esi + 0x36]
mov dword [ebp], eax
movzx eax, word [esi + 0x34]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov al, 1
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00564de8
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00564de8
add esp, 0x28
ret
Function at 0x4c2e50
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x58f576
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x828], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x840]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea eax, [esp + 0x3c]
push eax
push 0x3fe
call edi
mov ebp, eax
test ebp, ebp
je 0x4c2f19
lea eax, [esp + 0x3c]
xor esi, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x848], esi
cmp ebp, 0x3fe
jbe 0x4c2f43
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560e4f
add esp, 4
mov ebx, eax
mov esi, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], esi
push ebx
push ebp
call edi
test eax, eax
je 0x4c2f01
cmp eax, ebp
ja 0x4c2f01
xor ecx, ecx
mov ebp, eax
mov dword [ebx + eax*2], ecx
jmp 0x4c2f6f
mov dword [esp + 0x848], 0xffffffff
test ebx, ebx
je 0x4c2f19
push ebx
call fcn.0056503c
add esp, 4
xor al, al
mov ecx, dword [esp + 0x840]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x828]
xor ecx, esp
call fcn.00564de8
add esp, 0x838
ret
lea eax, [ebp*2]
cmp eax, 0x800
jae 0x4c300f
xor ecx, ecx
mov word [esp + eax + 0x3c], cx
add eax, 2
cmp eax, 0x800
jae 0x4c300f
mov word [esp + eax + 0x3c], cx
xor eax, eax
xor edi, edi
test ebp, ebp
je 0x4c2ff0
mov esi, dword [esp + 0x18]
mov ebx, 2
cmp word [esi + ebx - 2], 0
jne 0x4c2fe4
cmp eax, edi
je 0x4c2fe4
lea eax, [esi + eax*2]
push eax
lea ecx, [esp + 0x24]
call fcn.00403a70
mov byte [esp + 0x848], 1
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004b3d90
mov byte [esp + 0x848], 0
cmp dword [esp + 0x34], 8
jb 0x4c2fca
push dword [esp + 0x20]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
lea eax, [edi + 1]
mov dword [esp + 0x30], 0
inc edi
add ebx, 2
cmp edi, ebp
jb 0x4c2f80
mov esi, dword [esp + 0x38]
mov dword [esp + 0x848], 0xffffffff
test esi, esi
je 0x4c3008
push esi
call fcn.0056503c
add esp, 4
mov al, 1
jmp 0x4c2f1b
call fcn.0056582e
int3
Function at 0x4c4410
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58f9d9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00404960
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00404960
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00404960
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00404960
mov byte [esp + 0x18], 3
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x70]
mov dword [edi + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [edi + 0x74], eax
mov dword [esp + 0x18], 0xffffffff
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 0x4c5db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58fed8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
mov esi, dword [esp + 0x3c]
movdqu xmmword [esp + 0xc], xmm0
mov byte [esp + 0x14], 0
and dword [esp + 0x14], 0xfffffeff
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 6
lea edx, [esp + 0xc]
push edx
push eax
call fcn.004c5b80
test al, al
jne 0x4c5e38
mov byte [esp + 0xb], al
jmp 0x4c5e48
lea ecx, [esp + 0xc]
call fcn.004f6700
mov dword [esi], eax
mov byte [esp + 0xb], 1
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004f6200
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00564de8
add esp, 0x2c
ret 8

Function at 0x4c62f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x58ffa0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004f6f10
mov ecx, dword [esp + 0x38]
cmp ecx, eax
jb 0x4c6338
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8
push ecx
mov ecx, esi
call fcn.004f72b0
push eax
lea ecx, [esp + 0x10]
call fcn.004f6040
mov dword [esp + 0x30], 1
lea eax, [esp + 0xc]
mov ecx, dword [esp + 0x3c]
push eax
call fcn.004f63a0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004f6200
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 8
Function at 0x4c6ef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, dword [esp + 0x28]
lea esi, [ebp + 4]
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [edi], esi
test esi, esi
je 0x4c6fea
lea eax, [esp + 0x14]
push eax
call fcn.0056a53a
add esp, 4
test eax, eax
je 0x4c6f5e
pop edi
pop esi
pop ebp
mov eax, 0x80004005
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00564de8
add esp, 0xc
ret 0x10
mov edi, dword [esp + 0x14]
lea ecx, [esi + 4]
shr ebp, 2
mov dword [esi], edi
test ebp, ebp
je 0x4c6f9f
mov edi, edi
imul edi, edi, 0x343fd
lea esi, [esp + 0x10]
mov edx, 4
add edi, 0x269ec3
sub esi, ecx
mov dword [esp + 0x10], edi
jmp 0x4c6f90
mov al, byte [esi + ecx]
xor al, byte [ebx]
inc ebx
mov byte [ecx], al
inc ecx
dec edx
jne 0x4c6f90
dec ebp
jne 0x4c6f70
imul eax, edi, 0x343fd
xor esi, esi
add eax, 0x269ec3
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
and eax, 3
je 0x4c6fd3
sub ecx, ebx
jmp 0x4c6fc0
mov dl, byte [esp + esi + 0x10]
lea ebx, [ebx + 1]
xor dl, byte [ebx - 1]
inc esi
mov byte [ecx + ebx - 1], dl
cmp esi, eax
jb 0x4c6fc0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00564de8
add esp, 0xc
ret 0x10
mov ecx, dword [esp + 0x18]
mov eax, 0x8007000e
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00564de8
add esp, 0xc
ret 0x10
Function at 0x4c9b50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5907dd
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x238], eax
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], 0
xor eax, eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov dword [esp + 0x250], 1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPCMgr_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4c9ca4
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4c9ca4
push 0x206
push eax
mov dword [esp + 0x24], eax
mov word [esp + 0x44], ax
lea eax, [esp + 0x46]
push eax
mov dword [esp + 0x2c], 1
call fcn.0056cbb0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x28]
push eax
push 0
push str.InstallDir
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
call edi
test eax, eax
jne 0x4c9c79
cmp dword [esp + 0x1c], 0x104
jae 0x4c9c79
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.InstallDir
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x4c9c79
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
call fcn.0040bc40
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x24]
push eax
call fcn.00404150
jmp 0x4c9cc9
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
lea eax, [esp + 0x24]
push eax
call fcn.00404150
mov dword [esp + 0x10], 1
mov byte [esp + 0x250], 0
cmp dword [esp + 0x38], 8
jb 0x4c9cec
push dword [esp + 0x24]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00564de8
add esp, 0x248
ret
Function at 0x4cb650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590b27
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0x20]
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push esi
mov word [edi], ax
call fcn.00404960
mov dword [esp + 0x18], 0
lea ecx, [edi + 0x18]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x18]
push eax
call fcn.00404960
mov byte [esp + 0x18], 1
lea ecx, [edi + 0x30]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x30]
push eax
call fcn.00404960
mov byte [esp + 0x18], 2
lea ecx, [edi + 0x48]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x48]
push eax
call fcn.00404960
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x60]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x60]
push eax
call fcn.00404960
mov byte [esp + 0x18], 4
lea ecx, [edi + 0x78]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x78]
push eax
call fcn.00404960
mov byte [esp + 0x18], 5
lea ecx, [edi + 0x90]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x90]
push eax
call fcn.00404960
mov byte [esp + 0x18], 6
lea ecx, [edi + 0xa8]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xa8]
push eax
call fcn.00404960
mov byte [esp + 0x18], 7
lea ecx, [edi + 0xc0]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xc0]
push eax
call fcn.00404960
mov byte [esp + 0x18], 8
lea ecx, [edi + 0xd8]
xor eax, eax
mov dword [ecx + 0x14], 7
push 0xffffffffffffffff
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0xd8]
push eax
call fcn.00404960
mov dword [esp + 0x18], 0xffffffff
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 0x4cc170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590ca1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], 0
xor edx, edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call fcn.004c2590
mov dword [esp + 0x38], 1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov edx, esi
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x14]
call fcn.004b26b0
mov edx, 0x10
mov ecx, esi
call fcn.004b2110
mov byte [esp + 0x38], 0
cmp dword [esp + 0x28], 8
jb 0x4cc212
push dword [esp + 0x14]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00564de8
add esp, 0x34
ret

Function at 0x4cc250
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590cf1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esp + 8], 0
push eax
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
push 0x5a87c4
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
mov word [esp + 0x18], ax
call fcn.00404a80
mov dword [esp + 0x30], 1
lea edx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004cc4b0
add esp, 4
mov dword [esp + 8], 1
mov byte [esp + 0x30], 0
cmp dword [esp + 0x24], 8
jb 0x4cc2ef
push dword [esp + 0x10]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
mov eax, esi
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x4ccd20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x590eb1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x50], 0
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x50], 1
xor eax, eax
push eax
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push 0x5a87c4
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00404a80
mov byte [esp + 0x50], 2
lea edx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.004cc4b0
add esp, 4
mov byte [esp + 0x50], 4
cmp dword [esp + 0x20], 8
jb 0x4ccdd1
push dword [esp + 0xc]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
mov dword [esi + 0x10], eax
mov ecx, esi
push eax
mov word [esp + 0x14], ax
mov word [esi], ax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], 0
call fcn.00404960
cmp dword [esi + 0x10], 0
mov dword [esp + 0x24], 1
je 0x4cce22
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.004047c0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.004cd0f0
test eax, eax
setne byte [esp + 8]
cmp dword [esp + 0x3c], 0
je 0x4cce52
push dword [esp + 8]
lea eax, [esp + 0x30]
push eax
call fcn.004db790
mov ecx, eax
call fcn.004db810
mov byte [esp + 0x50], 1
cmp dword [esp + 0x40], 8
jb 0x4cce6a
push dword [esp + 0x2c]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov byte [esp + 0x50], al
cmp dword [esp + 0x6c], 8
jb 0x4cce98
push dword [esp + 0x58]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00564de8
add esp, 0x4c
ret
Function at 0x4cced0
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x590f01
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
push 1
push 0
lea eax, [esp + 0x40]
mov dword [esp + 0x20], 0
push eax
mov ecx, edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], 0x25
call fcn.00404390
push 0xffffffffffffffff
push 0
push edi
cmp eax, 0xffffffff
jne 0x4ccf63
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
mov word [esi], ax
call fcn.00404960
mov dword [esp + 0x48], 0
mov dword [esp + 0x18], 1
jmp 0x4cd077
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
call fcn.00404960
mov dword [esp + 0x48], 1
cmp dword [edi + 0x14], 8
jb 0x4ccfa5
mov eax, dword [edi]
jmp 0x4ccfa7
mov eax, edi
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test ebp, ebp
jne 0x4ccfd2
push 0xffffffffffffffff
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push edi
mov word [esi], ax
call fcn.00404960
jmp 0x4cd044
xor ecx, ecx
lea eax, [ebp + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560e4f
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 8
jb 0x4ccff8
mov edi, dword [edi]
lea eax, [ebp + 1]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x4cd01c
cmp eax, ebp
ja 0x4cd01c
xor ecx, ecx
mov word [ebx + eax*2], cx
lea ecx, [esp + 0x20]
push ebx
call fcn.0040bc40
push ebx
call fcn.0056503c
xor eax, eax
mov dword [esi + 0x14], 7
add esp, 4
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, esi
lea eax, [esp + 0x20]
push eax
call fcn.00404150
mov dword [esp + 0x18], 1
mov byte [esp + 0x48], 0
cmp dword [esp + 0x34], 8
jb 0x4cd064
push dword [esp + 0x20]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
mov dword [esp + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00564de8
add esp, 0x38
ret