joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ba87b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d5788]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.100a6db9
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100a6db9
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100ba8f2
cmp word [ecx], dx
je 0x100ba8f2
mov eax, dword [0x100ce80c]
push edi
dec eax
push eax
push 0x100ce6f8
call fcn.100baa6b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100ba965
cmp word [eax], dx
je 0x100ba965
mov eax, dword [edi]
test eax, eax
je 0x100ba916
cmp word [eax], dx
je 0x100ba916
lea eax, [ebp - 0x10]
push eax
call fcn.100baacc
jmp 0x100ba91f
lea eax, [ebp - 0x10]
push eax
call fcn.100badba
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100ba98f
mov eax, dword [0x100ce6f4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100ce3e8
call fcn.100baa6b
add esp, 0xc
test al, al
je 0x100ba98f
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100ba95a
cmp word [eax], di
je 0x100ba95a
lea eax, [ebp - 0x10]
push eax
call fcn.100baacc
pop ecx
jmp 0x100ba991
lea eax, [ebp - 0x10]
push eax
call fcn.100badba
jmp 0x100ba957
mov eax, dword [edi]
test eax, eax
je 0x100ba97c
cmp word [eax], dx
je 0x100ba97c
lea eax, [ebp - 0x10]
push eax
call fcn.100baeee
pop ecx
jmp 0x100ba98f
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100baa5a
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100baffe
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100baa5a
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100baa5a
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100baa5a
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100ba9e7
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.100a6044
test ebx, ebx
je 0x100baa55
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.100a6044
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100baa5a
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100baa5a
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100c1f74
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100baa5c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007c2bf
leave
ret
Function at 0x100bb104
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.100a6db9
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100bb173
cmp esi, dword [ebp - 4]
je 0x100bb16e
cmp dword [ebp + 0xc], 0
je 0x100bb16e
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100bb14b
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100bb1cd
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100bb175
xor eax, eax
inc eax
jmp 0x100bb175
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100bfd66
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100d6f98]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100bfda6
cmp byte [ebx], 0xa
jne 0x100bfda6
or byte [edi + eax + 0x28], 4
jmp 0x100bfdab
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100bfeaa
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100bfe8d
inc eax
cmp dl, 0xd
je 0x100bfdd7
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100bfdfd
cmp eax, ecx
jae 0x100bfe0b
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100bfdbf
jmp 0x100bfeaa
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100bfe88
cmp dword [ebp - 0x10], 0
je 0x100bfe88
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100d6f98]
test byte [eax + edi + 0x28], 0x48
je 0x100bfe62
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100bfe4d
mov byte [esi], dl
jmp 0x100bfe5e
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100d6f98]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100bfeaa
cmp byte [ebp - 1], 0xa
jne 0x100bfe71
cmp esi, ebx
jne 0x100bfe71
mov byte [esi], 0xa
jmp 0x100bfea9
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100bf096
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100bfeaa
mov byte [esi], 0xd
jmp 0x100bfea9
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100d6f98]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100bfea7
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100bfeaa
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100bfeb3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100d6f98]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100bfef9
cmp word [ebx], dx
jne 0x100bfef9
or byte [eax + edi + 0x28], 4
jmp 0x100bfefe
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100c0061
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100c0041
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100bff3f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100bff75
cmp eax, edx
jae 0x100bff83
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100bff1a
jmp 0x100c0061
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100c003c
cmp dword [ebp - 0x18], 0
je 0x100c003c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100d6f98]
test byte [eax + edi + 0x28], 0x48
je 0x100c0012
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100bffd6
mov word [esi], cx
jmp 0x100c000d
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100d6f98]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100d6f98]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100d6f98]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100c0061
pop eax
cmp word [ebp - 4], ax
jne 0x100c0022
cmp esi, ebx
jne 0x100c0022
mov word [esi], ax
jmp 0x100c005e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100bf096
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100c0061
push 0xd
pop eax
jmp 0x100c001d
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100d6f98]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100c005b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100c0061
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x100c2f24
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c2fac
Function at 0x100010a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov edi, edx
mov ebx, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
call dword [sym.imp.iSafeBase.dll_public:_static_class_elex::CAppMgr____cdecl_oopa::CSingleton_class_elex::CAppMgr_::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.iSafeBase.dll_public:_class_COProductUtil____thiscall_elex::CAppMgr::GetProductUtil_void_]
cmp dword [eax + 0x2c], 8
lea esi, [eax + 0x18]
jb 0x100010f1
mov esi, dword [esi]
call dword [sym.imp.iSafeBase.dll_public:_static_class_elex::CAppMgr____cdecl_oopa::CSingleton_class_elex::CAppMgr_::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.iSafeBase.dll_public:_class_COPathManager____thiscall_elex::CAppMgr::GetPathMgr_void_]
push esi
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.1001bd90
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push str.preference.ini
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100011b0
push eax
push eax
push 1
push eax
push eax
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x100011b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push ecx
lea ecx, [ebp - 0x620]
call fcn.1001bec0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret
Function at 0x100051d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1002c01b
mov eax, dword fs:[0]
push eax
sub esp, 0x63c
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x634], eax
push esi
push edi
mov eax, dword [0x10048070]
xor eax, esp
push eax
lea eax, [esp + 0x648]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::getProgramRunDir_void_]
xor eax, eax
push 0x206
mov dword [esp + 0x658], 0
push eax
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push eax
call sub.MSVCR110.dll_memset
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0x10
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push str.skin2_traypluginStartupAssistimage_resource.xml
push eax
lea eax, [esp + 0x2c]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x43c], ax
lea eax, [esp + 0x43e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push str.lang_trayplugin_startupassist_lang.xml
push eax
lea eax, [esp + 0x43c]
push eax
call esi
xor eax, eax
push 0x206
push eax
mov word [esp + 0x234], ax
lea eax, [esp + 0x236]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [esp + 0x20], 8
lea eax, [esp + 0xc]
cmovae eax, dword [esp + 0xc]
push str.skin2_traypluginStartupAssist_style_style.xml
push eax
lea eax, [esp + 0x234]
push eax
call esi
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [edi + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call dword [edx + 8]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
push dword [edi + 0xc]
mov edx, dword [eax]
lea ecx, [esp + 0x230]
push ecx
mov ecx, eax
call dword [edx]
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edx, dword [eax]
push dword [edi + 0xc]
lea ecx, [esp + 0x438]
push ecx
mov ecx, eax
call dword [edx + 4]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1000534d
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x1000534d
mov edx, dword [eax]
push dword [edi + 0xc]
mov ecx, eax
call dword [edx]
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1000536a
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x1000536a
mov edx, dword [eax]
lea ecx, [edi + 0x10]
push ecx
push dword [edi + 0xc]
mov ecx, eax
call dword [edx]
push 0
call dword [sym.imp.MSVCR110.dll__time32]
add esp, 4
mov edx, eax
mov ecx, str.news_start
call fcn.100010a0
xor edx, edx
mov ecx, str.news_show
call fcn.100010a0
cmp dword [esp + 0x20], 8
jb 0x100053a1
push dword [esp + 0xc]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x634]
xor ecx, esp
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
Function at 0x10007990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
mov ebx, edx
mov edi, ecx
call sub.MSVCR110.dll_memset
add esp, 0xc
call dword [sym.imp.iSafeBase.dll_public:_static_class_elex::CAppMgr____cdecl_oopa::CSingleton_class_elex::CAppMgr_::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.iSafeBase.dll_public:_class_COProductUtil____thiscall_elex::CAppMgr::GetProductUtil_void_]
cmp dword [eax + 0x2c], 8
lea esi, [eax + 0x18]
jb 0x100079e1
mov esi, dword [esi]
call dword [sym.imp.iSafeBase.dll_public:_static_class_elex::CAppMgr____cdecl_oopa::CSingleton_class_elex::CAppMgr_::GetInstance_void_]
mov ecx, eax
call dword [sym.imp.iSafeBase.dll_public:_class_COPathManager____thiscall_elex::CAppMgr::GetPathMgr_void_]
push esi
sub esp, 8
lea eax, [ebp - 0x414]
push eax
call fcn.1001bd90
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
push str.preference.ini
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
mov dword [ebp - method.CProfileIni.virtual_0], vtable.CProfileIni.0
call sub.MSVCR110.dll_memset
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call dword [sym.imp.MSVCR110.dll_wcscpy_s]
add esp, 0x18
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10007a94
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x61c]
push eax
push ebx
push edi
push 0x100311d4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret
Function at 0x1000d460
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x1002c72c
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x10048070]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::CORect::constructor_void_]
lea ecx, [esp + 0x60]
mov byte [ebx + 0x121], 1
call esi
mov eax, dword [ebx]
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call dword [eax + 0xac]
lea eax, [ebx + 0x124]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::CORect::operator__struct_tagRECT_const__const]
test eax, eax
je 0x1000d4e7
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x228]
jmp 0x1000d59d
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 0x70]
push ecx
push eax
xor edi, edi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x50]
call esi
push edi
lea eax, [esp + 0x54]
push eax
push edi
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x70]
jne 0x1000d53d
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x78]
jne 0x1000d53d
mov eax, dword [esp + 0x74]
cmp eax, dword [esp + 0x5c]
jl 0x1000d53d
mov edi, dword [esp + 0x6c]
sub edi, dword [esp + 0x64]
push 0x68
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0xc0], 0
test esi, esi
je 0x1000d587
movsd xmm0, qword [0x10039650]
neg edi
push edi
push 0xa
sub esp, 8
mov ecx, esi
movsd qword [esp], xmm0
push 1
push 4
push ebx
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COAnimShow::constructor_class_OUI::COVWnd___unsigned_long_int__bool__double__int__int_]
mov dword [esi], vtable.OUI::COAnimShow.0
jmp 0x1000d589
xor esi, esi
push esi
mov ecx, ebx
mov dword [esp + 0xc4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COVWnd::AddAnimation_class_OUI::COAnimObject__]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.10029016
mov esp, ebp
pop ebp
ret
Function at 0x1000d9f0
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COSize::constructor_void_]
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
call dword [sym.imp.ouilibx.dll_public:_bool___thiscall_OUI::COVWnd::GetWindowSize_class_OUI::COSize__]
xor esi, esi
cmp byte [ebp + 8], 0
jne 0x1000da42
push esi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x1000da42
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x24]
sub esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::CORect::constructor_void_]
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x14]
push 0x51
push 0xffffffffffffffff
add eax, esi
push 0xffffffffffffffff
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
mov ecx, edi
sub eax, 0x14
push eax
push 0xffffffffffffffff
call dword [sym.imp.ouilibx.dll_public:_struct_HWND____const___thiscall_OUI::COVWnd::GetSafeHwnd_void_]
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.10029016
mov esp, ebp
pop ebp
ret 4

Function at 0x1000e410
Capabilities:
Check if file exists

Disassembly:
push 0
call dword [sym.imp.MSVCR110.dll__time32]
add esp, 4
mov edx, eax
mov ecx, str.last_pop
jmp fcn.100010a0
Function at 0x10015160
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d8d8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
lea eax, [ebp - 0x48]
push esi
push eax
call dword [sym.imp.iImportLib.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_elex::filepath::dirname_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.iImportLib.dll_bool___cdecl_elex::filepath::mkdir_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
test al, al
sete bl
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x34], 8
jb 0x100151c9
push dword [ebp - 0x48]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
test bl, bl
jne 0x1001529a
cmp dword [esi + 0x14], 8
jb 0x100151d9
mov esi, dword [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001529a
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
call fcn.10001560
cmp dword [ebp - 0x1c], 0x10
mov edi, dword [ebp - 0x20]
lea edx, [ebp - 0x30]
cmovae edx, dword [ebp - 0x30]
xor ecx, ecx
mov word [ebp - 0x14], 0xe1b5
mov byte [ebp - 0x12], 0xe5
test edi, edi
je 0x10015256
mov al, byte [ecx + edx]
test al, al
je 0x10015251
cmp al, 0x5a
je 0x10015251
xor al, 0x5a
mov byte [ecx + edx], al
inc ecx
cmp ecx, edi
jb 0x10015241
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x18]
push eax
push 3
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
cmp dword [ebp - 0x1c], 0x10
push 0
lea ecx, [ebp - 0x18]
push ecx
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push edi
push eax
push ebx
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], 0x10
jb 0x1001529a
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret