joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004ae50
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
cmp dword [eax], 0
jne 0x1004ae64
xor al, al
add esp, 8
ret 8
push edi
mov edi, dword [esp + 0x10]
cmp dword [edi], 0xffffffff
je 0x1004aebd
cmp dword [edi + 4], 1
jne 0x1004aebd
cmp dword [edi + 8], 0
je 0x1004aebd
add eax, 4
cmp byte [eax + 0x10e], 0
mov ecx, eax
jne 0x1004ae8e
mov ecx, dword [eax + 0x108]
cmp byte [edi + 0x11a], 0
lea eax, [edi + 0xc]
jne 0x1004aea0
mov eax, dword [eax + 0x108]
add ecx, 4
push ecx
add eax, 4
push eax
call fcn.100cf808
add esp, 8
test eax, eax
jne 0x1004aebd
mov al, 1
pop edi
add esp, 8
ret 8
mov eax, 0x10165ce8
xor ecx, ecx
cmp dword [eax], 1
je 0x1004aedd
add ecx, 0x10
add eax, 0x10
cmp ecx, 0x40
jb 0x1004aec4
xor al, al
pop edi
add esp, 8
ret 8
push ebx
mov ebx, dword [eax + 4]
push ebp
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 8]
push esi
mov dword [esp + 0x14], eax
call fcn.1004afb0
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
push 0
push 0x80
push ebx
push 0
push ecx
push ebp
mov eax, edi
call fcn.1004a0a0
push eax
call esi
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x1004af70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x1004af3e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004af56
cmp eax, 5
jne 0x1004af64
push 0x80
mov eax, edi
call fcn.1004a0a0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 3
mov dword [esp + 0x10], eax
jl 0x1004af00
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 8
ret 8
cmp byte [edi + 0x112], 0
lea eax, [edi + 4]
jne 0x1004af82
mov eax, dword [eax + 0x108]
add eax, 4
lea edx, [ecx + 8]
call fcn.1004b220
mov edx, dword [esp + 0x1c]
pop esi
pop ebp
pop ebx
mov dword [edx + 4], 1
mov al, 1
pop edi
add esp, 8
ret 8

Function at 0x1004b010
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [esi], 0xffffffff
jne 0x1004b01c
xor al, al
pop ecx
ret 8
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1004b016
test edi, edi
je 0x1004b053
mov ecx, dword [esp]
mov dword [edi], ecx
mov al, 1
pop ecx
ret 8
Function at 0x1004c270
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.100d6e40
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1004c2c9
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.100cf604
add esp, 0x214
ret
push edi
push 0x1014369c
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.100d1048
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x14]
call fcn.1004c1c0
add esp, 0x10
pop edi
test al, al
je 0x1004c2b2
movzx ecx, word [esp + 4]
movzx edx, word [esp]
movzx eax, word [esp + 2]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x210]
mov dword [esi + 4], edx
xor edx, edx
mov dword [esi + 8], eax
xor ecx, esp
mov dword [esi], 0x114
mov dword [esi + 0x10], 2
mov word [esi + 0x14], dx
mov al, 1
call fcn.100cf604
add esp, 0x214
ret
Function at 0x1004db10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x408
mov eax, dword [0x101636d0]
xor eax, esp
mov dword [esp + 0x404], eax
cmp byte [0x1016ba50], 0
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x1004dcf2
call fcn.10002720
cmp dword [eax + 0x120], 0
je 0x1004dcf2
call fcn.100025a0
mov dword [eax + 0x24], 0x10000
call fcn.100025a0
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004db96
cmp dword [eax + 0x12c], 0
je 0x1004db96
mov eax, dword [eax + 0x12c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x20]
mov ecx, dword [esi + 0x12c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.100025a0
cmp dword [eax + 0x4c8], 1
jne 0x1004dbb0
call fcn.100025a0
add eax, 0x4cc
inc dword [eax]
call fcn.100025a0
cmp byte [eax + 0x504], 0
jne 0x1004dcf2
test edi, edi
je 0x1004dcf2
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
test eax, eax
je 0x1004dcf2
mov edx, dword [edi]
mov eax, dword [edx]
mov ecx, edi
call eax
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004dbe5
sub eax, edx
sar eax, 1
cmp eax, 1
jb 0x1004dcf2
call fcn.10002720
mov esi, dword [eax + 0x120]
test esi, esi
je 0x1004dcf2
xor ecx, ecx
push 0x3fe
push ecx
lea edx, [esp + 0x12]
push edx
mov word [esp + 0x14], cx
call fcn.100d6e40
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
add esp, 0xc
push 0x1ff
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call edx
test al, al
je 0x1004dcf2
lea eax, [esp + 8]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1004dc50
sub eax, edx
sar eax, 1
mov esi, eax
test esi, esi
jle 0x1004dcf2
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov ecx, edi
call edx
cmp eax, esi
jge 0x1004dc84
call fcn.100025a0
cmp dword [eax + 0x4c8], 1
jne 0x1004dcf2
call fcn.100025a0
mov ecx, eax
add ecx, 0x3a0
call fcn.100626a0
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
mov edi, eax
call fcn.100025a0
mov esi, eax
add esi, 0x3a0
mov eax, edi
call fcn.10062bd0
call fcn.100025a0
cmp dword [eax + 0x4c8], 1
jne 0x1004dcda
call fcn.100025a0
mov esi, eax
call fcn.1000d2c0
call fcn.100025a0
mov esi, eax
call fcn.1000d290
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.100cf604
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0x40c]
pop edi
pop esi
xor ecx, esp
xor al, al
call fcn.100cf604
mov esp, ebp
pop ebp
ret 4
Function at 0x1004e8c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp byte [0x1016ba50], 0
push esi
push edi
jne 0x1004e980
call fcn.10002720
cmp dword [eax + 0x120], 0
je 0x1004e980
call fcn.10002720
test eax, eax
je 0x1004e8fc
call fcn.10002720
mov ecx, eax
call fcn.10006f40
mov eax, dword [ebp + 8]
test eax, eax
je 0x1004e908
cmp eax, 1
jne 0x1004e976
cmp byte [ebp + 0xc], 0
jne 0x1004e976
call fcn.100025a0
cmp dword [eax + 0x20], 0
je 0x1004e961
call fcn.100025a0
mov dword [eax + 0x24], 0x10000
call fcn.100025a0
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004e961
cmp dword [eax + 0x12c], 0
je 0x1004e961
mov eax, dword [eax + 0x12c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x20]
mov ecx, dword [esi + 0x12c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.100025a0
test eax, eax
je 0x1004e976
call fcn.100025a0
mov edi, eax
call fcn.1000cb10
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x1004ee30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp byte [0x1016ba50], 0
push esi
push edi
jne 0x1004eea5
call fcn.10002720
cmp dword [eax + 0x120], 0
je 0x1004eea5
call fcn.100025a0
cmp byte [eax + 0x504], 0
je 0x1004ee99
call fcn.100025a0
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004ee99
cmp dword [eax + 0x12c], 0
je 0x1004ee99
mov eax, dword [eax + 0x12c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x20]
mov ecx, dword [esi + 0x12c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.100025a0
mov edi, eax
call fcn.1000cb10
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1004eeb0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp byte [0x1016ba50], 0
push esi
jne 0x1004ef19
call fcn.10002720
cmp dword [eax + 0x120], 0
je 0x1004ef19
call fcn.100025a0
cmp byte [eax + 0x504], 0
je 0x1004ef19
call fcn.100025a0
mov esi, eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1004ef19
cmp dword [eax + 0x12c], 0
je 0x1004ef19
mov eax, dword [eax + 0x12c]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [esi + 0x20]
mov ecx, dword [esi + 0x12c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100523e0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x1012b410
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], vtable.t_mutex::t_locker.0
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x48], 1
call fcn.100657b0
test al, al
je 0x1005245d
mov eax, dword [edi + 0x224]
mov dword [esp + 0x24], edi
cmp eax, ebx
jne 0x1005248a
mov byte [esp + 0x44], bl
call fcn.100658f0
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
jmp 0x100525af
lea ecx, [esp + 0x18]
call fcn.100619a0
push str.m_ProcOpenFilemapmutex
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
jmp 0x100525af
mov edi, dword [eax + 0x24]
cmp edi, ebx
jne 0x100524ae
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call fcn.10065480
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
jmp 0x100525af
xor ecx, ecx
cmp edi, ebx
mov byte [esp + 0x17], bl
jle 0x10052597
lea esi, [eax + 0x41]
nop
cmp ecx, 0xc8
jge 0x10052597
mov ebp, dword [esi - 0xd]
cmp ebp, dword [esp + 0x4c]
jne 0x100524fc
cmp dword [esi - 5], 0x64
jne 0x100524f1
cmp byte [esi - 9], 1
jne 0x100524f1
cmp byte [esi], 1
jne 0x100524f1
cmp byte [esi + 1], 1
jne 0x100524f1
mov byte [esp + 0x17], 1
cmp ebp, dword [esp + 0x4c]
jne 0x100524fc
cmp byte [esi - 9], bl
je 0x1005250f
cmp byte [esp + 0x17], bl
jne 0x10052514
inc ecx
add esi, 0x10
cmp ecx, edi
jl 0x100524c0
jmp 0x10052597
mov byte [esp + 0x17], 1
lea edx, [edi - 1]
mov byte [esp + 0x2c], bl
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
cmp ecx, edx
jne 0x10052534
shl ecx, 4
lea ecx, [ecx + eax + 0x34]
jmp 0x10052564
shl edi, 4
mov esi, dword [edi + eax + 0x24]
lea edx, [edi + eax + 0x24]
shl ecx, 4
lea ecx, [ecx + eax + 0x34]
mov dword [ecx], esi
mov esi, dword [edx + 4]
mov dword [ecx + 4], esi
mov esi, dword [edx + 8]
mov dword [ecx + 8], esi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [eax + 0x24]
shl ecx, 4
lea ecx, [ecx + eax + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [ecx], ebx
mov dword [ecx + 4], esi
mov esi, dword [esp + 0x34]
or edx, 0xffffffff
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
add dword [eax + 0x24], edx
mov ecx, dword [eax + 0x24]
cmp ecx, ebx
jge 0x10052587
mov dword [eax + 0x24], ebx
cmp byte [esp + 0x17], bl
je 0x10052597
push 0x13
call fcn.10069fb0
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], bl
call fcn.10065480
lea ecx, [esp + 0x18]
call fcn.10061940
mov al, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
Function at 0x100525d0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x101301a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov edi, ecx
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], vtable.t_mutex::t_locker.0
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x38], 1
call fcn.100657b0
test al, al
je 0x10052652
mov esi, dword [edi + 0x224]
mov dword [esp + 0x24], edi
cmp esi, ebx
je 0x10052693
cmp ebp, ebx
je 0x10052693
mov edx, dword [esi + 0x24]
cmp edx, ebx
jne 0x10052671
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.10065480
jmp 0x1005269c
lea ecx, [esp + 0x18]
call fcn.100619a0
push str.m_ProcOpenFilemapmutex
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
jmp 0x1005269c
xor eax, eax
cmp edx, ebx
jle 0x10052693
lea ecx, [esi + 0x34]
lea ebx, [ebx]
cmp eax, 0xc8
jge 0x10052693
cmp dword [ecx], ebp
je 0x100526bd
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x10052680
mov byte [esp + 0x34], bl
call fcn.100658f0
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
shl eax, 4
push 0x13
mov byte [eax + esi + 0x42], 1
call fcn.10069fb0
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.10065480
lea ecx, [esp + 0x18]
call fcn.10061940
mov al, 1
jmp 0x100526a7
Function at 0x10052980
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x101301a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov edi, ecx
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], vtable.t_mutex::t_locker.0
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x38], 1
call fcn.100657b0
test al, al
je 0x10052a02
mov esi, dword [edi + 0x224]
mov dword [esp + 0x24], edi
cmp esi, ebx
je 0x10052a43
cmp ebp, ebx
je 0x10052a43
mov edx, dword [esi + 0x24]
cmp edx, ebx
jne 0x10052a21
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.10065480
jmp 0x10052a4c
lea ecx, [esp + 0x18]
call fcn.100619a0
push str.m_ProcOpenFilemapmutex
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
jmp 0x10052a4c
xor eax, eax
cmp edx, ebx
jle 0x10052a43
lea ecx, [esi + 0x34]
lea ebx, [ebx]
cmp eax, 0xc8
jge 0x10052a43
cmp dword [ecx], ebp
je 0x10052a6d
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x10052a30
mov byte [esp + 0x34], bl
call fcn.100658f0
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
add eax, 4
shl eax, 4
push 0x13
mov byte [eax + esi], bl
call fcn.10069fb0
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.10065480
lea ecx, [esp + 0x18]
call fcn.10061940
mov al, 1
jmp 0x10052a57

Function at 0x10053350
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x101301a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov edi, ecx
xor ebx, ebx
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], vtable.t_mutex::t_locker.0
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x38], 1
call fcn.100657b0
test al, al
je 0x100533f3
mov esi, dword [edi + 0x224]
mov dword [esp + 0x24], edi
cmp esi, ebx
je 0x100533ea
mov edx, dword [esi + 0x24]
cmp edx, ebx
jne 0x100533ce
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.10065480
jmp 0x100533f3
xor eax, eax
cmp edx, ebx
jle 0x100533ea
lea ecx, [esi + 0x34]
cmp eax, 0xc8
jge 0x100533ea
cmp dword [ecx], ebp
je 0x10053414
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x100533d7
mov byte [esp + 0x34], bl
call fcn.100658f0
lea ecx, [esp + 0x18]
call fcn.10061940
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
shl eax, 4
push 0x13
mov byte [eax + esi + 0x38], bl
call fcn.10069fb0
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], bl
call fcn.10065480
lea ecx, [esp + 0x18]
call fcn.10061940
mov al, 1
jmp 0x100533fe
Function at 0x10059560
Capabilities:
Check if file exists
Get file attributes
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1012a1a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x164]
mov ebp, dword [esp + 0x3c]
mov esi, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ecx
xor ebx, ebx
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x44], ebx
je 0x1005974b
lea eax, [esp + 0x4c]
cmp byte [esp + 0x15c], bl
jne 0x100595bd
mov eax, dword [esp + 0x48]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1005974b
shr eax, 4
not al
and al, 1
je 0x1005974b
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
push edx
mov ebx, ebp
lea ecx, [esp + 0x44]
call fcn.1005fed0
test al, al
je 0x10059712
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x10059712
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x18], 0
lea eax, [esp + 0x4c]
jne 0x1005961f
mov eax, dword [esp + 0x48]
add eax, 4
push 0x1013fbc8
push eax
lea eax, [esp + 0x20]
push eax
call fcn.100cfdf0
add esp, 0xc
test eax, eax
jne 0x10059687
mov ecx, dword [esp + 0x16c]
lea edi, [ebx + ecx]
push edi
mov ecx, esi
call fcn.10001ee0
mov esi, eax
test esi, esi
je 0x10059687
push edi
push 0
push esi
call fcn.100d6e40
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push ebx
push 1
push esi
call fcn.100d174e
add esp, 0x10
cmp ebx, eax
je 0x100596a1
mov eax, dword [esp + 0x18]
push eax
call fcn.100d11ab
add esp, 4
mov dword [esp + 0x18], 0
push str.GetDataBufFromFile
mov ecx, ebp
call fcn.10001360
lea ecx, [esp + 0x40]
call fcn.1005f910
jmp 0x1005978c
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100d11ab
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 4
cmp byte [esp + 0x168], 0
mov dword [edx], esi
mov dword [esp + 0x18], 0
mov dword [eax], edi
lea ecx, [esp + 0x40]
je 0x100596f7
push ebp
call fcn.10060110
lea ecx, [esp + 0x40]
mov bl, al
call fcn.1005f910
mov al, bl
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
call fcn.1005f910
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, ebp
call fcn.100619a0
push str.GetDataBufFromFile
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
cmp byte [esp + 0x15c], 0
mov dword [esp + 0x40], vtable.t_str.0
jne 0x1005978c
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x4c]
cmp eax, ecx
jmp 0x10059781
mov ecx, ebp
call fcn.100619a0
push str.GetDataBufFromFile
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
mov dword [esp + 0x40], vtable.t_str.0
cmp byte [esp + 0x15c], bl
jne 0x1005978c
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x4c]
cmp eax, edx
je 0x1005978c
push eax
call fcn.100cf89b
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x1005a190
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x1012d8ed
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebp
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x10c]
lea eax, [esp + 0x14]
push eax
call fcn.10059ac0
mov dword [esp + 0x104], 0
cmp dword [esi + 4], 0
je 0x1005a274
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x1005a1f3
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1005a274
shr eax, 4
not al
and al, 1
je 0x1005a274
cmp byte [esi + 0x11c], 0
je 0x1005a219
add esi, 0xc
jmp 0x1005a21c
mov esi, dword [esi + 8]
add esi, 4
push esi
lea edi, [esp + 0x18]
call fcn.1006b7e0
test al, al
jne 0x1005a23b
mov ecx, ebp
call fcn.100619a0
push 0x10144328
jmp 0x1005a280
lea ecx, [esp + 0x14]
call fcn.10059bb0
test al, al
jne 0x1005a25b
push 0x10144344
mov ecx, ebp
call fcn.10001360
lea edx, [esp + 0x14]
push edx
jmp 0x1005a294
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x108], 0xffffffff
call fcn.1005a2d0
mov al, 1
jmp 0x1005a2a6
mov ecx, ebp
call fcn.100619a0
push 0x1014430c
push 0x1013c7e4
mov edx, eax
call fcn.10062cd0
add esp, 8
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x108], 0xffffffff
call fcn.1005a2d0
xor al, al
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xf8
ret 4

Function at 0x1005a590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10128238
mov eax, dword fs:[0]
push eax
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.item
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.100cf978
mov dword [eax + 0x24], fcn.100cfa42
mov dword [eax + 0x28], fcn.100cf89b
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_PicFaceConfigFile::t_item_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x1005c1c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10128238
mov eax, dword fs:[0]
push eax
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.cellinfo
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.100cf978
mov dword [eax + 0x24], fcn.100cfa42
mov dword [eax + 0x28], fcn.100cf89b
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configTipListFile::t_recommend_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

Function at 0x1005c590
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10128238
mov eax, dword fs:[0]
push eax
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.cellmap
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.100cf978
mov dword [eax + 0x24], fcn.100cfa42
mov dword [eax + 0x28], fcn.100cf89b
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configTipListFile::t_fixedCellItem_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

Function at 0x1005cc90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10127c19
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101636d0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push fcn.10002140
push 0x1005cc50
push 0xc8
push 0x10
lea eax, [esi + 0x34]
push eax
call fcn.100d2172
push fcn.10002140
push 0x1005cc70
push 0x7d0
push 0xc
lea ecx, [esi + 0xcb8]
xor edi, edi
push ecx
mov dword [esp + 0x28], edi
call fcn.100d2172
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0xcb4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x6a78], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4