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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0
push 0x19
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x47857f
jmp 0x47861b
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x4785bd
jmp 0x47861b
lea ecx, [ebp - 0x218]
push ecx
push 0x661134
push 0
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jge 0x4785e6
jmp 0x47861b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00478340
add esp, 8
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x478630
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 8], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.005b4de0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x47868f
jmp 0x47872b
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
push 0
lea ecx, [ebp - 0x214]
push ecx
push 0
lea edx, [ebp - 0x210]
push edx
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jge 0x4786cd
jmp 0x47872b
lea ecx, [ebp - 0x218]
push ecx
push 0x661134
push 0
mov edx, dword [ebp - 0x214]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
jge 0x4786f6
jmp 0x47872b
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x218]
push eax
call fcn.00478340
add esp, 8
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x479fc0
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005b4de0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x47a0e4
push str.kernel32.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x47a0e4
push 0
lea ecx, [ebp - 0x218]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jbe 0x47a0e4
mov edx, dword [ebp - 0x21c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47a0e4
mov eax, dword [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
push 0
lea edx, [ebp - 0x218]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x47a0d7
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
push ecx
push 0x6498d0
mov edx, dword [ebp - 0x220]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x47a0d7
mov eax, dword [ebp - 0x224]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x220]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret

Function at 0x47a100
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov byte [ebp - 1], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x47a1a8
mov dword [ebp - 0x2c8], 0
push 0x2b0
push 0
lea edx, [ebp - 0x2c4]
push edx
call fcn.005b4de0
add esp, 0xc
push 0x208
push 0x2b4
lea eax, [ebp - 0x2c8]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
setne dl
mov byte [ebp - 1], dl
movzx eax, byte [ebp - 1]
test eax, eax
je 0x47a19e
push 0x208
lea ecx, [ebp - 0x2bc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
mov al, byte [ebp - 1]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 8
Function at 0x4b7600
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.00482070
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4b762c
mov eax, 7
jmp 0x4b76d4
cmp dword [0x6a8fb4], 0
je 0x4b7646
push 0xc8
call fcn.0048e0d0
add esp, 4
test eax, eax
je 0x4b7658
push 0x14
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.005b4de0
add esp, 0xc
jmp 0x4b76a5
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x4b76e0
push 0
push 0
call fcn.005b8935
add esp, 0x18
mov edx, dword [ebp - 4]
mov dword [edx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4b76a5
push 0x14
push 0
mov ecx, dword [ebp - 4]
push ecx
call fcn.005b4de0
add esp, 0xc
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x4b76ca
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x508190
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x5081cf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x5082eb
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x50825c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x508257
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0x30]
push eax
push 4
push 0x1000
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x508230
xor eax, eax
jmp 0x5082f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.005b4de0
add esp, 0xc
jmp 0x5081bd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00508170
add esp, 8
test eax, eax
jne 0x50827d
xor eax, eax
jmp 0x5082f0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x30]
push edx
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x1c]
call edx
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5082b4
xor eax, eax
jmp 0x5082f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.005b5620
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
jmp 0x5081bd
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x51f7b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630aff
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 0
push 0x64eb5b
mov eax, dword [ebp + 0x24]
add eax, 0xd4
push eax
call fcn.00432220
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x51f817
mov edx, dword [ebp - 0x5c]
add edx, 0x134
push edx
mov ecx, dword [ebp + 0x24]
add ecx, 0xd4
call fcn.0040e400
push 0x6521e8
lea ecx, [ebp - 0x34]
call fcn.0040e3a0
mov byte [ebp - 4], 1
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040e420
push 0x6521f4
lea ecx, [ebp - 0x34]
call fcn.0040e440
push str.tjname
lea ecx, [ebp - 0x34]
call fcn.0040e440
mov ecx, dword [ebp + 0x24]
add ecx, 0xd4
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040e420
push 0x652200
lea ecx, [ebp - 0x34]
call fcn.0040e440
push str.wintype
lea ecx, [ebp - 0x34]
call fcn.0040e440
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.00412590
mov ecx, eax
call fcn.00522b70
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x34]
call fcn.0040e420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.0040e3e0
push 0x1c
call fcn.005b4bed
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x58], 0
je 0x51f8d7
mov ecx, dword [ebp - 0x58]
call fcn.00414040
mov dword [ebp - 0x68], eax
jmp 0x51f8de
mov dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040e400
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x51edc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x5c]
add ecx, 0x2dc
call fcn.0040e920
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0040e3e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e3e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 0x20
Function at 0x51f960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x630b37
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6b278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
push 0x1c
call fcn.005b4bed
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x51f9b3
mov ecx, dword [ebp - 0x20]
call fcn.00414040
mov dword [ebp - 0x28], eax
jmp 0x51f9ba
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040e400
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x51edc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x2dc
call fcn.0040e920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e3e0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x523550
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6313a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6b278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
push 0
push 0x65299c
lea ecx, [ebp + 8]
call fcn.0040e5f0
cmp eax, dword [0x63f3a0]
jne 0x5235aa
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
jmp 0x523655
push 0x1c
call fcn.005b4bed
add esp, 4
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x20], 0
je 0x5235ce
mov ecx, dword [ebp - 0x20]
call fcn.00414040
mov dword [ebp - 0x44], eax
jmp 0x5235d5
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
call fcn.0043a030
add esp, 8
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0040e400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040e3e0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0x523670
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x2dc
call fcn.0040e920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040e530
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x52eb80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x214]
call fcn.0052e7b0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x130
call fcn.0041bdd0
push 0x653b88
call fcn.00455d80
add esp, 4
mov ecx, dword [ebp - 0x214]
cmp dword [ecx + 0xaac], 0
jne 0x52ec83
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0x200], 1
jne 0x52ec13
mov ecx, dword [ebp - 0x214]
call fcn.005302e0
test eax, eax
jne 0x52ec11
push str.Load7zPic_err
call fcn.00412530
push eax
call fcn.0040d040
add esp, 8
xor eax, eax
jmp 0x52ed41
jmp 0x52ec83
mov eax, dword [ebp - 0x214]
cmp dword [eax + 0x200], 0
jne 0x52ec83
mov ecx, dword [ebp - 0x214]
cmp dword [ecx + 0x1b4], 0
jle 0x52ec40
mov edx, dword [ebp - 0x214]
cmp dword [edx + 0x1b0], 0
jg 0x52ec5a
push str.m_nRowNums_m_nColNums_err
call fcn.00412530
push eax
call fcn.0040d040
add esp, 8
xor eax, eax
jmp 0x52ed41
mov ecx, dword [ebp - 0x214]
call fcn.00530100
test eax, eax
jne 0x52ec83
push str.m_nRowNums_m_nColNums_LoadPic
call fcn.00412530
push eax
call fcn.0040d040
add esp, 8
xor eax, eax
jmp 0x52ed41
mov eax, dword [ebp - 0x214]
cmp dword [eax + 0x13c], 0
je 0x52eca2
mov ecx, dword [ebp - 0x214]
mov dword [ecx + 0xb00], 0x50000000
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.005b4de0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x210]
push edx
call fcn.0040e2a0
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
push 0x653c20
lea edx, [ebp - 0x210]
push edx
call fcn.005b4d90
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52ed20
push 0x653c30
call sym.demo.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourcePath_wchar_t_const__
add esp, 4
jmp 0x52ed3c
push 0
mov ecx, dword [ebp - 0x214]
add ecx, 0x3fc
call fcn.0040e5d0
push eax
call sym.demo.exe_public:_static_void___cdecl_DuiLib::CPaintManagerUI::SetResourceZip_wchar_t_const___bool_
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret 4
Function at 0x530100
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6325f0
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.00412530
mov ecx, eax
call fcn.0040ac90
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x60]
add ecx, 0xb04
call fcn.0040e550
push 0x653d40
mov ecx, dword [ebp - 0x60]
add ecx, 0xb04
call fcn.0040e5b0
mov ecx, dword [ebp - 0x60]
add ecx, 0xb04
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x530195
mov ecx, dword [ebp - 0x60]
add ecx, 0xb04
call fcn.0040e5d0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.amimation.png
lea ecx, [ebp - 0x4c]
call fcn.0040e4b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x3fc
push ecx
lea ecx, [ebp - 0x2d]
call fcn.00474a20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.0040e530
mov ecx, dword [ebp - 0x60]
add ecx, 0xb04
call fcn.0040e5d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x530203
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov eax, dword [ebp - 0x50]
jmp 0x5302bd
mov edx, dword [ebp - 0x60]
add edx, 0xa8c
push edx
mov ecx, dword [ebp - 0x60]
add ecx, 0xb04
call fcn.0040e5d0
push eax
mov ecx, dword [ebp - 0x60]
call fcn.005310b0
movzx eax, al
test eax, eax
jne 0x530246
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov eax, dword [ebp - 0x54]
jmp 0x5302bd
push 0x653d78
push 0x653d80
mov ecx, dword [0x6b42cc]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.00530cf0
mov edx, dword [ebp - 0x60]
mov dword [edx + 0xaa4], eax
mov eax, dword [ebp - 0x60]
cmp dword [eax + 0xaa4], 0
jne 0x530297
mov ecx, dword [ebp - 0x60]
call fcn.0052e980
mov dword [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov eax, dword [ebp - 0x58]
jmp 0x5302bd
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0xaac], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040e530
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret
Function at 0x539d40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
je 0x539d5b
xor al, al
jmp 0x539e22
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 0x28]
or edx, dword [ecx + 0x2c]
jne 0x539d8d
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x28], edx
mov eax, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
jmp 0x539e0e
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
sub eax, dword [edx + 0x28]
mov ecx, dword [ebp - 0x14]
sbb ecx, dword [edx + 0x2c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
fild qword [ebp - 0x28]
mov edx, dword [ebp - 0x1c]
fild qword [edx + 0x30]
fdivp st(1)
fmul qword [0x644da0]
call fcn.005b8486
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1c]
xor edx, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x2c]
jg 0x539dfd
jl 0x539de8
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x30]
jae 0x539dfd
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
xor ecx, ecx
sub eax, dword [ebp - 0x10]
sbb ecx, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x1c]
add eax, 0x20
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x38
call fcn.00539e30
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x53a5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x632f4b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x6b278c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0053a650
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0053acd0
mov eax, dword [ebp - 0x10]
mov byte [eax], 0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x10]
push edx
push 0
push 0x53aaa0
call fcn.005bdad3
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret