joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b6010
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0xe41e70
push 0
push 0xa6f500
call fcn.00468b40
add esp, 0xc
lea eax, [ebp - 0x110]
push 0x100
push 0
push eax
call fcn.00468b40
mov eax, dword [0x6345e4]
add esp, 0xc
test eax, eax
jne 0x4b6064
push str.Mixhelp.dat
push str.LangPT_s
jmp 0x4b6073
cmp eax, 1
jne 0x4b6087
push str.Mixhelp.dat
push str.LangEN_s
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.004459c0
add esp, 0x10
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4b60b6
push str.Mixhelp.dat
push str.LangPT_s
lea eax, [ebp - 0x110]
push 0x80
push eax
call fcn.004459c0
add esp, 0x10
push 0x5ec6e4
lea eax, [ebp - 0x110]
mov dword [ebp - 0x31c], 0
push eax
lea eax, [ebp - 0x31c]
push eax
call fcn.0046c5d4
add esp, 0xc
cmp dword [ebp - 0x31c], 0
je 0x4b627e
push 0x100
lea eax, [ebp - 0x310]
mov dword [ebp - 0x320], 0
push 0
push eax
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0
call fcn.00468b40
add esp, 0xc
mov edi, 0x5dc
xor esi, esi
push dword [ebp - 0x31c]
lea eax, [ebp - 0x210]
push 0x100
push eax
call fcn.0046c197
add esp, 0xc
test eax, eax
je 0x4b6267
test esi, esi
jne 0x4b6175
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x210]
push str._s__d__d
push eax
call fcn.0044c130
add esp, 0x14
inc esi
jmp 0x4b6123
xor eax, eax
mov dword [ebp - 0xc], eax
mov word [ebp - 8], ax
mov byte [ebp - 6], al
lea eax, [ebp - 0x210]
push 6
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.0046bca0
add esp, 0xc
mov byte [ebp - 6], 0
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0xc]
push 0x5fd48c
push eax
call fcn.0044c130
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x5fd490
push eax
call fcn.00467d20
add esp, 8
test eax, eax
je 0x4b61cd
mov byte [eax], 0
mov al, byte [ebp - 0x208]
cmp al, 9
je 0x4b61db
cmp al, 0x20
jne 0x4b6207
imul ecx, dword [ebp - 0x320], 0x514
lea eax, [ebp - 0x207]
push eax
mov eax, esi
shl eax, 7
push 0x5ec718
lea eax, [eax + 0xa6f494]
add eax, ecx
push eax
call fcn.00445aa0
add esp, 0xc
imul ecx, dword [ebp - 0x320], 0x28a
imul edx, dword [ebp - 0x320], 0x514
movzx eax, word [ebp - 0x314]
add ecx, esi
mov word [ecx*2 + 0xa6f4fe], ax
movzx eax, word [ebp - 0x318]
mov word [edx + 0xa6f512], ax
lea eax, [ebp - 0x310]
mov ecx, eax
sub edx, ecx
add edx, 0xa6f994
nop word [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x4b6250
inc esi
cmp esi, 0xa
jl 0x4b6123
sub edi, 1
jne 0x4b6121
push dword [ebp - 0x31c]
call fcn.0046bf19
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046676f
mov esp, ebp
pop ebp
ret
Function at 0x4b9d00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x5ec588
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push str.curse.bin
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 8]
add esp, 0xc
test eax, eax
je 0x4b9dcb
push edi
push eax
push 1
push 4
push 0xa6f4e4
call fcn.0047004e
mov eax, dword [0xa6f4e4]
xor ecx, ecx
shl eax, 5
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00466c2c
mov ecx, dword [0xa6f4e4]
add esp, 0x14
xor edi, edi
mov dword [0xa6f4e0], eax
add ecx, 0xffffffff
je 0x4b9dbf
push esi
xor esi, esi
nop
push dword [ebp - 8]
add eax, esi
push 1
push 0x20
push eax
call fcn.0047004e
push dword [ebp - 8]
mov eax, dword [0xa6f4e0]
push 1
add eax, 0x10
add eax, esi
push 0x20
push eax
call fcn.0047004e
mov eax, dword [0xa6f4e4]
inc edi
dec eax
add esp, 0x20
add esi, 0x20
cmp edi, eax
jae 0x4b9dbe
mov eax, dword [0xa6f4e0]
jmp 0x4b9d80
pop esi
push dword [ebp - 8]
call fcn.0046bf19
add esp, 4
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret

Function at 0x4b9fa0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20800
lea esi, [ecx + 0x1134]
push 0
push esi
call fcn.00468b40
push 0x5ec588
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push str.UIRC.bin
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 8]
add esp, 0x18
test eax, eax
jne 0x4b9ffc
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
push eax
push 1
push 0x20800
push esi
call fcn.0047004e
push dword [ebp - 8]
call fcn.0046bf19
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0046676f
mov esp, ebp
pop ebp
ret
Function at 0x4bc4e0
Capabilities:
Get mac address on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c77dd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x5b8
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c8], ecx
push 0x2fc
lea eax, [ebp - 0x338]
push 0
push eax
call fcn.00468b40
add esp, 0xc
mov dword [ebp - 0x2dc], 0x587
mov eax, 0x20d
mov dword [ebp - 0x2d8], 1
mov word [ebp - 0x334], ax
lea eax, [ebp - 0x5c0]
mov dword [ebp - 0x5c4], 0
push 0x288
push 0
push eax
call fcn.00468b40
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x5c4]
add esp, 0xc
push eax
lea eax, [ebp - 0x5c0]
push eax
call edi
mov eax, dword [ebp - 0x5c4]
test eax, eax
je 0x4bc628
push eax
call fcn.0047625d
add esp, 4
mov esi, eax
lea eax, [ebp - 0x5c4]
push eax
push esi
call edi
test esi, esi
je 0x4bc628
movzx eax, byte [esi + 0x199]
xorps xmm0, xmm0
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
lea eax, [ebp - 0x28]
mov word [ebp - 0x18], 0
push str._02X:_02X:_02X:_02X:_02X:_02X
push eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00445aa0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x17], 0
mov ax, word [ebp - 0x18]
push esi
movups xmmword [ebp - 0x2d4], xmm0
mov word [ebp - 0x2c4], ax
call fcn.004782b7
add esp, 0x24
mov esi, dword [ebp - 0x5c8]
lea eax, [ebp - 0x320]
push 0x10
push esi
push eax
call fcn.0046bca0
add esp, 0xc
lea eax, [esi + 0x10]
push 0xc
push eax
lea eax, [ebp - 0x32c]
push eax
call fcn.0046bca0
add esp, 0xc
mov dword [ebp - 0x2c], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.004bbf70
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
sub eax, ecx
sar eax, 3
imul eax, eax, 0xaaaaaaab
mov dword [ebp - 0x5c8], 0
test eax, eax
jle 0x4bc6ed
xor esi, esi
lea edi, [ebp - 0x2bc]
nop word [eax + eax]
cmp esi, 0xf0
jge 0x4bc6ed
cmp dword [esi + ecx + 0x14], 0xf
lea eax, [esi + ecx]
jbe 0x4bc6b4
mov eax, dword [eax]
push eax
push 0x5ec718
push 0x40
push edi
call fcn.004459c0
mov eax, dword [ebp - 0x30]
add esp, 0x10
mov ecx, dword [ebp - 0x34]
add esi, 0x18
mov edx, dword [ebp - 0x5c8]
sub eax, ecx
sar eax, 3
inc edx
imul eax, eax, 0xaaaaaaab
add edi, 0x40
mov dword [ebp - 0x5c8], edx
cmp edx, eax
jl 0x4bc6a0
push 0x2fc
lea eax, [ebp - 0x338]
push eax
call fcn.005bdb60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0045cc00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4cedd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c847f
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x623ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm5, xmm2
movaps xmm4, xmm1
mov edx, ecx
mov dword [ebp - 0x10], edx
mov dword [edx], vtable.TreeNode.0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov byte [edx + 0x14], 0
mov dword [edx + 0x18], 0xffffffff
mov dword [edx + 0x1c], 0
mov dword [edx + 0x20], 0
mov dword [ebp - 4], 0
mov ecx, dword [0x9c25a4]
mov dword [edx], vtable.SControl.0
mov dword [0x9c25a8], 0x51
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 1
mov dword [edx + 0x2c], 1
mov dword [edx + 0x30], 0
mov dword [edx + 0x34], 0
mov dword [edx + 0x38], 0
mov dword [edx + 0x3c], 1
mov dword [edx + 0x40], 0xffffffff
mov dword [edx + 0x44], 0
mov dword [edx + 0x5c], 0
mov dword [edx + 0x60], 0
mov eax, dword [ecx + 0xa8]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
mov eax, dword [ecx + 0xac]
mov ecx, dword [0x9c2584]
mov dword [edx + 0x48], ecx
cvtpd2ps xmm2, xmm0
movd xmm0, eax
divss xmm2, dword [0x626b2c]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
addsd xmm0, qword [eax*8 + 0x605750]
lea eax, [ecx + 1]
mov dword [0x9c2584], eax
cvtpd2ps xmm1, xmm0
movaps xmm0, xmm2
mulss xmm2, xmm3
divss xmm1, dword [0x626b28]
mulss xmm0, xmm4
movss dword [edx + 0x54], xmm2
movss dword [edx + 0x4c], xmm0
movaps xmm0, xmm1
mulss xmm1, dword [ebp + 8]
mulss xmm0, xmm5
movss dword [edx + 0x58], xmm1
movss dword [edx + 0x50], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4cf660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8500
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x623ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.TreeNode.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x24], vtable.IEventListener.0
mov dword [edi], vtable.SControlContainer.1.0
mov dword [edi + 0x24], vtable.SControlContainer.0
mov dword [edi + 0x2c], eax
mov dword [0x9c25a8], 0x50
push 0x358
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x358
push 0
push esi
call fcn.00468b40
mov ecx, dword [0x9c25a4]
add esp, 0x10
mov eax, dword [ecx + 0xa8]
push 4
push 0x77777777
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x605750]
mov eax, dword [ecx + 0xac]
mov ecx, esi
cvtpd2ps xmm4, xmm0
movd xmm0, eax
mulss xmm4, dword [0x604d2c]
shr eax, 0x1f
cvtdq2pd xmm0, xmm0
movss dword [ebp + 8], xmm4
addsd xmm0, qword [eax*8 + 0x605750]
mov dword [esp + 4], 0x42000000
mov dword [esp], 0x42000000
push 0
cvtpd2ps xmm2, xmm0
mulss xmm2, dword [0x604d2c]
movss dword [ebp - 0x10], xmm2
movaps xmm3, xmm2
movaps xmm2, xmm4
call fcn.004ce8b0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x1ec]
mov dword [esi], vtable.SCursor.0
call fcn.004aa830
movss xmm0, dword [ebp + 8]
movss dword [esi + 0x4c], xmm0
movss xmm0, dword [ebp - 0x10]
mov dword [esi + 0x1e4], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0xa4], 0
movss dword [esi + 0x50], xmm0
mov dword [0x9c25d0], esi
mov dword [esi + 0x1e8], 0
mov byte [ebp - 4], 0
push 0x64
mov dword [edi + 0x30], esi
call fcn.0046677d
mov esi, eax
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 3
push 0x64
push 0
push esi
call fcn.00468b40
add esp, 0xc
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, esi
mov dword [esp], 0
call fcn.004cedd0
mov byte [ebp - 4], 0
push 0xf0
mov dword [edi + 0x28], eax
lea eax, [edi + 0x3c]
push 0
push eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x34], 0
call fcn.00468b40
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [edi + 0x134], xmm0
movups xmmword [edi + 0x144], xmm0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4feb30
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c9db7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x58
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x4c]
mov eax, dword [ebx + 8]
mov dword [ebp - 0x2c], eax
mov dword [edi + 0x26eac], 2
mov dword [edi + 0x26ea4], 1
mov eax, dword [ecx + 0x9d8]
mov dword [edi + 0x26ed0], eax
mov eax, dword [ecx + 0xa48]
mov dword [edi + 0x26ea8], eax
call fcn.00577a30
mov eax, dword [edi + 0x4c]
mov ecx, dword [0x9c25b4]
mov dword [eax + 0xb3c], 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov dword [edi + 0x26eb0], eax
xorps xmm0, xmm0
mov eax, dword [edi + 0x4c]
push 0x90
movaps xmmword [ebp - 0x60], xmm0
mov dword [eax + 0xb40], 0
mov eax, dword [edi + 0x4c]
mov dword [eax + 0xb44], 0
call fcn.0046677d
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov dword [ebp - 4], 0
push 0x90
push 0
push esi
call fcn.00468b40
mov eax, dword [edi + 0x4c]
add esp, 0xc
mov dword [ebp - 0x34], 0
movss xmm0, dword [eax + 0x2c]
movss xmm2, dword [eax + 0x28]
movss xmm1, dword [eax + 0x30]
mov eax, dword [ebp - 0x34]
addss xmm1, dword [0x604dc4]
push 0x3e8
sub esp, 0xc
movss dword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x60]
mov ecx, esp
sub esp, 8
unpcklps xmm0, xmm0
unpcklps xmm2, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], 0x3f800000
push 0x38
push 1
push 0
push ecx
mov dword [esp], 0x40400000
push 0xa
push 1
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm2
mov dword [ecx + 8], eax
mov ecx, esi
call fcn.004f3790
mov dword [ebp - 4], 0xffffffff
mov edx, dword [edi + 0x2c]
mov dword [eax + 4], edx
mov ecx, dword [edx + 0x10]
mov dword [eax + 0xc], ecx
mov dword [edx + 0x10], eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4fecaa
mov dword [ecx + 8], eax
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov edx, 0x14
mov dword [ebp - 0x20], 0
lea eax, [esi + esi*4]
shl eax, 4
movd xmm0, dword [eax + 0x5f0f90]
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x26eb8], xmm0
movd xmm0, dword [eax + 0x5f0f94]
mov eax, 0xad9
cvtdq2ps xmm0, xmm0
mov word [ebp - 0x24], ax
mov eax, dword [edi + 0x4c]
movss dword [edi + 0x26ebc], xmm0
mov ax, word [eax + 0x20]
mov word [ebp - 0x22], ax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 1
call fcn.0054f850
mov dword [edi + 0x26ec8], esi
mov dword [edi + 0x26ecc], 0
mov dword [edi + 0x26ec0], 0x3e4ccccd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x545510
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x104]
mov dword [ebp - 0x10c], 0
push 0
push eax
call fcn.00468b40
mov eax, dword [0x6345e4]
add esp, 0xc
test eax, eax
jne 0x545558
push str.minimap.dat
push str.LangPT_s
jmp 0x545567
cmp eax, 1
jne 0x54557b
push str.minimap.dat
push str.LangEN_s
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004459c0
add esp, 0x10
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x5455aa
push str.minimap.dat
push str.LangPT_s
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.004459c0
add esp, 0x10
push 0x5ec6e4
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0046c5d4
push 0x3400
push 0
push 0x1ff25f0
call fcn.00468b40
mov ecx, dword [ebp - 0x10c]
add esp, 0x18
test ecx, ecx
je 0x545676
push esi
mov dword [ebp - 0x108], 0
mov esi, 0x1ff25fc
lea eax, [esi + 8]
push eax
push esi
lea eax, [esi - 4]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [esi - 8]
push eax
lea eax, [esi - 0xc]
push eax
push str._d__d__d__d__d__s
push ecx
call fcn.0044c0e0
add esp, 0x20
cmp eax, 0xffffffff
je 0x545667
mov eax, dword [ebp - 0x108]
dec eax
cmp eax, 3
ja case.default.0x54562b
jmp dword [eax*4 + 0x545684]
mov dword [esi + 4], 0xffffffff
jmp case.default.0x54562b
mov dword [esi + 4], 0xff44aa44
jmp case.default.0x54562b
mov dword [esi + 4], 0xff5555ff
jmp case.default.0x54562b
mov dword [esi + 4], 0xffaa00ff
add esi, 0x34
cmp esi, 0x1ff59fc
jge 0x545667
mov ecx, dword [ebp - 0x10c]
jmp 0x5455f4
push dword [ebp - 0x10c]
call fcn.0046bf19
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046676f
mov esp, ebp
pop ebp
ret
Function at 0x586330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cde07
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x623ec0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.TreeNode.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov byte [edi + 0x14], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 0
lea esi, [edi + 0x34]
mov eax, dword [0x626e24]
mov dword [edi], vtable.TMLight.0
mov dword [edi + 0x9c], 0
mov dword [edi + 0xa0], 0
push 0x68
mov dword [0x9c25a8], 0x26
push 0
push esi
mov dword [edi + 0x2c], 1
mov dword [edi + 0x28], 1
mov dword [edi + 0x30], eax
call fcn.00468b40
movups xmm0, xmmword [ebp + 8]
mov eax, dword [0x9c25b0]
add esp, 0xc
mov dword [esi], 1
mov dword [edi + 0x88], 0x3a83126f
mov dword [edi + 0x8c], 0x3a83126f
mov dword [edi + 0x90], 0x3a83126f
movups xmmword [edi + 0x58], xmm0
movups xmmword [edi + 0x48], xmm0
movups xmmword [edi + 0x38], xmm0
cmp dword [eax + 0x24], 0x7531
jne 0x586438
cmp dword [edi + 0x30], 6
jne 0x586438
movss xmm0, dword [0x60509c]
jmp 0x586440
movss xmm0, dword [0x605030]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
movss dword [edi + 0x80], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x596500
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x623ec0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ebx, [ecx + 0x20138]
push edi
push 0x6d60
lea edi, [ecx + 0x20134]
mov dword [edi], 0
push 0
push ebx
call fcn.00468b40
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.00468b40
push esi
lea eax, [ebp - 0x84]
push str._s.bin
push eax
call fcn.0045d4e0
push 0x5ec588
lea eax, [ebp - 0x84]
mov dword [ebp - 0x88], 0
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0046c5d4
mov eax, dword [ebp - 0x88]
add esp, 0x30
test eax, eax
je 0x5965f2
push eax
push 4
push 1
push edi
call fcn.0047004e
mov ecx, dword [edi]
add esp, 0x10
cmp ecx, 0x3e8
jle 0x5965b1
mov dword [edi], 0x3e8
mov eax, 0x6d60
jmp 0x5965d5
test ecx, ecx
jns 0x5965bf
mov dword [edi], 0
xor eax, eax
jmp 0x5965d5
lea eax, [ecx*8]
sub eax, ecx
mov ecx, 0x6d60
shl eax, 2
cmp eax, ecx
cmova eax, ecx
push dword [ebp - 0x88]
push eax
push 1
push ebx
call fcn.0047004e
push dword [ebp - 0x88]
call fcn.0046bf19
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046676f
mov esp, ebp
pop ebp
ret 4
Function at 0x5a0670
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
test ebx, ebx
je 0x5a0840
push ebx
push dword [ebp + 8]
call fcn.00593f10
movzx ecx, word [ebx + 4]
cmp eax, 1
jne 0x5a06e0
mov eax, 0x101
cmp cx, ax
jne 0x5a06ab
mov ecx, dword [esi + 0x26ec0]
push 1
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 0x26ed8]
cmp dword [ecx + 0x2c], 0
jne 0x5a06be
mov eax, dword [ecx]
push 1
call dword [eax + 0x64]
mov ecx, dword [esi + 0x27d74]
cmp dword [ecx + 0x2c], 0
jne 0x5a0889
mov eax, dword [ecx]
push 1
call dword [eax + 0x64]
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
mov eax, 0x10a
cmp cx, ax
jne 0x5a0814
mov ecx, dword [esi + 0x108]
push edi
push 1
push 0
mov eax, dword [ecx]
call dword [eax + 0x88]
mov ecx, dword [0x9c25b4]
push dword [ebx + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [0x9c25ac]
lea esi, [ebx + 0x20]
mov ecx, 0xe2
push 0x3390
push 0
lea edi, [edx + 8]
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + 0x390]
mov ecx, 0x150
lea esi, [ebx + 0x3a8]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x8e8]
mov dword [edx + 0xf88], eax
mov eax, dword [ebx + 0x908]
mov dword [edx + 0xf8c], eax
lea eax, [edx + 0x21a84]
push eax
call fcn.00468b40
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 0xc
push 0
push 0
push dword [0x9c25c8]
push 0x54f760
push 0
push 0
call esi
push 0
push 0
push 0
push 0x54f730
push 0
push 0
mov dword [0x18b1370], eax
call esi
mov ecx, dword [0x9c25ac]
mov dword [0xa6f4f4], eax
push 0
push 5
mov eax, dword [ecx]
call dword [eax + 0x50]
mov dword [0xa6f4f0], 0
call fcn.004bcc60
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], edx
call esi
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], edx
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
call esi
mov dword [edi + 0x60], eax
mov eax, 1
mov dword [edi + 0x64], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, 0x11d
cmp cx, ax
je 0x5a0848
mov eax, 0x11c
cmp cx, ax
je 0x5a0848
mov eax, 0xada
cmp cx, ax
jne 0x5a0840
mov eax, dword [0x9c25ac]
mov ecx, dword [ebx + 0xc]
mov dword [eax + 0x2561c], ecx
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
mov ecx, dword [esi + 0x108]
push 0xfa0
push 0x7d9db0
call fcn.004cf030
mov ecx, dword [esi + 0x108]
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x88]
mov ecx, dword [esi + 0x26ed8]
push 1
mov eax, dword [ecx]
call dword [eax + 0x64]
mov ecx, dword [esi + 0x26ec0]
push 1
mov eax, dword [ecx]
call dword [eax + 0x60]
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8
Function at 0x5a2770
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ac
mov eax, dword [0x623ec0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push esi
push 0x104
lea eax, [esp + 0x1a4]
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [esp + 0x98]
push 0x104
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [esp + 8]
push 0x30
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [esp + 0x38]
push 0x30
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [esp + 0x68]
push 0x30
push 0
push eax
call fcn.00468b40
add esp, 0xc
lea eax, [esp + 8]
push eax
push str.WYDLauncher.exe
call fcn.00478a89
mov esi, eax
mov ecx, str.WYDLauncher.exe
mov eax, str.TWYDLauncher.exe
test esi, esi
cmovne ecx, eax
lea eax, [esp + 0xa0]
push ecx
push eax
call fcn.0044bdf0
mov ecx, str.TMPTWYDLauncher.exe
test esi, esi
mov eax, str.TMPWYDLauncher.exe
cmovne eax, ecx
push eax
lea eax, [esp + 0x1b4]
push eax
call fcn.0044bdf0
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x1bc]
push eax
call fcn.00478a89
add esp, 0x20
test eax, eax
jne 0x5a28a7
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.00478a89
add esp, 8
test eax, eax
jne 0x5a287c
push 0x80
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x1a8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, 1
jne 0x5a28a7
lea eax, [esp + 0x1a0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x2ac]
pop esi
xor ecx, esp
call fcn.0046676f
mov esp, ebp
pop ebp
ret