joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45db30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
xor esi, esi
push esi
push eax
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], 4
call dword [0x531040]
cmp dword [esp + 4], 4
jne 0x45db6c
cmp eax, esi
lea eax, [esi + 1]
je 0x45db6e
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x45db80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x52e2b8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, ecx
mov edi, edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x60], ebp
call fcn.0045cc30
test eax, eax
jne 0x45dc51
call fcn.0045ccd0
test eax, eax
jne 0x45dc51
lea eax, [esp + 0x14]
push eax
push 0x2001f
push ebp
push esi
push 0x80000001
mov dword [esp + 0x28], ebp
call dword [section..rdata]
cmp eax, ebp
jne 0x45dbfb
mov esi, dword [esp + 0x14]
jmp 0x45dc18
push esi
push 0x80000001
xor edx, edx
lea esi, [esp + 0x20]
call fcn.0041a060
test eax, eax
jne 0x45dd3a
mov esi, dword [esp + 0x18]
push 4
lea ecx, [esp + 0x18]
push ecx
push 4
push ebp
push edi
push esi
mov dword [esp + 0x2c], 1
call dword [0x531010]
cmp esi, ebp
mov ebx, dword [0x531004]
mov edi, eax
je 0x45dc43
push esi
call ebx
xor esi, esi
xor edx, edx
cmp edi, ebp
sete dl
mov edi, edx
jmp 0x45dda6
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
mov ebx, 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call fcn.0045cd50
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x68], 2
call fcn.00414870
mov byte [esp + 0x60], bl
cmp dword [esp + 0x34], 8
jb 0x45dc9d
mov eax, dword [esp + 0x20]
push eax
call fcn.004ffbbe
add esp, 4
push ebx
push 0x542460
lea ecx, [esp + 0x40]
call fcn.00450b90
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x45dcb1
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x40]
call fcn.00450b90
mov eax, dword [esp + 0x3c]
mov esi, 8
cmp dword [esp + 0x50], esi
jae 0x45dcde
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push ebp
push eax
push 0x80000003
mov dword [esp + 0x28], ebp
call dword [section..rdata]
cmp eax, ebp
jne 0x45dd03
mov esi, dword [esp + 0x14]
jmp 0x45dd51
cmp dword [esp + 0x50], esi
mov eax, dword [esp + 0x3c]
jae 0x45dd11
lea eax, [esp + 0x3c]
push eax
push 0x80000003
xor edx, edx
lea esi, [esp + 0x20]
call fcn.0041a060
test eax, eax
je 0x45dd4d
cmp dword [esp + 0x50], 8
jb 0x45dd3a
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ffbbe
add esp, 4
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x45dd49
push eax
call dword [0x531004]
xor eax, eax
jmp 0x45ddaf
mov esi, dword [esp + 0x18]
push 4
lea eax, [esp + 0x18]
push eax
push 4
push ebp
push edi
push esi
mov dword [esp + 0x2c], ebx
call dword [0x531010]
cmp esi, ebp
mov ebx, dword [0x531004]
mov edi, eax
je 0x45dd78
push esi
call ebx
xor esi, esi
xor ecx, ecx
cmp edi, ebp
sete cl
cmp dword [esp + 0x50], 8
mov edi, ecx
jb 0x45dd95
mov edx, dword [esp + 0x3c]
push edx
call fcn.004ffbbe
add esp, 4
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebp
mov word [esp + 0x3c], bp
cmp esi, ebp
je 0x45ddad
push esi
call ebx
mov eax, edi
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004ff939
add esp, 0x50
ret
Function at 0x45e680
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x57aac0], bl
mov dword [esp + 4], 0
jne 0x45e6d4
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
or dword [0x57aac0], ebx
mov ecx, 0x5759e8
call edx
add eax, 0x10
push 0x530960
mov dword [0x57aa68], eax
call fcn.005000d9
add esp, 4
mov eax, dword [0x57aa68]
cmp dword [eax - 0xc], 0
jne 0x45e776
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.00508d80
add esp, 0xc
push ebx
push 0x1a
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x5313b4]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45e715
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x57aa68
call fcn.004026c0
mov edx, dword [0x57aa68]
cmp dword [edx - 0xc], 0
jle 0x45e776
call fcn.0045cbf0
push 0x11
push str.TencentQQPinyin_
push 0x57aa68
call fcn.00411670
mov eax, dword [0x57aa68]
push eax
call dword [0x5313c0]
test eax, eax
jne 0x45e776
mov ecx, dword [0x57aa68]
push eax
push ecx
push eax
call dword [0x5313a8]
mov eax, dword [0x57aa68]
add eax, 0xfffffff0
call fcn.004020b0
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [edi], eax
xor ecx, esp
mov eax, edi
call fcn.004ff939
add esp, 0x214
ret
Function at 0x45f300
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x52fa56
mov eax, dword fs:[0]
push eax
sub esp, 0xdb0
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0xda8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0xdc4]
mov dword fs:[0], eax
test byte [0x57b5a4], 1
mov ebp, dword [esp + 0xdd4]
mov ebx, ecx
mov edi, 1
jne 0x45f36f
or dword [0x57b5a4], edi
mov esi, 0x57ad58
call fcn.0045ee80
push 0x5309a0
call fcn.005000d9
add esp, 4
test byte [0x57aa4c], 1
jne 0x45f3a7
or dword [0x57aa4c], edi
cmp dword [0x57668c], 0
jne 0x45f39a
cmp dword [0x576690], 0
jne 0x45f39a
mov dword [0x57668c], 0x578bd8
push 0x5308c0
call fcn.005000d9
add esp, 4
mov esi, dword [0x57668c]
mov dword [0x576688], edi
mov ecx, 0x368
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
cmp dword [0x57aa00], edi
je 0x45f479
call fcn.00460690
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
call fcn.00402550
mov dword [esp + 0xdcc], 0
mov edx, dword [esp + 0x14]
push edx
call dword [0x5313c0]
test eax, eax
je 0x45f44e
mov ecx, dword [esp + 0x14]
push 0
push 0x57ad58
call fcn.0045ff70
test eax, eax
je 0x45f41c
push ebx
mov esi, 0x57ad58
call fcn.0045f270
test eax, eax
jne 0x45f45f
mov dword [esp + 0xdcc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f447
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x45f548
push 0x57ad58
mov ecx, str.10000000_0000_0000_0000_000000000001
call fcn.0045f580
jmp 0x45f418
mov dword [esp + 0xdcc], 0xffffffff
mov eax, dword [esp + 0x14]
mov dword [0x57aa00], edi
jmp 0x45f51b
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x57ad58
call fcn.00402550
mov eax, dword [eax]
push str.10000000_0000_0000_0000_000000000001
push eax
call fcn.005006a9
add esp, 8
test eax, eax
mov eax, dword [esp + 0x14]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45f4bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x45f537
call fcn.00460690
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.00402550
mov dword [esp + 0xdcc], 1
mov edx, dword [esp + 0x18]
push edx
call dword [0x5313c0]
test eax, eax
jne 0x45f50c
push 0x57ad58
mov ecx, str.10000000_0000_0000_0000_000000000001
call fcn.0045f580
test eax, eax
jne 0x45f50c
lea ecx, [esp + 0x18]
call fcn.00402660
xor eax, eax
jmp 0x45f548
mov dword [esp + 0xdcc], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45f537
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x57ad58
mov ebx, ebp
call fcn.0045ef70
mov eax, 1
mov ecx, dword [esp + 0xdc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xda8]
xor ecx, esp
call fcn.004ff939
add esp, 0xdbc
ret 4
Function at 0x460870
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x52b960
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [edi]
xor ebx, ebx
push ebx
push eax
push ebx
call dword [0x5313a8]
mov eax, dword [edi + 0xc]
mov esi, dword [0x5313c0]
push eax
call esi
test eax, eax
jne 0x4608c1
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push eax
push ecx
push edi
call fcn.00461070
mov eax, dword [edi + 4]
push eax
call esi
test eax, eax
jne 0x4608d8
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
push edi
call fcn.00461070
mov edx, dword [edi + 4]
mov ecx, dword [edi + 0xc]
push edi
call fcn.00461970
push edi
call fcn.004622b0
call fcn.0040dcc0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
lea eax, [edi + 8]
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebx
push ecx
mov ebx, str.SkinlistOrder.dat
call fcn.004036c0
add esp, 8
lea edx, [esp + 0x1c]
mov byte [esp + 0x30], 1
mov eax, dword [eax]
push edx
push eax
call fcn.00463200
xor ebx, ebx
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x460949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5436bc
call fcn.00402550
lea edx, [esp + 0x14]
lea ebp, [edi + 0x24]
push edx
mov ecx, ebp
mov byte [esp + 0x34], 2
call fcn.00435ff0
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x460989
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
je 0x460989
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.00460ed0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4609ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5436c8
call fcn.00402550
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
mov byte [esp + 0x34], 3
call fcn.00435ff0
mov ecx, dword [eax + 4]
cmp ecx, ebx
je 0x4609ea
mov edx, dword [eax + 8]
sub edx, ecx
sar edx, 2
je 0x4609ea
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
call fcn.00460ed0
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x460a0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ebx, [esp + 0x1c]
call fcn.00437ce0
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004ffbbe
mov eax, 1
add esp, 4
mov dword [edi + 0x10], eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x465d40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52b6be
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
call edx
add eax, 0x10
mov dword [esi], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov ecx, 0xa
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
cmp edi, eax
mov byte [esp + 0x14], 2
mov byte [esi + 0x34], al
mov byte [esi + 0x35], al
je 0x465dd1
mov ecx, edi
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, ax
jne 0x465dc0
sub ecx, ebx
sar ecx, 1
mov eax, ecx
mov ebx, eax
push edi
mov eax, esi
call fcn.004026c0
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jle 0x465dec
mov ecx, edi
mov edx, esi
call fcn.00465ec0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x466450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x528b38
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
mov ecx, 0x5759e8
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x24], esi
call fcn.00466320
cmp eax, esi
mov edi, dword [esp + 0xc]
je 0x4664c2
push 0xa
lea edx, [esp + 0x14]
push edx
push edi
call fcn.0050095a
add esp, 0xc
mov esi, eax
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4664e6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x4671d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52b638
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov dword [esp + 0x28], 2
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov eax, esi
mov dword [esp + 0x1c], esp
mov edi, esp
call fcn.004020b0
add eax, 0x10
mov dword [edi], eax
call fcn.00467d70
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
xor ecx, ecx
add esp, 4
test eax, eax
sete cl
add ebp, 0xfffffff0
mov eax, ebp
push ecx
push edx
push ecx
mov dword [esp + 0x48], esp
mov edi, esp
call fcn.004020b0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x34], 3
mov edi, dword [esp + 0x40]
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [esp + 0x28], esp
mov ebx, esp
call fcn.004020b0
add eax, 0x10
mov dword [ebx], eax
push ecx
mov eax, esi
mov byte [esp + 0x3c], 4
mov dword [esp + 0x30], esp
mov ebx, esp
call fcn.004020b0
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x3c], 2
call fcn.00467420
mov ebx, eax
add esp, 0x14
mov byte [esp + 0x28], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4672ac
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x28], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4672ca
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [esp + 0x28], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4672ec
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x468480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x52b556
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [edi], vtable.CSkinEngine2.0
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], eax
mov eax, dword [esp + 0x1c]
xor ebx, ebx
push 0x40c
mov dword [edi + 0x58], eax
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
call fcn.00500104
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x468510
push eax
call fcn.0046f240
jmp 0x468512
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
push 0x108
mov dword [edi + 0x4c], eax
call fcn.00500104
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov dword [esp + 0x14], 1
je 0x468544
push eax
call fcn.0047f5b0
mov esi, eax
jmp 0x468546
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [edi + 0x54], esi
je 0x468561
call fcn.0047f7d0
push 9
call fcn.0047f8a0
push 0xec
call fcn.00500104
add esp, 4
cmp eax, ebx
je 0x46857b
mov esi, eax
call fcn.00480110
jmp 0x46857d
xor eax, eax
mov dword [edi + 0x5c], eax
mov dword [edi + 0x50], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4

Function at 0x469120
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x57aa78], bl
mov dword [esp + 4], 0
jne 0x469174
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
or dword [0x57aa78], ebx
mov ecx, 0x5759e8
call edx
add eax, 0x10
push 0x5309e0
mov dword [0x57aa74], eax
call fcn.005000d9
add esp, 4
mov eax, dword [0x57aa74]
cmp dword [eax - 0xc], 0
jne 0x4691d1
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.00508d80
add esp, 0xc
push ebx
push 0x25
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x5313b4]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4691b1
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x57aa74
call fcn.004026c0
mov eax, dword [0x57aa74]
add eax, 0xfffffff0
call fcn.004020b0
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.004ff939
add esp, 0x214
ret
Function at 0x469200
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x56b1dc]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x57aa70], bl
mov dword [esp + 4], 0
jne 0x469254
mov eax, dword [0x5759e8]
mov edx, dword [eax + 0xc]
or dword [0x57aa70], ebx
mov ecx, 0x5759e8
call edx
add eax, 0x10
push 0x530a10
mov dword [0x57aa6c], eax
call fcn.005000d9
add esp, 4
mov eax, dword [0x57aa6c]
cmp dword [eax - 0xc], 0
jne 0x4692b1
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.00508d80
add esp, 0xc
push ebx
push 0x24
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x5313b4]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x469291
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x57aa6c
call fcn.004026c0
mov eax, dword [0x57aa6c]
add eax, 0xfffffff0
call fcn.004020b0
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.004ff939
add esp, 0x214
ret
Function at 0x46d1d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x526df6
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
lea esi, [edi + 8]
call fcn.0046bd00
xor ebp, ebp
lea esi, [edi + 0x30]
mov dword [esp + 0x1c], ebp
call fcn.0046bd00
lea esi, [edi + 0x58]
mov byte [esp + 0x1c], 1
call fcn.0046bd00
lea esi, [edi + 0x80]
mov byte [esp + 0x1c], 2
call fcn.0046bd00
lea esi, [edi + 0xa8]
mov byte [esp + 0x1c], 3
call fcn.0046bd00
lea ebx, [edi + 0xd8]
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
lea ebp, [edi + 0xe8]
xor eax, eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
fldz
fst qword [edi + 0xf8]
fst qword [edi + 0x100]
fstp qword [edi + 0x108]
mov byte [esp + 0x1c], 7
lea esi, [edi + 8]
mov dword [edi], eax
mov dword [edi + 4], 0xff00ff
call fcn.0046be10
lea esi, [edi + 0x30]
call fcn.0046be10
lea esi, [edi + 0x58]
call fcn.0046be10
lea esi, [edi + 0x80]
call fcn.0046be10
lea esi, [edi + 0x58]
call fcn.0046be10
mov eax, 0xff00ff
mov dword [edi + 0xd0], eax
mov dword [edi + 0xd4], eax
mov eax, ebx
call fcn.00468ff0
mov eax, ebp
call fcn.00468ff0
fldz
fst qword [edi + 0xf8]
mov eax, edi
fst qword [edi + 0x100]
fstp qword [edi + 0x108]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x48e590
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x525d88
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x14], edi
mov eax, dword [esi + 0x38]
cmp eax, edi
je 0x48e5cf
push eax
call fcn.00500319
add esp, 4
mov dword [esi + 0x38], edi
mov ecx, dword [esi + 0x3c]
cmp ecx, edi
je 0x48e5e1
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x3c], edi
mov eax, dword [esi]
cmp eax, edi
je 0x48e5f2
push eax
call fcn.00500319
add esp, 4
mov dword [esi], edi
mov dword [esi + 0x30], edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x491f60
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x52f0c8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.00402550
mov esi, dword [esp + 0x20]
add esi, 0xc
mov edi, esi
mov dword [esp + 0x18], 0
call fcn.00401dd0
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x491fcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
xor edi, edi
cmp dword [eax - 0xc], edi
je 0x491fe1
push eax
call dword [0x5313c0]
mov edi, eax
test edi, edi
jne 0x491fe6
call fcn.00402600
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 0x495440
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x525d26
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56b1dc]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
mov dword [esi], vtable.CGroundCanvasCache.0
xor edi, edi
mov ebx, 2
mov ebp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [esp + 0x1c], 1
mov ecx, dword [esi + 4]
cmp ecx, edi
je 0x4954b9
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
je 0x4954da
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4