joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48311e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a9750]
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.004035e0
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.004035e0
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.004035e0
mov byte [esp + 0x18], 2
mov eax, dword [esi + 0x48]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x4c]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x50]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x54]
mov dword [edi + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x58], eax
mov eax, dword [esi + 0x5c]
mov dword [edi + 0x5c], eax
mov eax, dword [esi + 0x60]
mov dword [edi + 0x60], eax
mov al, byte [esi + 0x64]
mov byte [edi + 0x64], al
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 0x418140
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x483278
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x24]
mov edi, dword [esp + 0x54]
push esi
push eax
call fcn.00418840
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
movq qword [esp + 0x14], xmm0
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov byte [esp + 0x48], 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call fcn.00407a80
xorps xmm0, xmm0
lea eax, [esp + 0x14]
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x20], 0
test eax, eax
jne 0x4181d9
xor bl, bl
jmp 0x4181f8
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4181f1
cmp eax, 0x80
je 0x4181f1
xor bl, bl
jmp 0x4181f8
mov byte [esp + 0x18], 1
mov bl, 1
mov byte [esp + 0x20], bl
mov byte [esp + 0x48], 2
lea eax, [esp + 0x13]
push eax
push edi
push esi
mov byte [esp + 0x1f], 0
call fcn.004182d0
test al, al
jne 0x41822b
cmp byte [esp + 0x13], al
je 0x41822b
cmp dword [esi + 0x14], 8
jb 0x418224
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x48], 1
test bl, bl
je 0x418248
mov eax, dword [esp + 0x14]
test eax, eax
je 0x418243
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41826c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x14], 0
mov word [esp + 0x18], 0
mov dword [esp + 0x48], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x41828e
push dword [esp + 0x24]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], 0
mov word [esp + 0x24], ax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00466b29
add esp, 0x3c
ret 8
Function at 0x41a680
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
xor eax, eax
mov esi, ecx
push 0x20a
push eax
mov word [esp + 0xc], ax
lea eax, [esp + 0xe]
push eax
call fcn.0046ab60
add esp, 0xc
lea eax, [esp + 4]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x41a6f7
xor eax, eax
mov ecx, esi
mov word [esp + 0x20e], ax
lea eax, [esp + 4]
push eax
call fcn.00403320
mov al, 1
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00466b29
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
xor al, al
pop esi
xor ecx, esp
call fcn.00466b29
add esp, 0x210
ret

Function at 0x41a710
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4837c8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
and edi, 0xffffb1af
cmp dword [esi + 0x14], 8
jb 0x41a755
mov eax, dword [esi]
jmp 0x41a757
mov eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push eax
call ebx
test eax, eax
je 0x41a76c
mov al, 1
jmp 0x41a7f6
xor eax, eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x38], eax
lea edx, [esp + 0x14]
mov ecx, esi
call fcn.0041b9a0
test al, al
je 0x41a7c0
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
push edi
cmovae eax, dword [esp + 0x18]
push eax
call ebx
test eax, eax
je 0x41a7c0
mov bl, 1
jmp 0x41a7c2
xor bl, bl
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x28], 8
jb 0x41a7dd
push dword [esp + 0x14]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
mov al, bl
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00466b29
add esp, 0x2c
ret
Function at 0x41a820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4837f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x41a85c
mov eax, dword [esi]
jmp 0x41a85e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41a8f3
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.0041b9a0
test al, al
je 0x41a8c1
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x41a8dc
push dword [esp + 0xc]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00466b29
add esp, 0x28
ret
Function at 0x41a920
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x483830
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [edi + 0x14], 8
jb 0x41a95e
mov eax, dword [edi]
jmp 0x41a960
mov eax, edi
cmp dword [esi + 0x14], 8
jb 0x41a968
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x41a97b
mov al, 1
jmp 0x41aae9
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov byte [esp + 0xf], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], eax
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.0041b9a0
movzx ecx, byte [esp + 0xf]
test al, al
mov edx, 1
mov dword [esp + 0x24], 0
cmovne ecx, edx
mov dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov byte [esp + 0x50], dl
lea edx, [esp + 0x14]
mov ecx, edi
call fcn.0041b9a0
test al, al
jne 0x41aa09
cmp byte [esp + 0x10], al
je 0x41aa86
cmp dword [esp + 0x28], 8
lea ecx, [esp + 0x14]
lea eax, [esp + 0x2c]
cmovae ecx, dword [esp + 0x14]
cmp dword [esp + 0x40], 8
push ecx
cmovae eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x41aa86
mov byte [esp + 0x50], 0
cmp dword [esp + 0x28], 8
jb 0x41aa49
push dword [esp + 0x14]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x41aa7b
push dword [esp + 0x2c]
call fcn.00467305
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
mov al, 1
jmp 0x41aad9
mov byte [esp + 0x50], 0
cmp dword [esp + 0x28], 8
jb 0x41aa9e
push dword [esp + 0x14]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x41aad0
push dword [esp + 0x2c]
call fcn.00467305
add esp, 4
xor eax, eax
mov word [esp + 0x2c], ax
xor al, al
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 7
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00466b29
add esp, 0x48
ret
Function at 0x41ab10
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x483878
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x54], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
jb 0x41ab4f
mov eax, dword [esi]
jmp 0x41ab51
mov eax, esi
cmp dword [edi + 0x14], 8
jb 0x41ab59
mov ecx, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push eax
push ecx
call ebx
test eax, eax
je 0x41ab70
mov al, 1
jmp 0x41ad53
xor eax, eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
mov dword [esp + 0x70], eax
lea edx, [esp + 0x4c]
mov ecx, edi
call fcn.0041b9a0
movzx ecx, byte [esp + 0x17]
test al, al
mov edx, 1
mov dword [esp + 0x44], 0
cmovne ecx, edx
mov dword [esp + 0x48], 0
xor eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov byte [esp + 0x70], dl
lea edx, [esp + 0x34]
mov ecx, esi
call fcn.0041b9a0
test al, al
jne 0x41abfe
cmp byte [esp + 0x18], al
je 0x41ac2b
cmp dword [esp + 0x48], 8
lea ecx, [esp + 0x34]
push 0xb
cmovae ecx, dword [esp + 0x38]
lea eax, [esp + 0x50]
cmp dword [esp + 0x64], 8
push ecx
cmovae eax, dword [esp + 0x54]
push eax
call ebx
test eax, eax
je 0x41ac2b
mov bl, 1
jmp 0x41acf0
mov ecx, esi
call fcn.0041a820
cmp eax, 0xffffffff
je 0x41acee
xor eax, eax
mov dword [esp + 0x2c], 0
push 0xffffffffffffffff
push eax
mov dword [esp + 0x38], 0
lea ecx, [esp + 0x24]
push esi
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], 0
mov word [esp + 0x28], ax
call fcn.004035e0
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x1c]
call fcn.0041b610
test al, al
je 0x41acbf
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.0041a920
test al, al
je 0x41acbf
mov edx, esi
mov ecx, edi
call fcn.0041a920
lea ecx, [esp + 0x1c]
test al, al
je 0x41acb8
call fcn.0041af80
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x1c]
call fcn.004032f0
mov bl, 1
jmp 0x41acf0
mov edx, esi
call fcn.0041a920
mov byte [esp + 0x70], 1
cmp dword [esp + 0x30], 8
jb 0x41acd7
push dword [esp + 0x1c]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
xor bl, bl
mov byte [esp + 0x70], 0
cmp dword [esp + 0x48], 8
jb 0x41ad08
push dword [esp + 0x34]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
mov dword [esp + 0x70], 0xffffffff
cmp dword [esp + 0x60], 8
jb 0x41ad3a
push dword [esp + 0x4c]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov word [esp + 0x4c], ax
mov al, bl
mov dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.00466b29
add esp, 0x64
ret
Function at 0x41ad80
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4837f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x41adbc
mov eax, dword [esi]
jmp 0x41adbe
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x41add0
mov al, 1
jmp 0x41ae5d
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.0041b9a0
test al, al
je 0x41ae27
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x41ae27
mov bl, 1
jmp 0x41ae29
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x41ae44
push dword [esp + 0xc]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00466b29
add esp, 0x28
ret

Function at 0x41ae80
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4837f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x41aebc
mov eax, dword [esi]
jmp 0x41aebe
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41aed2
mov al, 1
jmp 0x41af61
xor eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], ax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov ecx, esi
call fcn.0041b9a0
test al, al
je 0x41af2b
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x41af2b
mov bl, 1
jmp 0x41af2d
xor bl, bl
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x41af48
push dword [esp + 0xc]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x20], 7
mov word [esp + 0xc], ax
mov al, bl
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00466b29
add esp, 0x28
ret
Function at 0x41af80
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4838c0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x14], 8
jb 0x41afbd
mov eax, dword [esi]
jmp 0x41afbf
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x41afd3
mov al, 1
jmp 0x41b190
cmp dword [esi + 0x14], 8
jb 0x41afdd
mov edx, dword [esi]
jmp 0x41afdf
mov edx, esi
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp word [edx], ax
jne 0x41b00f
xor ecx, ecx
jmp 0x41b023
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b014
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.00403a40
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x2c]
call fcn.0041a820
mov ebx, eax
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x41b05c
push dword [esp + 0x2c]
call fcn.00467305
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
cmp ebx, 0xffffffff
jne 0x41b07f
xor al, al
jmp 0x41b190
cmp dword [esi + 0x14], 8
jb 0x41b089
mov eax, dword [esi]
jmp 0x41b08b
mov eax, esi
push eax
lea ecx, [esp + 0x30]
call fcn.004031e0
mov dword [esp + 0x50], 1
xor edx, edx
lea ecx, [esp + 0x2c]
call fcn.0041a710
test al, al
sete al
mov byte [esp + 0x13], al
mov dword [esp + 0x50], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x41b0d0
push dword [esp + 0x2c]
call fcn.00467305
mov al, byte [esp + 0x17]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], cx
test al, al
jne 0x41b078
cmp dword [esi + 0x14], 8
jb 0x41b0f5
mov eax, dword [esi]
jmp 0x41b0f7
mov eax, esi
push eax
call edi
test eax, eax
jne 0x41afcc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x50], 2
lea edx, [esp + 0x2c]
mov ecx, esi
call fcn.0041b9a0
test al, al
je 0x41b14b
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
cmovae eax, dword [esp + 0x2c]
push eax
call edi
test eax, eax
je 0x41b14b
mov bl, 1
jmp 0x41b17d
cmp dword [esi + 0x14], 8
jb 0x41b153
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x18]
call fcn.004031e0
mov byte [esp + 0x50], 3
mov edx, ebx
lea ecx, [esp + 0x14]
call fcn.0041a710
mov byte [esp + 0x50], 2
lea ecx, [esp + 0x14]
call fcn.004032f0
xor bl, bl
mov dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.004032f0
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00466b29
add esp, 0x44
ret
Function at 0x41b1b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4838fb
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x624], eax
push esi
mov eax, dword [0x4a9750]
xor eax, esp
push eax
lea eax, [esp + 0x630]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4ac574]
mov dword [esp + 8], 0x4ac574
test eax, eax
je 0x41b202
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x638], 0
cmp dword [0x4aa5ec], 0
je 0x41b250
cmp esi, 0x4aa5dc
je 0x41b22e
push 0xffffffffffffffff
push 0
push 0x4aa5dc
mov ecx, esi
call fcn.004035e0
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x4ac574]
test eax, eax
je 0x41b249
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x41b32b
xor eax, eax
push 0x20a
push eax
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push eax
call fcn.0046ab60
add esp, 0xc
lea eax, [esp + 0xc]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x41b30e
xor eax, eax
push 0x410
push eax
mov word [esp + 0x21e], ax
mov word [esp + 0x220], ax
lea eax, [esp + 0x222]
push eax
call fcn.0046ab60
add esp, 0xc
lea eax, [esp + 0x218]
push 0x208
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x41b2fd
test eax, eax
je 0x41b2fd
add eax, eax
cmp eax, 0x412
jae 0x41b2f8
xor ecx, ecx
mov word [esp + eax + 0x218], cx
lea eax, [esp + 0x218]
push eax
mov ecx, esi
call fcn.00403320
jmp 0x41b22e
call fcn.0046788d
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call fcn.00403320
jmp 0x41b22e
mov dword [esp + 0x638], 0xffffffff
mov eax, dword [0x4ac574]
test eax, eax
je 0x41b329
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov dword [esp + 8], 0
mov ecx, dword [esp + 0x630]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x624]
xor ecx, esp
call fcn.00466b29
add esp, 0x634
ret
Function at 0x41b360
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4a9750]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
mov ebx, dword [esp + 0x218]
xor eax, eax
push esi
push edi
push 0x20a
push eax
mov word [esp + 0x14], ax
mov edi, edx
lea eax, [esp + 0x16]
mov esi, ecx
push eax
call fcn.0046ab60
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x41b3a4
mov edi, dword [edi]
cmp dword [esi + 0x14], 8
jb 0x41b3ac
mov esi, dword [esi]
lea eax, [esp + 0xc]
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41b436
xor eax, eax
mov word [esp + 0x216], ax
cmp word [esp + 0xc], ax
jne 0x41b3f9
xor ecx, ecx
lea eax, [esp + 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00403a40
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00466b29
add esp, 0x210
ret
lea ecx, [esp + 0xc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b400
sub ecx, edx
lea eax, [esp + 0xc]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00403a40
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00466b29
add esp, 0x210
ret
mov ecx, dword [esp + 0x218]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00466b29
add esp, 0x210
ret

Function at 0x41d0b0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x483ec4
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a9750]
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.004035e0
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.004035e0
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.004035e0
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.004035e0
mov byte [esp + 0x18], 3
lea ecx, [edi + 0x70]
movzx eax, byte [esi + 0x60]
mov byte [edi + 0x60], al
movzx eax, byte [esi + 0x61]
mov byte [edi + 0x61], al
mov eax, dword [esi + 0x64]
mov dword [edi + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [edi + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [edi + 0x6c], eax
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esi + 0x70]
push eax
call fcn.004035e0
mov byte [esp + 0x18], 4
movzx eax, byte [esi + 0x88]
mov byte [edi + 0x88], al
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