joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b660
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53f8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esi + 0x9c]
cmp eax, 0x3d0
jbe 0x48b86d
call edi
mov edi, dword [esi + 0x28]
add edi, 0x4e8
mov dword [esi + 0x9c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
mov dword [esp + 0x18], edi
call edx
mov dword [esp + 0x68], 0
call fcn.00480a20
mov dword [esp + 0x14], eax
add esi, 0xa0
mov dword [esp + 0x1c], 2
mov ecx, esi
call fcn.0049a130
test al, al
je 0x48b84e
mov eax, dword [esi + 8]
push eax
call fcn.0049a350
add esp, 4
test al, al
je 0x48b7f3
mov ecx, esi
call fcn.0049a2f0
test eax, eax
je 0x48b84a
cmp eax, 0xffffffff
jne 0x48b731
call fcn.004785c0
mov eax, dword [eax + 0x3cc]
call eax
test eax, eax
je 0x48b84a
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
add edi, 8
push edx
lea eax, [esp + 0x50]
mov dword [esp + 0x24], ecx
push eax
mov ecx, edi
call fcn.004873a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
test eax, eax
je 0x48b770
cmp eax, ebp
je 0x48b775
call fcn.00526bf6
cmp dword [esp + 0x28], ebx
je 0x48b78a
lea ecx, [esp + 0x24]
call fcn.0047f860
mov eax, dword [esp + 0x24]
jmp 0x48b768
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push ebx
push ebp
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.004804e0
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
push 0x494300
mov ecx, esi
call eax
test al, al
je 0x48b7df
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x24], ecx
push eax
mov ecx, edi
call fcn.004803f0
mov eax, dword [esi + 8]
push eax
call fcn.0049a350
add esp, 4
test al, al
jne 0x48b708
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ecx
add edi, 8
push edx
mov ecx, edi
call fcn.00489680
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 4]
push esi
push 0x494300
mov ecx, esi
call edx
test al, al
je 0x48b84a
mov eax, dword [esi + 8]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.004803f0
mov edi, dword [esp + 0x18]
add esi, 0x14
sub dword [esp + 0x1c], 1
jne 0x48b6e5
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
mov dword [esp + 0x68], 0xffffffff
call edx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x495630
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x540e98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, dword [esp + 0x40]
mov esi, ecx
call fcn.004bced0
push edi
lea ecx, [esp + 0x10]
call fcn.004bc7b0
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.004bcaa0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4956a6
cmp dword [esi + 0x1c], 0x10
jb 0x49569b
mov ecx, dword [esi + 8]
jmp 0x49569e
lea ecx, [esi + 8]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004bbaf0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00526a8a
add esp, 0x30
ret 0x10
Function at 0x49d030
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x5412e0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x45d504]
mov ecx, dword [0x45d500]
push eax
push ecx
mov ecx, esi
call fcn.004bf7b0
cmp dword [0x45d4f0], 0
je 0x49d0a6
push 0x10
push 0xc
mov ecx, esi
call fcn.004bf880
mov ecx, dword [0x45d4f0]
mov edx, dword [ecx]
mov dword [eax + 4], edx
movzx edx, word [ecx + 4]
mov word [eax + 8], dx
movzx edx, word [ecx + 6]
mov word [eax + 0xa], dx
mov edx, dword [ecx + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x10], ecx
mov eax, dword [0x45d4ec]
test eax, eax
je 0x49d0f3
push eax
lea ecx, [esp + 0x20]
call fcn.0047ae40
lea edx, [esp + 0x1c]
push edx
push 8
mov ecx, esi
mov dword [esp + 0x6c], 0
call fcn.004bf9b0
cmp dword [esp + 0x38], 0x10
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x1c], 0x469080
jb 0x49d0f3
mov eax, dword [esp + 0x24]
push eax
call fcn.005265f5
add esp, 4
push 8
push 9
mov ecx, esi
call fcn.004bf880
movzx ecx, word [0x45d4f4]
mov word [eax + 4], cx
movzx edx, word [0x45d4f6]
mov word [eax + 6], dx
movzx ecx, word [0x45d4f8]
mov word [eax + 8], cx
movzx edx, word [0x45d4fa]
push 8
push 0x102
mov ecx, esi
mov word [eax + 0xa], dx
call fcn.004bf880
push 4
add eax, 4
push 0x108
mov ecx, esi
mov dword [esi + 0x18], eax
call fcn.004bf880
push 4
add eax, 4
push 0xa
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.004bf880
mov edi, eax
lea eax, [esp + 0x3c]
push eax
call fcn.004c1de0
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
mov dword [esp + 0x68], 1
call fcn.004c0850
lea ecx, [esp + 0x3c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004cc680
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov ax, word [esp + 0x18]
add ecx, 0xffffffc4
shl edx, 6
or edx, dword [esp + 0x16]
shl ecx, 4
or ecx, dword [esp + 0xe]
shr ax, 1
shl edx, 5
or dx, ax
shl ecx, 5
or ecx, dword [esp + 0x12]
movzx eax, dx
mov word [edi + 4], cx
mov word [edi + 6], ax
test byte [0x45d4e8], 4
je 0x49d1e7
push 4
push 0x104
mov ecx, esi
call fcn.004bf880
add eax, 4
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x5c
ret
Function at 0x49dc20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5413d1
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
lea ecx, [esi + 4]
push 0xffffffffffffffff
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 0xf
push eax
mov byte [ecx + 4], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x24], 1
call fcn.004787f0
mov ecx, dword [esp + 0x44]
mov dword [esi], 0x469080
mov dword [esi + 0x20], ecx
cmp dword [esp + 0x40], 0x10
mov dword [esp + 0x24], 0x469080
jb 0x49dca0
mov edx, dword [esp + 0x2c]
push edx
call fcn.005265f5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4a2940
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5419b8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004bc7b0
mov eax, dword [esp + 0x68]
mov dword [esp + 0x7c], 0
mov ebx, 0x10
test eax, eax
je 0x4a29af
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], ebx
jae 0x4a29a7
lea ecx, [esp + 0x58]
push eax
push ecx
call dword [sym.imp.USER32.dll_CharUpperBuffA]
push 1
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x58]
call fcn.004bd880
mov byte [esp + 0x7c], 1
test eax, eax
je 0x4a29cd
lea esi, [eax + 4]
jmp 0x4a29cf
xor esi, esi
push 1
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004bd880
mov byte [esp + 0x7c], 2
test eax, eax
je 0x4a29eb
lea ecx, [eax + 4]
jmp 0x4a29ed
xor ecx, ecx
mov edx, dword [esi + 0x14]
cmp dword [esi + 0x18], ebx
jb 0x4a29fa
mov eax, dword [esi + 4]
jmp 0x4a29fd
lea eax, [esi + 4]
push edx
mov edx, dword [ecx + 0x14]
push eax
push edx
push 0
call fcn.00481f20
test eax, eax
lea ecx, [esp + 0x10]
sete bl
mov byte [esp + 0x7c], 1
call fcn.004bbaf0
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 0
call fcn.004bbaf0
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004bbaf0
mov al, bl
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00526a8a
add esp, 0x70
ret 4

Function at 0x4a6bc0
Capabilities:
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x541cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov esi, dword [esp + 0x44]
test esi, esi
je 0x4a6cba
mov ebp, dword [esp + 0x48]
cmp dword [ebp + 0x18], 0
je 0x4a6cba
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push esi
call ebx
test eax, eax
jne 0x4a6cba
mov eax, 0x5a4d
cmp ax, word [esi]
jne 0x4a6cba
mov edi, dword [esi + 0x3c]
push 0xf8
add edi, esi
push edi
call ebx
test eax, eax
jne 0x4a6cba
cmp dword [edi], 0x4550
jne 0x4a6cba
mov edi, dword [edi + 0x80]
test edi, edi
je 0x4a6cc2
mov eax, dword [edi + esi + 0xc]
add edi, esi
mov dword [esp + 0x44], edi
test eax, eax
je 0x4a6cad
add eax, esi
push eax
lea ecx, [esp + 0x18]
call fcn.0047ae40
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], 0
call fcn.004a6560
test eax, eax
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x3c], 0xffffffff
call fcn.00477890
test bl, bl
je 0x4a6c9f
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
push edx
call fcn.004a6b80
mov eax, dword [edi + 0x20]
add edi, 0x14
mov dword [esp + 0x44], edi
test eax, eax
jne 0x4a6c57
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x18], 0
setne al
jmp 0x4a6cc4
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
Function at 0x4abc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x542378
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x40], eax
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x60]
mov edi, ecx
lea ecx, [esp + 0x2c]
call fcn.004bbad0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0
call fcn.004bcc30
push 0x465654
lea ecx, [esp + 0x30]
call fcn.004bcd30
push 1
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004bd880
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5c], 1
call fcn.004bcaa0
lea ecx, [esp + 0xc]
mov byte [esp + 0x58], 0
call fcn.004bbaf0
cmp dword [esp + 0x48], 0x10
mov eax, dword [esp + 0x34]
jae 0x4abce8
lea eax, [esp + 0x34]
push eax
call fcn.0050be30
add esp, 4
mov dword [edi + 4], eax
test eax, eax
jne 0x4abd31
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004bd1c0
cmp dword [eax + 0x1c], 0x10
mov byte [esp + 0x58], 2
jb 0x4abd14
mov eax, dword [eax + 8]
jmp 0x4abd17
add eax, 8
push eax
call fcn.0050be30
add esp, 4
lea ecx, [esp + 0xc]
mov dword [edi + 4], eax
mov byte [esp + 0x58], 0
call fcn.004bbaf0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0xffffffff
call fcn.004bbaf0
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00526a8a
add esp, 0x50
ret 4

Function at 0x4ac240
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5424c8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], 0x469080
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x80], ebx
call fcn.004ac0f0
lea ecx, [esp + 0x4c]
call fcn.004bbad0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.004bced0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x10]
call fcn.004bc340
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 2
call fcn.004bcaa0
lea ecx, [esp + 0xc]
mov byte [esp + 0x78], 1
call fcn.004bbaf0
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
call fcn.004abc50
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], bl
call fcn.004bbaf0
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x469080
jb 0x4ac320
mov ecx, dword [esp + 0x34]
push ecx
call fcn.005265f5
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00526a8a
add esp, 0x70
ret 4
Function at 0x4ac340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54251e
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa0]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
mov dword [esp + 0x2c], 0x469080
push eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0xa0], ebx
call fcn.004ac0f0
call fcn.00478640
add eax, 8
push eax
lea ecx, [esp + 0x70]
call fcn.004bc340
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 1
call fcn.004bbad0
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x70]
mov byte [esp + 0x9c], 2
call fcn.004bc920
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 3
call fcn.004bb790
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 2
call fcn.004bbaf0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x10]
call fcn.004bc340
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x9c], 4
call fcn.004bcaa0
lea ecx, [esp + 0xc]
mov byte [esp + 0x98], 2
call fcn.004bbaf0
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004abc50
lea ecx, [esp + 0x4c]
mov byte [esp + 0x98], 1
call fcn.004bbaf0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x98], bl
call fcn.004bbaf0
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x469080
jb 0x4ac488
mov edx, dword [esp + 0x34]
push edx
call fcn.005265f5
add esp, 4
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00526a8a
add esp, 0x90
ret 4

Function at 0x4ac4b0
Capabilities:
Identify system language via api

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x4ac5ae
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and eax, 0x3ff
movzx edx, ax
or edx, 0x800
xor ecx, ecx
cmp edx, dword [ecx + 0x4657c0]
je 0x4ac4fb
cmp edx, dword [ecx + 0x4657c4]
je 0x4ac4fb
cmp edx, dword [ecx + 0x4657c8]
je 0x4ac4fb
cmp edx, dword [ecx + 0x4657cc]
je 0x4ac4fb
add ecx, 0x10
cmp ecx, 0x40
jb 0x4ac4d3
push esi
xor esi, esi
mov edi, edi
cmp eax, dword [esi*4 + 0x4657c0]
je 0x4ac539
cmp eax, dword [esi*4 + 0x4657c4]
je 0x4ac52e
cmp eax, dword [esi*4 + 0x4657c8]
je 0x4ac531
cmp eax, dword [esi*4 + 0x4657cc]
je 0x4ac536
add esi, 4
cmp esi, 0x10
jb 0x4ac500
jmp 0x4ac54d
inc esi
jmp 0x4ac539
add esi, 2
jmp 0x4ac539
add esi, 3
cmp esi, 0x10
jae 0x4ac54d
mov eax, dword [esi*4 + 0x45d588]
push eax
mov ecx, edi
call fcn.004ac240
cmp dword [edi + 4], 0
jne 0x4ac566
mov ecx, dword [esi*4 + 0x45d588]
push ecx
mov ecx, edi
call fcn.004ac340
cmp dword [edi + 4], 0
pop esi
jne 0x4ac577
mov edx, dword [0x45d588]
push edx
mov ecx, edi
call fcn.004ac240
cmp dword [edi + 4], 0
jne 0x4ac5ae
mov eax, dword [0x45d588]
push eax
mov ecx, edi
call fcn.004ac340
cmp dword [edi + 4], 0
jne 0x4ac5ae
push 0x4651d5
mov ecx, edi
call fcn.004ac240
cmp dword [edi + 4], 0
jne 0x4ac5ae
push 0x4651d5
mov ecx, edi
call fcn.004ac340
xor eax, eax
cmp dword [edi + 4], eax
pop edi
setne al
ret
Function at 0x4ae940
Capabilities:
Get common file path
Get disk size

Disassembly:
sub esp, 0x134
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0x13c]
push ebx
mov ebx, dword [esp + 0x144]
push ebp
mov ebp, dword [esp + 0x140]
push esi
push edi
mov esi, ecx
push eax
lea edi, [esi + 0x508]
push ebp
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.004766f0
test eax, eax
jne 0x4ae98d
xor al, al
jmp 0x4aea74
cmp dword [edi + 8], 0
mov eax, dword [esi + 0x510]
je 0x4ae99e
mov edi, dword [edi + 4]
jmp 0x4ae9a0
xor edi, edi
mov ecx, dword [ebx]
push ecx
push eax
push edi
mov ecx, esi
call fcn.00519360
test al, al
je 0x4ae986
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push 0x5f5e100
push edx
push eax
call fcn.00528860
lea ecx, [esp + 0x3c]
push ecx
push 0x104
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x53], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov eax, dword [esp + 0x24]
xor eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, eax
xor eax, dword [esp + 0x18]
push 0xffffffffffffffff
xor eax, edx
xor ecx, edx
push eax
push ecx
push edi
mov ecx, esi
call fcn.00515f80
cmp byte [esp + 0x154], 0
mov bl, al
je 0x4aea72
mov ecx, dword [esp + 0x14c]
push ecx
add esi, 0x2f0
push ebp
mov ecx, esi
call fcn.004be0a0
push 0xffffffffffffffff
mov ecx, esi
call fcn.004be1f0
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
mov al, bl
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00526a8a
add esp, 0x134
ret 0x10
Function at 0x4aef70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5427b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
push edi
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], 0x465788
call fcn.004ac7c0
mov byte [esp + 0x20], al
movzx eax, byte [esi + 0x628]
mov edx, dword [esp + 0x3c]
push eax
lea ecx, [esi + 0x524]
push ecx
push edx
push edi
push ebx
mov ecx, esi
mov dword [esp + 0x40], 0
call fcn.0049ace0
test al, al
jne 0x4af016
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x465788
cmp byte [esp + 0x20], al
je 0x4aefff
lea ecx, [esp + 0x10]
call fcn.004ac810
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 0x10
push edi
push ebx
lea ecx, [esp + 0x40]
mov byte [esi + 0x628], 1
mov dword [esp + 0x40], 0xffffffff
call fcn.004c02b0
lea ecx, [esp + 0x38]
call fcn.00501d90
cmp eax, dword [esp + 0x40]
jne 0x4af04d
mov eax, dword [esi + 0x78]
and eax, 0x100
je 0x4af04d
mov bl, 1
jmp 0x4af04f
xor bl, bl
cmp byte [esp + 0x20], 0
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x465788
je 0x4af06f
lea ecx, [esp + 0x10]
call fcn.004ac810
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret 0x10
Function at 0x4b5500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x542938
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.004c2d00
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.004c2d10
lea ecx, [esp + 8]
push esi
push ecx
call fcn.004b52f0
mov ecx, eax
call fcn.004c2500
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004eba40
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4

Function at 0x4b55a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x542938
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 8]
call fcn.004c2d00
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.004c2d10
lea ecx, [esp + 8]
push esi
push ecx
call fcn.004b5370
mov ecx, eax
call fcn.004c2640
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.004eba40
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4

Function at 0x4b69a0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push edi
mov edi, ecx
call fcn.004d7dc0
lea ecx, [eax + 0x6c]
call fcn.004cb2b0
call fcn.004d7dc0
mov esi, dword [0x59cfc4]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b695e
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0xe74
lea eax, [edi + 0x2c]
push 0
push eax
call fcn.00526600
mov ecx, dword [0x59dee4]
add esp, 0xc
mov esi, ecx
test ecx, ecx
je 0x4b6992
call fcn.004c8ee0
push esi
call fcn.005265f5
add esp, 4
call fcn.004d7f70
mov ecx, edi
pop edi
pop esi
jmp 0x4cb3e0
mov ecx, 0x59cfc8
jmp 0x4b6930
push ebx
call fcn.004c6c30
mov bl, al
call fcn.004dd0a0
mov al, bl
pop ebx
ret
Function at 0x4bba00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x1c], 0x10
jb 0x4bba0b
mov ecx, dword [ecx + 8]
jmp 0x4bba0e
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4bba21
test al, 0x10
jne 0x4bba21
mov al, 1
ret
xor al, al
ret

Function at 0x4bba30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x1c], 0x10
jb 0x4bba3b
mov ecx, dword [ecx + 8]
jmp 0x4bba3e
add ecx, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4bba51
test al, 0x10
je 0x4bba51
mov al, 1
ret
xor al, al
ret

Function at 0x4bc800
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x543b76
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x463df0]
xor eax, esp
mov dword [esp + 0x250], eax
push esi
mov eax, dword [0x463df0]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4bc892
lea eax, [esp + 0x150]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x150]
push ecx
lea ecx, [esp + 0x30]
call fcn.004bc7b0
lea edx, [esp + 0x2c]
push edx
mov ecx, esi
mov dword [esp + 0x268], 0
call fcn.004b5e20
cmp dword [esp + 0x48], 0x10
mov dword [esp + 0x2c], 0x469080
jb 0x4bc8f7
mov eax, dword [esp + 0x34]
push eax
jmp 0x4bc8ef
cmp dword [esi + 0x1c], 0x10
jb 0x4bc89d
mov eax, dword [esi + 8]
jmp 0x4bc8a0
lea eax, [esi + 8]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x50]
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x10]
call fcn.004bc7b0
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
mov dword [esp + 0x268], 1
call fcn.004b5e20
cmp dword [esp + 0x28], 0x10
mov dword [esp + 0xc], 0x469080
jb 0x4bc8f7
mov edx, dword [esp + 0x14]
push edx
call fcn.005265f5
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x250]
xor ecx, esp
call fcn.00526a8a
add esp, 0x260
ret