joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b83e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x862645
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0xc]
call fcn.00617650
mov edi, 1
push 0x94b27c
lea ecx, [esp + 0xc]
mov dword [esp + 0x224], edi
call fcn.0061b8a0
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push 0x103
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov esi, dword [esp + 0x228]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00617650
mov dword [esp + 0xc], edi
lea ecx, [esp + 8]
mov byte [esp + 0x220], 0
call fcn.00617ec0
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x4b84d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x8626c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x24], esi
mov dword [esi], 0x898504
lea edi, [esi + 0x58]
mov dword [esp + 0x30], 8
mov ecx, edi
call fcn.00617be0
lea ebx, [esi + 0x18]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004bf370
lea ecx, [esi + 4]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x28], ecx
call fcn.004bf1f0
lea ebp, [esi + 0x2c]
push 0xffffffffffffffff
push 0
mov ecx, ebp
call fcn.0061eca0
lea ecx, [esi + 0x3c]
mov dword [esp + 0x1c], ecx
call fcn.00617be0
xor eax, eax
lea ecx, [esi + 0x4c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x5c], eax
mov dword [esp + 0x10], ecx
call fcn.00637030
lea ecx, [esi + 0x48]
mov dword [esp + 0x14], ecx
call fcn.00637030
lea ecx, [esi + 0x44]
mov dword [esp + 0x18], ecx
call fcn.00637030
xor eax, eax
mov ecx, edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov byte [esp + 0x30], 7
call fcn.00617ec0
lea ecx, [esi + 0x54]
mov byte [esp + 0x30], 6
call fcn.00617ec0
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x30], 5
call fcn.00636c90
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x30], 4
call fcn.00636c90
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x30], 3
call fcn.00636c90
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x30], 2
call fcn.00617ec0
mov ecx, ebp
mov byte [esp + 0x30], 1
call fcn.0061ebe0
mov dword [esp + 0x1c], ebx
mov dword [ebx], method.CCommandLineInfo.virtual_0
mov ebx, dword [ebx + 4]
mov byte [esp + 0x30], 9
test ebx, ebx
je 0x4b85f5
push ebx
call fcn.008325dd
add esp, 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [eax], method.CCommandLineInfo.virtual_0
mov eax, dword [eax + 4]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x24], 0xa
pop ebx
je 0x4b861f
push eax
call fcn.008325dd
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4b86a0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x8626fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
push esi
lea eax, [esp + 4]
push edi
push eax
call fcn.004b83e0
add esp, 4
xor edi, edi
push str.OEATemp
lea ecx, [esp + 0xc]
mov dword [esp + 0x278], edi
call fcn.00618b00
mov esi, dword [esp + 0x27c]
cmp esi, edi
je 0x4b8704
push esi
lea ecx, [esp + 0xc]
call fcn.006181a0
push 0x94b27c
lea ecx, [esp + 0xc]
call fcn.0061b8a0
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
call fcn.00617440
push 0x93c728
lea ecx, [esp + 0x10]
mov byte [esp + 0x278], 1
call fcn.00618b00
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
cmp eax, 0x104
jge 0x4b887d
mov dword [esp + 0x1c], edi
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x4b887d
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea ecx, [esp + 0x50]
push 0x9428c0
push ecx
call edi
test eax, eax
je 0x4b8831
lea edx, [esp + 0x50]
push 0x9428c4
push edx
call edi
test eax, eax
je 0x4b8831
lea eax, [esp + 0x10]
push 0x92edb8
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00618620
lea edx, [esp + 0x50]
mov byte [esp + 0x27c], 2
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00618620
lea ecx, [esp + 0x20]
mov byte [esp + 0x27c], 4
call fcn.00617ec0
test byte [esp + 0x24], 0x10
je 0x4b87f9
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b86a0
add esp, 4
jmp 0x4b8811
mov edx, dword [esp + 0x18]
push edx
call esi
and al, 0xfe
push eax
mov eax, dword [esp + 0x1c]
push eax
call ebp
mov ecx, dword [esp + 0x18]
push ecx
call ebx
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0x24]
mov byte [esp + 0x27c], 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
call fcn.00617ec0
jmp 0x4b883e
mov ecx, 0x94
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4b8778
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c], 0
call fcn.00617ec0
mov esi, dword [esp + 0x284]
pop ebp
pop ebx
jmp 0x4b888e
lea ecx, [esp + 0xc]
mov byte [esp + 0x274], 0
call fcn.00617ec0
pop edi
test esi, esi
pop esi
je 0x4b88ce
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4b88ce
lea ecx, [esp]
mov dword [esp + 0x26c], 0xffffffff
call fcn.00617ec0
xor eax, eax
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
add esp, 0x270
ret
lea ecx, [esp]
mov dword [esp + 0x26c], 0xffffffff
call fcn.00617ec0
mov ecx, dword [esp + 0x264]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x270
ret
Function at 0x4b9330
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x8627e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
cmp edi, ebx
je 0x4b9463
push edi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x4b9463
push edi
lea ecx, [esp + 0x24]
call fcn.00617650
push 3
push 0x5c
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call fcn.00619060
push 2
push 0x93a338
push edi
mov esi, eax
call fcn.005fddee
add esp, 0xc
test eax, eax
jne 0x4b93a8
inc esi
lea ecx, [esp + 0x20]
push esi
push 0x5c
call fcn.00619060
mov esi, eax
cmp esi, 0xffffffff
je 0x4b940a
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.0061a690
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x18], 1
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4b93e5
mov edx, dword [esp + 0xc]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4b9445
jmp 0x4b93e9
test al, 0x10
je 0x4b9445
inc esi
lea ecx, [esp + 0x20]
push esi
push 0x5c
call fcn.00619060
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x18], bl
call fcn.00617ec0
cmp esi, 0xffffffff
jne 0x4b93b3
mov esi, dword [esp + 0x20]
call fcn.00664080
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00617ec0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call fcn.00617ec0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00617ec0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4bce50
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x862cb8
push eax
mov dword fs:[0], esp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4bcfae
cmp word [edi], 0
je 0x4bcfae
mov esi, dword [esp + 0x20]
test esi, esi
je 0x4bcfae
cmp word [esi], 0
je 0x4bcfae
push esi
call fcn.004b9330
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4bceb6
test al, 0x10
je 0x4bceb6
push 0x875
jmp 0x4bcfb3
mov eax, dword [0x8ab26c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea ecx, [esp + 0x20]
push str._s_tmp_08x.oeax
push ecx
call fcn.0061aed0
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push eax
push ecx
call fcn.004b8900
add esp, 0x4c
test eax, eax
jne 0x4bcf59
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00617ec0
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
mov edx, dword [esp + 0x18]
push 2
push esi
push edx
push edi
call fcn.004cf430
add esp, 0x10
mov esi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
jne 0x4bcf8a
push 0x885
push 4
call fcn.004b8630
add esp, 8
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 0xffffffff
call fcn.00617ec0
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
push 0x86b
push 1
call fcn.004b8630
mov ecx, dword [esp + 0x10]
add esp, 8
xor eax, eax
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0xc
ret
Function at 0x4c0150
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x863168
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.0063c3d0
mov eax, dword [esp + 0x28]
mov ecx, esi
push eax
call fcn.0063c060
test eax, eax
jne 0x4c0198
fld qword [esp + 0x2c]
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0063c4f0
mov eax, dword [esp + 0x24]
lea edx, [esp + 4]
push edx
push 0x947bb4
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0
call fcn.005fc68e
mov ecx, dword [esp + 0x10]
add esp, 0xc
test ecx, ecx
jne 0x4c01fa
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00617ec0
fld qword [0x894380]
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov eax, 0x68db8bad
push edi
imul ecx
sar edx, 0xc
mov eax, edx
mov edi, 0x2710
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov esi, edx
push 0
cdq
idiv edi
mov eax, 0x51eb851f
push 0
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
mov ecx, 0x64
cdq
idiv ecx
lea ecx, [esp + 0x18]
push edx
push edi
push esi
call fcn.005f1851
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0xffffffff
call fcn.00617ec0
mov ecx, dword [esp + 0x18]
pop edi
fld qword [esp + 0x2c]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x4c3bf0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x8639e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov ebx, ecx
push edi
push eax
lea ecx, [esp + 0x14]
call fcn.00831f5f
mov esi, dword [ebx + 0xc]
lea ecx, [ebx + 4]
lea edx, [esp + 0x10]
mov dword [esp + 0x24], 0
push edx
push esi
mov dword [esp + 0x1c], esi
call fcn.0082ada5
mov ebp, dword [ebx + 0x20]
lea edi, [ebx + 0x18]
push 0xffffffffffffffff
mov ecx, edi
lea eax, [ebp + 1]
push eax
call fcn.0042c2c0
mov ecx, dword [edi + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [ecx + ebp*8], edx
mov dword [ecx + ebp*8 + 4], eax
mov eax, dword [ebx + 0x34]
mov ebp, eax
mov dword [esp + 0x18], ebp
inc ebp
test ebp, ebp
jne 0x4c3c8c
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4c3c7f
push eax
call fcn.008325dd
add esp, 4
mov dword [ebx + 0x30], ebp
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x34], eax
jmp 0x4c3d9a
mov edx, dword [ebx + 0x30]
test edx, edx
jne 0x4c3cc7
lea edi, [ebp*8]
push edi
call fcn.008325b4
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x30], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x38], ebp
mov dword [ebx + 0x34], ebp
jmp 0x4c3d9a
mov edi, dword [ebx + 0x38]
cmp ebp, edi
jg 0x4c3cf4
cmp ebp, eax
jle 0x4c3cec
mov ecx, ebp
lea edi, [edx + eax*8]
sub ecx, eax
xor eax, eax
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x34], ebp
jmp 0x4c3d9a
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
jne 0x4c3d1f
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x4c3d12
mov ecx, 4
jmp 0x4c3d1f
cmp ecx, 0x400
jle 0x4c3d1f
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x2c], eax
jl 0x4c3d2e
mov dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x2c]
lea ecx, [eax*8]
push ecx
call fcn.008325b4
mov ecx, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
shl ecx, 3
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x34], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x34]
mov ecx, ebp
sub ecx, edx
shl ecx, 3
lea edi, [eax + edx*8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx + 0x30]
push eax
call fcn.008325dd
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
add esp, 8
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], ebp
mov dword [ebx + 0x38], ecx
mov edx, dword [ebx + 0x30]
mov eax, dword [esp + 0x18]
fld qword [esp + 0x38]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
fstp qword [edx + eax*8]
call fcn.00831eeb
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x14
Function at 0x4c7460
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x863e2e
push eax
mov eax, dword [0x9dce80]
mov dword fs:[0], esp
sub esp, 0x9c
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x4c74a1
push str.COlPAuthMgr::CreateCheckSettingEventTask
push str.olpAuth
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
push 0x18
call fcn.008325b4
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov dword [esp + 0xac], 0
je 0x4c74d3
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, eax
call fcn.00579760
jmp 0x4c74d5
xor eax, eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ebx, 1
push eax
add esi, 0x30
push ebx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
mov dword [eax], esi
mov dword [eax + 4], 0x413a50
call fcn.005794a0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x44], ebx
call fcn.005801f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xac], 2
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x4c]
mov ecx, 0x9cf4c8
push edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x1388
call fcn.0057f840
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], bl
call fcn.00579500
lea ecx, [esp + 8]
mov dword [esp + 0xac], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0xa4]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x4c7900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x863e8e
push eax
mov eax, dword [0x9dce80]
mov dword fs:[0], esp
sub esp, 0x9c
test eax, eax
push ebx
push esi
mov esi, ecx
je 0x4c7941
push str.COlPAuthMgr::CheckSettingInit__offline_
push str.olpAuth
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
push 0x18
call fcn.008325b4
add esp, 4
mov dword [esp + 0x48], eax
test eax, eax
mov dword [esp + 0xac], 0
je 0x4c7973
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, eax
call fcn.00579760
jmp 0x4c7975
xor eax, eax
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
mov ebx, 1
push eax
add esi, 0x30
push ebx
push ebx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
mov dword [eax], esi
mov dword [eax + 4], 0x413a40
call fcn.005794a0
lea ecx, [esp + 0x4c]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x44], ebx
call fcn.005801f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xac], 2
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x4c]
mov ecx, 0x9cf4c8
push edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0xea60
call fcn.0057f840
lea ecx, [esp + 0x4c]
mov byte [esp + 0xac], bl
call fcn.00579500
lea ecx, [esp + 8]
mov dword [esp + 0xac], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0xa4]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret
Function at 0x4ce4c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push esi
push edi
push 0
call fcn.004ce470
mov esi, dword [esp + 0x34]
add esp, 4
push 2
push 0
push 0xffffffffffffffe0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
push eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push 0x20
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ce528
push 0xe3
push 7
call fcn.004ce450
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x24
ret
cmp dword [esp + 8], 0x20
jae 0x4ce546
push 0xe8
push 7
call fcn.004ce450
add esp, 8
xor eax, eax
pop edi
pop esi
add esp, 0x24
ret
cmp dword [esp + 0xc], 0x4f504554
jne 0x4ce594
lea edx, [esp + 0x14]
push 0x18
push edx
call fcn.004ce5a0
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, eax
jne 0x4ce585
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4ce57a
mov ecx, 8
lea esi, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret
push 0xf7
push 0xc
call fcn.004ce450
add esp, 8
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret
Function at 0x4cf760
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x864e40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x20]
xor ebx, ebx
cmp edi, ebx
je 0x4cf893
push edi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x4cf893
push edi
lea ecx, [esp + 0x24]
call fcn.00617650
push 3
push 0x5c
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call fcn.00619060
push 2
push 0x93a338
push edi
mov esi, eax
call fcn.005fddee
add esp, 0xc
test eax, eax
jne 0x4cf7d8
inc esi
lea ecx, [esp + 0x20]
push esi
push 0x5c
call fcn.00619060
mov esi, eax
cmp esi, 0xffffffff
je 0x4cf83a
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [esp + 0xc]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.0061a690
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x18], 1
push ecx
call edi
cmp eax, 0xffffffff
jne 0x4cf815
mov edx, dword [esp + 0xc]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4cf875
jmp 0x4cf819
test al, 0x10
je 0x4cf875
inc esi
lea ecx, [esp + 0x20]
push esi
push 0x5c
call fcn.00619060
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x18], bl
call fcn.00617ec0
cmp esi, 0xffffffff
jne 0x4cf7e3
mov esi, dword [esp + 0x20]
call fcn.00664080
push eax
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00617ec0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], bl
call fcn.00617ec0
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00617ec0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4cfda0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4cfdd7
push esi
call fcn.005fc40b
add esp, 4
test eax, eax
je 0x4cfdd7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cfdd7
test al, 0x10
jne 0x4cfdd7
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4cfdd0
mov dword [ecx], eax
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4d0e90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x864fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, ecx
push 0xffffffffffffffff
push 0x3e8
lea eax, [esi + 0xa4]
lea ecx, [esi + 0x98]
push 0
push eax
mov dword [eax], ecx
push 0
push 0
lea ecx, [esp + 0x1c]
mov dword [esi + 0x9c], esi
mov dword [esi + 0xa8], 0x4139e0
call fcn.005794a0
lea edx, [esp + 4]
mov ecx, 0x9cf1a8
push edx
mov dword [esp + 0x50], 0
call fcn.0057a890
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov dword [esi + 0xc4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc0], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0xcc], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0xe0], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0xd8], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0xec], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0xe4], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0xe8], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0xf8], ecx
lea ecx, [esp + 4]
mov dword [esi + 0xf0], edx
mov dword [esi + 0xf4], eax
mov dword [esp + 0x4c], 0xffffffff
call fcn.00579500
mov ecx, dword [esp + 0x44]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret