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

Disassembly:
push 0xffffffffffffffff
push 0x4a5f48
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
mov ebx, ecx
lea edi, [ebx + 0xc]
mov dword [esp + 0x38], 0
mov eax, dword [edi]
test eax, eax
je 0x428de4
mov edi, edi
mov esi, dword [eax + 0x3c]
push eax
call fcn.0046f0c7
add esp, 4
test esi, esi
mov eax, esi
jne 0x428dd0
mov dword [edi], esi
xor ecx, ecx
lea eax, [ebx + 0x14]
add ebx, 0x18
cmp byte [esp + 0x44], cl
lea edx, [esp + 0x18]
setne cl
mov dword [esp + 0x28], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x18], str.Fuzzy
mov dword [esp + 0x1c], str.Gray
mov dword [esp + 0x20], str.Commit
mov dword [esp + 0x24], edi
lea ecx, [ecx + ecx + 1]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, ebp
mov dword [esp + 0x3c], ebx
call fcn.00429210
add esp, 0x10
test al, al
jne 0x428e59
push 0x4ddde0
mov ecx, ebp
call fcn.0049cc40
mov ecx, eax
call fcn.0049ccb0
lea ecx, [esp + 0x48]
call fcn.00499a80
xor al, al
jmp 0x428e64
lea ecx, [esp + 0x48]
call fcn.00499a80
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x18
Function at 0x432b40
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4fc0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
call fcn.0049c860
push 0x64
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00496000
mov byte [esp + 0x28], 1
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0xc]
lea esi, [edi + 0xc]
mov ecx, esi
call edx
test al, al
je 0x432bbc
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call fcn.004962d0
test al, al
je 0x432bbc
lea ecx, [edi + 0x630]
call fcn.00498df0
lea ecx, [esp + 0xc]
call fcn.00496160
lea ecx, [esp + 0xc]
call fcn.00495fe0
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.00496190
lea ecx, [esp + 0x14]
call fcn.0049c800
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433cd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6f50
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x1c]
call fcn.0049a720
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0
call fcn.0049a720
mov eax, dword [ebp + 8]
push esi
push eax
lea edi, [esp + 0x14]
lea ebx, [esp + 0x24]
mov byte [esp + 0x40], 1
call fcn.004346c0
test al, al
jne 0x433d56
mov ecx, edi
call fcn.00499a80
lea ecx, [esp + 0x1c]
call fcn.00499a80
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x20]
push edx
push esi
lea edx, [esp + 0x18]
call fcn.00434000
test al, al
lea ecx, [esp + 0xc]
je 0x433d32
call fcn.00499a80
lea ecx, [esp + 0x1c]
call fcn.00499a80
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x466d40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a3480
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea esi, [ecx + 0x5d8]
xor ebx, ebx
push 0x80000002
lea ecx, [esp + 0x18]
mov word [esi], bx
call fcn.004a2930
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], ebx
call fcn.0049c860
push 1
push ebx
push 0x4c2f9c
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 1
call fcn.004a2740
test al, al
push ebx
lea ecx, [esp + 0x10]
je 0x466dc8
push 0x104
push esi
push ecx
lea ecx, [esp + 0x24]
call fcn.004a2900
test al, al
jne 0x466e08
push ebx
lea ecx, [esp + 0x10]
call fcn.0049db10
lea ecx, [esp + 0xc]
call fcn.0049cbe0
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.0049c800
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a2580
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
push 0x4c2f98
push 0x104
push esi
call fcn.0046f023
push 0x4df5e0
push 0x104
push esi
call fcn.0046f023
add esp, 0x18
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.0049c800
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a2580
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x4670e0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a34e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0049c860
xor ebx, ebx
push 0x64
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov byte [esi + 0x80], bl
call fcn.00496000
mov dword [esp + 0x14], vtable.UserManager::t_locker.0
push 0x4f1080
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.004962d0
test al, al
jne 0x467187
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00496190
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0049c800
or eax, 0xffffffff
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x30]
call fcn.004a2ab0
test al, al
je 0x467153
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x1b4]
call fcn.004a2ab0
test al, al
je 0x467153
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.0046a6a0
lea ecx, [esp + 0x14]
mov edi, eax
call fcn.00496160
push edi
mov ecx, esi
call fcn.0046a6e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], bl
call fcn.00496190
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0049c800
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467200
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a3508
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
xor ebp, ebp
push ebp
lea ecx, [esp + 0x20]
call fcn.00496000
mov dword [esp + 0x18], vtable.UserManager::t_locker.0
mov edi, dword [esp + 0x30]
push 0x4f1080
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebp
call fcn.004962d0
test al, al
je 0x4672f8
push ebp
push edi
lea ecx, [esi + 0x30]
call fcn.004a2ab0
test al, al
je 0x4672f8
push ebp
push edi
lea ecx, [esi + 0x1b4]
call fcn.004a2ab0
test al, al
je 0x4672f8
mov ebx, dword [esp + 0x34]
mov dword [ebx], 0xffffffff
cmp byte [esi + 0x2d], 0
jne 0x46729f
push 0x4c3008
mov ecx, edi
call fcn.0049cc40
jmp 0x4672f1
push ebp
mov dword [esp + 0x18], ebp
mov ebp, dword [esp + 0x3c]
push ebp
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.0046b010
test al, al
je 0x4672dd
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4672dd
call fcn.0046a640
lea ecx, [esp + 0x18]
mov dword [ebx], eax
mov dword [esp + 0x28], 0xffffffff
call fcn.00496190
mov al, 1
jmp 0x46730b
push 0x4c2ff4
mov ecx, edi
call fcn.0049cc40
mov ecx, eax
call fcn.0049ccb0
push ebp
mov ecx, eax
call fcn.0049ccb0
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0xffffffff
call fcn.00496190
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 0xc

Function at 0x467d60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a35b1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.0049a720
mov eax, dword [esp + 0x30]
push eax
push 0x104
push 0x104
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 1
call fcn.00499af0
push eax
mov ecx, esi
call fcn.00467c20
test al, al
lea ecx, [esp + 0xc]
jne 0x467dce
call fcn.0049bde0
jmp 0x467dd3
call fcn.0049a540
mov esi, dword [esp + 0x2c]
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call fcn.0049aa90
lea ecx, [esp + 0xc]
mov dword [esp + 8], 1
mov byte [esp + 0x24], 0
call fcn.00499a80
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 8
Function at 0x468040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a35d8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0049a720
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call fcn.00467e20
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
lea edx, [esi + 0xc]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.0046cea0
lea ecx, [esi + 0x1c]
push ecx
mov ecx, edi
call fcn.0046b3c0
mov edx, dword [esi + 0x74]
mov eax, dword [esi + 0x70]
push edx
push eax
mov ecx, edi
call fcn.0046bc60
movzx ecx, byte [esi + 0x78]
push ecx
mov ecx, edi
call fcn.0046b430
cmp byte [esi + 0x79], 0
mov ecx, edi
sete dl
push edx
call fcn.0046b450
lea eax, [esi + 0x2c]
push eax
mov ecx, edi
call fcn.0046b410
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
push ecx
push edx
mov ecx, edi
call fcn.0046b470
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
push eax
push ecx
mov ecx, edi
call fcn.0046b4d0
mov edx, dword [esi + 0x58]
push edx
mov ecx, edi
call fcn.0046b500
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x60]
push eax
push ecx
mov ecx, edi
call fcn.0046b520
mov edx, dword [esi + 0x68]
push edx
mov ecx, edi
call fcn.0046b550
mov eax, dword [esi + 0x7c]
push eax
mov ecx, edi
call fcn.0046b3e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00499a80
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x1c
ret 0x10
Function at 0x4683c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a34e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x1c]
call fcn.0049c860
xor edi, edi
push 0x64
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], edi
call fcn.00496000
mov dword [esp + 0x14], vtable.UserManager::t_locker.0
push 0x4f1080
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.004962d0
test al, al
jne 0x468463
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00496190
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0049c800
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x30]
call fcn.004a2ab0
test al, al
je 0x46842d
push edi
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 0x1b4]
call fcn.004a2ab0
test al, al
je 0x46842d
lea eax, [esp + 0x10]
test eax, eax
je 0x46849a
cmp dword [esi + 0x64], edi
je 0x46849a
mov edi, dword [esi + 0x68]
mov ebx, dword [esi + 0x64]
xor esi, esi
test edi, edi
jle 0x4684c2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + esi*4]
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call dword [ebp + 8]
test al, al
je 0x46842d
add esi, 1
cmp esi, edi
jl 0x4684a3
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.00496190
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 0xffffffff
call fcn.0049c800
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x468c40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a3838
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00496000
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
mov edi, dword [esp + 0x28]
push 0x4f1080
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.004962d0
test al, al
jne 0x468cc4
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00496190
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
push 0
push edi
lea ecx, [esi + 0x30]
call fcn.004a2ab0
test al, al
je 0x468c9c
push 0
push edi
lea ecx, [esi + 0x1b4]
call fcn.004a2ab0
test al, al
lea ecx, [esp + 0x10]
jne 0x468d0d
mov dword [esp + 0x20], 0xffffffff
call fcn.00496190
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.00468280
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.00496190
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc
Function at 0x469400
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a3838
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00496000
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
mov edi, dword [esp + 0x28]
push 0x4f1080
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.004962d0
test al, al
jne 0x469484
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00496190
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10
push 0
push edi
lea ecx, [esi + 0x30]
call fcn.004a2ab0
test al, al
je 0x46945c
push 0
push edi
lea ecx, [esi + 0x1b4]
call fcn.004a2ab0
test al, al
je 0x46945c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.00468ef0
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.00496190
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10

Function at 0x469690
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4a3838
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0x64
push 0
lea ecx, [esp + 0x18]
call fcn.00496000
mov dword [esp + 0x10], vtable.UserManager::t_locker.0
mov edi, dword [esp + 0x28]
push 0x4f1080
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0
call fcn.004962d0
test al, al
jne 0x469714
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00496190
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10
push 0
push edi
lea ecx, [esi + 0x30]
call fcn.004a2ab0
test al, al
je 0x4696ec
push 0
push edi
lea ecx, [esi + 0x1b4]
call fcn.004a2ab0
test al, al
je 0x4696ec
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.00469000
lea ecx, [esp + 0x10]
mov bl, al
mov dword [esp + 0x20], 0xffffffff
call fcn.00496190
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10
Function at 0x46b2c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4a3a2e
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ed3dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.0046cdb0
xor edi, edi
mov dword [esi + 0x30], vtable.t_versionReg::t_interface.0
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi], vtable.UserAccFile.1.0
mov dword [esi + 0x30], vtable.UserAccFile.0
mov ecx, vtable.VarSimple_int__0_.1.0
mov eax, vtable.VarSimple_int__0_.0
mov dword [esp + 0x18], edi
mov dword [esi + 0x3c], ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], ecx
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], edi
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 2
call fcn.0046aa60
mov dword [esi + 0x6c], fcn.0046ef1b
mov dword [esi + 0x70], fcn.0046ec38
mov dword [esi + 0x74], fcn.0046f0cc
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov byte [esi + 0x2c], 1
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x46ec29
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ed3dc]
jne 0x46ec33
repz ret
jmp fcn.00475014
Function at 0x471935
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x471972
cmp dword [ebp + 0x14], edi
je 0x471972
cmp ecx, edi
jne 0x471979
call fcn.00474e91
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0046f778
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x47198d
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4719ae
cmp ebx, 0xffffffff
je 0x47199d
push ebx
push edi
push ecx
call fcn.00470e10
add esp, 0xc
cmp esi, edi
je 0x47195a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x47195a
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4719ca
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4719d1
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x471ac2
test word [esi + 0xc], 0x10c
je 0x471a25
mov eax, dword [esi + 4]
test eax, eax
je 0x471a25
jl 0x471b23
cmp ebx, eax
mov edi, ebx
jb 0x4719f6
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x471aca
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0046f5f7
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x471aba
cmp ebx, dword [ebp - 0xc]
jb 0x471a92
cmp dword [ebp - 0xc], 0
je 0x471a4f
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x471a44
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x471a4b
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x471a5a
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x471a5a
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x471af6
push eax
push dword [ebp - 8]
push esi
call fcn.0047cb09
pop ecx
push eax
call fcn.0047d5a7
add esp, 0xc
test eax, eax
je 0x471b35
cmp eax, 0xffffffff
je 0x471b23
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x471aba
push esi
call fcn.0047cec6
cmp eax, 0xffffffff
pop ecx
je 0x471b27
cmp dword [ebp - 4], 0
je 0x471af6
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4719d9
mov eax, dword [ebp + 0x14]
jmp 0x471974
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x471ae1
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00470e10
add esp, 0xc
call fcn.00474e91
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x47196a
cmp dword [ebp + 0xc], 0xffffffff
je 0x471b0c
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00470e10
add esp, 0xc
call fcn.00474e91
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x47196a
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x471974
or dword [esi + 0xc], 0x10
jmp 0x471b27
Function at 0x476455
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4ed9c8]
je 0x476470
inc edi
cmp edi, 0x17
jb 0x476461
cmp edi, 0x17
jae 0x4765f0
push ebp
push 3
call fcn.00482e47
cmp eax, 1
pop ecx
je 0x4765bc
push 3
call fcn.00482e47
test eax, eax
pop ecx
jne 0x4764a4
cmp dword [0x4ed3d0], 1
je 0x4765bc
cmp ebx, 0xfc
je 0x4765ef
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x4f19b8
push ebp
call fcn.00472685
add esp, 0xc
test eax, eax
je 0x4764da
push esi
push esi
push esi
push esi
push esi
call fcn.0046f67c
add esp, 0x14
push 0x104
mov esi, 0x4f19d1
push esi
push 0
mov byte [0x4f1ad5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x47651e
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00472685
add esp, 0xc
test eax, eax
je 0x47651e
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0046f67c
add esp, 0x14
push esi
call fcn.00474f20
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x476563
push esi
call fcn.00474f20
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4f1ccc
push 0x4c424c
sub ecx, eax
push ecx
push eax
call fcn.00482d94
add esp, 0x14
test eax, eax
je 0x476563
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0046f67c
add esp, 0x14
jmp 0x476565
xor esi, esi
push 0x4c4248
push ebx
push ebp
call fcn.00471c21
add esp, 0xc
test eax, eax
je 0x476585
push esi
push esi
push esi
push esi
push esi
call fcn.0046f67c
add esp, 0x14
push dword [edi*8 + 0x4ed9cc]
push ebx
push ebp
call fcn.00471c21
add esp, 0xc
test eax, eax
je 0x4765a7
push esi
push esi
push esi
push esi
push esi
call fcn.0046f67c
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00482bd7
add esp, 0xc
jmp 0x4765ef
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4765ef
cmp ebp, 0xffffffff
je 0x4765ef
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4ed9cc]
push dword [esi]
call fcn.00474f20
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret