joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b7b
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x5496d1
call fcn.0052fc5a
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
push 0x55adbc
call fcn.00402305
mov eax, dword [edi]
and dword [ebp - 4], 0
sub eax, 0x10
push ecx
mov dword [ebp - 0xb4], esp
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
xor eax, eax
mov esi, esp
inc eax
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], al
mov eax, dword [ebx]
sub eax, 0x10
push eax
call fcn.00404ebf
or dword [ebp - 4], 0xffffffff
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0xa4]
pop ecx
push eax
call fcn.00410061
push dword [ebp - 0xa4]
mov dword [ebp - 4], 2
call fcn.00411636
add esp, 0x14
xor ebx, ebx
test eax, eax
je 0x402d0c
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x402c4a
lea eax, [ebp - 0xbc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x402c51
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x402d0c
mov esi, dword [ebp - 0xbc]
push esi
call fcn.00417dd5
pop ecx
push ebx
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xa0], eax
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x9c]
push eax
call fcn.0040f51a
push esi
mov esi, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
push esi
push eax
call fcn.0040fc15
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040f49c
push 0x10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00401c40
add esp, 0x24
mov dword [ebp - 0xa0], ebx
mov edx, ebx
mov ecx, dword [ebp + 0x10]
push edx
call fcn.00402aa3
mov edx, dword [ebp - 0xa0]
movzx ecx, ax
movsx eax, byte [ebp + edx - 0x44]
cmp ecx, eax
jne 0x402cfa
inc edx
mov dword [ebp - 0xa0], edx
cmp edx, 0x10
jl 0x402cbf
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x402d12
push esi
call fcn.00417dde
pop ecx
jmp 0x402d12
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x402d0c
push esi
call fcn.00417dde
pop ecx
mov byte [ebp - 0xa8], bl
mov ecx, dword [ebp - 0xa4]
add ecx, 0xfffffff0
call fcn.00409ada
mov al, byte [ebp - 0xa8]
call fcn.0052fc09
ret 0xc
Function at 0x405a71
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x54a52b
call fcn.0052fc27
xor edi, edi
push edi
push str.HttpGetFile
push dword [ebp + 8]
mov dword [ebp - 4], edi
call fcn.004158b6
mov esi, eax
add esp, 0xc
test esi, esi
je 0x405ae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DownloadModuleUpdateINI_1__0x_x_
call fcn.00410441
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
cmp esi, 0x4e27
jne 0x405ac2
mov dword [eax], 5
jmp 0x405b76
cmp esi, 0x4e23
jne 0x405ad5
mov dword [eax], 0xa
jmp 0x405b76
push esi
mov dword [eax], 0x20
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x405b76
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0041133f
mov eax, dword [0x5b5a50]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
push eax
call fcn.00404ebf
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push edi
push edi
push edi
push edi
push edi
push 1
push 0xffffffffffffffff
push esi
push 1
push edi
push edi
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
push dword [ebp + 8]
call fcn.004156d0
add esp, 0x40
test eax, eax
jne 0x405b54
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DownloadModuleUpdateINI_2_0x_x_
call fcn.00410441
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
push dword [ebp - 0x10]
mov dword [eax], 5
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x405b63
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.00402900
xor edi, edi
inc edi
lea ecx, [esi - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409ada
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409ada
mov eax, edi
call fcn.0052fbf5
ret

Function at 0x4078bb
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b01a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x24
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.0052ea60
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0052ea60
add esp, 0x18
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop esi
test eax, eax
je 0x40797c
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x407934
lea ecx, [ebp - 0x144]
push ecx
call eax
jmp 0x407941
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x110], 2
jne 0x407973
cmp dword [ebp - 0x11c], 4
jbe 0x40797c
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x11c], eax
jae 0x407962
xor al, al
jmp 0x40797e
jne 0x40797c
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp + 0xc]
sbb al, al
inc al
jmp 0x40797e
cmp dword [ebp - 0x110], 1
je 0x40795e
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052cad4
mov esp, ebp
pop ebp
ret
Function at 0x40acd1
Capabilities:
Copy file
Delete file

Disassembly:
push 0x10
mov eax, 0x54a035
call fcn.0052fc27
call fcn.00418b84
push eax
lea ecx, [ebp - 0x10]
call fcn.004021f8
mov edi, 0x55ae2c
mov esi, 0x5b5a58
xor ebx, ebx
mov ecx, esi
push edi
mov dword [ebp - 4], ebx
call fcn.00404f1e
test eax, eax
je 0x40ad54
push esi
lea ecx, [ebp - 0x10]
call fcn.00402900
mov edi, dword [ebp - 0x10]
push ebx
push str.HttpGetFile
push edi
call fcn.004158b6
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40add6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UpdateVersionFile_1__0x_x_
call fcn.00410441
mov eax, dword [ebp + 8]
pop ecx
pop ecx
cmp esi, 0x4e27
jne 0x40adb1
mov dword [eax], 5
jmp 0x40aedb
push edi
push str.VERSION_FILE_URL
push str.GENERAL
lea eax, [ebp - 0x14]
mov ecx, 0x5b5a5c
push eax
call fcn.0041264e
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402900
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.00409ada
lea eax, [ebp - 0x10]
push 0x55bb38
push eax
call fcn.00402a2f
pop ecx
pop ecx
test al, al
je 0x40ad0f
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
mov dword [eax], 9
jmp 0x40aedb
cmp esi, 0x4e23
jne 0x40adc4
mov dword [eax], 0xa
jmp 0x40aedb
push esi
mov dword [eax], 0x20
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x40aedb
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.0041133f
mov eax, dword [0x5b5a50]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
push eax
call fcn.00404ebf
lea ebx, [eax + 0x10]
mov dword [ebp - 0x1c], ebx
xor eax, eax
mov byte [ebp - 4], 3
push eax
push eax
push eax
push eax
push eax
push 1
push 0xffffffffffffffff
push ebx
push 1
push eax
push eax
push dword [ebp - 0x18]
push edi
call fcn.004156d0
add esp, 0x40
test eax, eax
jne 0x40ae48
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.UpdateVersionFile_2__0x_x_
call fcn.00410441
mov eax, dword [ebp + 8]
pop ecx
pop ecx
push dword [ebp - 0x18]
mov dword [eax], 5
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov dword [ebp - 0x14], eax
jmp 0x40aec5
call fcn.00418b84
push eax
lea ecx, [ebp - 0x14]
call fcn.004021f8
push dword [0x5b5a54]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push str.Delete_file:__s
push eax
call fcn.00405f14
push dword [ebp - 0x14]
call fcn.00410441
add esp, 0x10
push dword [0x5b5a54]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
push eax
push dword [0x5b5a54]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [0x5b5a54]
lea eax, [ebp - 0x14]
push str.new_file:__s
push eax
call fcn.00405f14
mov esi, dword [ebp - 0x14]
push esi
call fcn.00410441
xor eax, eax
lea ecx, [esi - 0x10]
add esp, 0x10
inc eax
mov dword [ebp - 0x14], eax
call fcn.00409ada
lea ecx, [ebx - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00409ada
mov ebx, dword [ebp - 0x14]
lea ecx, [edi - 0x10]
call fcn.00409ada
mov eax, ebx
call fcn.0052fbf5
ret
Function at 0x40cebb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x428
mov eax, 0x54a17b
call fcn.0052fcc6
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x40cf38
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x40cf38
call fcn.00403a18
mov esi, eax
jmp 0x40d01d
push dword [ebp - 0x420]
push dword [ebp - 0x41c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40cf5b
call fcn.00403a18
jmp 0x40d010
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x40cf51
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x40cf8e
mov esi, 0x8007000e
jmp 0x40d012
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0040c189
jmp 0x40cfbf
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
je 0x40cf84
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x40cf51
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040cd80
mov esi, eax
test edi, edi
je 0x40d01d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x40d036
lea ecx, [ebp - 0x418]
call fcn.00418c5a
mov eax, esi
call fcn.0052fc18
ret 0x10
Function at 0x40ddc5
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x65
push dword [ebp + 8]
call fcn.004136d7
lea eax, [ebp - 8]
push eax
call fcn.004115ea
add esp, 0xc
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.00409ada
lea eax, [ebp - 4]
push eax
call fcn.00410c0c
push dword [ebp - 4]
push str.currentdir:_s
call fcn.00410441
push dword [ebp + 8]
call fcn.0040c707
push dword [ebp + 0x10]
or esi, 0xffffffff
call fcn.0052eb7a
add esp, 0x14
test eax, eax
je 0x40de2f
push dword [ebp + 0x10]
call fcn.004068a3
pop ecx
mov esi, eax
call fcn.0040c55d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [eax - 0x4e20]
cmp ecx, 9
ja 0x40de4a
shl eax, 0x10
or esi, eax
mov ecx, dword [ebp - 4]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40ea5f
Capabilities:
Create process on windows
Delete file
Hide graphical window

Disassembly:
push 0x48
mov eax, 0x54a2ef
call fcn.0052fc27
mov edi, ecx
cmp dword [edi + 0x2c], 0
lea eax, [ebp - 0x14]
mov esi, 0x55b650
mov ebx, 0x5b5940
push esi
mov ecx, ebx
je 0x40eaa2
push str.IDS_MAINDLG_INSTALLING_S
push eax
call fcn.00417500
push dword [edi + 0x2c]
and dword [ebp - 4], 0
push dword [eax]
push edi
call fcn.0040ec15
add esp, 0xc
jmp 0x40eabe
push str.IDS_MAINDLG_INSTALLING
push eax
call fcn.00417500
push dword [eax]
mov dword [ebp - 4], 1
push edi
call fcn.0040ec15
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.00409ada
push 0x38
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0052ea60
mov eax, dword [edi + 0x44]
add esp, 0xc
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x40eb4f
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ec04
push esi
push str.IDS_MAINDLG_FAILED_TOP_LAUNCH_SETUP
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.00417500
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x40ebb4
push esi
push str.IDS_MAINDLG_FAILED_TOP_LAUNCH_SETUP
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00417500
mov esi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi]
lea eax, [ebp - 0x10]
push str._s_r_nError_code_:_0x_x
push eax
call fcn.00405f14
mov ecx, dword [ebp - 0x18]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00409ada
xor eax, eax
push eax
push eax
push eax
push eax
push eax
mov eax, dword [edi + 0x2c]
push ecx
sub eax, 0x10
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 4
push eax
call fcn.00404ebf
add eax, 0x10
pop ecx
mov dword [esi], eax
push dword [edi + 4]
mov byte [ebp - 4], 2
call fcn.00413620
mov ecx, dword [ebp - 0x10]
add esp, 0x20
lea ecx, [ecx - 0x10]
call fcn.00409ada
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
call fcn.0052fbf5
ret
Function at 0x40ed0e
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x54a355
call fcn.0052fc27
mov edi, ecx
xor esi, esi
jmp 0x40ed2f
push esi
call fcn.0041178e
pop ecx
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x4c], esi
jne 0x40ed20
cmp dword [edi + 0x48], esi
jne 0x40ed49
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x40eeac
lea eax, [ebp + 0x10]
cmp dword [ebp + 0x10], esi
jne 0x40edcd
mov ebx, 0x55b650
mov ecx, 0x5b5940
push ebx
push str.IDS_MAINDLG_FAILED_TO_START_TRANSFER
push eax
call fcn.00417500
push dword [eax]
mov dword [ebp - 4], esi
push edi
call fcn.0040ec15
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409ada
mov eax, dword [edi + 0x2c]
push esi
push esi
push esi
push esi
push esi
push ecx
sub eax, 0x10
mov dword [ebp + 0x10], esp
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
mov eax, esp
mov dword [ebp - 4], 1
push ebx
push str.IDS_MAINDLG_ERR_WHILE_TRANSFER
push eax
mov ecx, 0x5b5940
call fcn.00417500
push dword [edi + 4]
or dword [ebp - 4], 0xffffffff
call fcn.00413620
add esp, 0x20
jmp 0x40ed39
push eax
push dword [edi + 0x44]
mov dword [ebp + 0x10], esi
call fcn.0040f17e
pop ecx
pop ecx
mov ecx, 0x5b5940
test eax, eax
jne 0x40ee6f
mov ebx, 0x55b650
lea eax, [ebp + 0x10]
push ebx
push str.IDS_MAINDLG_FAILED_TO_START_TRANSFER
push eax
call fcn.00417500
push dword [eax]
mov dword [ebp - 4], 2
push edi
call fcn.0040ec15
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409ada
mov eax, dword [edi + 0x2c]
push esi
push esi
push esi
push esi
push esi
push ecx
sub eax, 0x10
mov dword [ebp + 0x10], esp
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
mov eax, esp
mov dword [ebp - 4], 3
push ebx
push str.IDS_MAINDLG_ERR_WHILE_TRANSFER2
push eax
mov ecx, 0x5b5940
call fcn.00417500
push dword [edi + 4]
or dword [ebp - 4], 0xffffffff
call fcn.00413620
add esp, 0x20
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ed39
push 0x55b650
push str.IDS_MAINDLG_TRANSFER_COMPLETED
lea eax, [ebp - 0x10]
push eax
call fcn.00417500
push dword [eax]
mov dword [ebp - 4], 4
push edi
call fcn.0040ec15
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov ecx, edi
mov dword [edi + 0x48], esi
call fcn.0040ea5f
xor eax, eax
call fcn.0052fbf5
ret 0x10

Function at 0x40f51a
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x410502
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x54a52b
call fcn.0052fc27
push dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.00411658
pop ecx
test eax, eax
je 0x410527
xor edi, edi
inc edi
jmp 0x4105c9
call fcn.00418b84
push eax
lea ecx, [ebp - 0x10]
call fcn.004021f8
push 0
mov ebx, 0x55adbc
mov byte [ebp - 4], 1
push ebx
lea ecx, [ebp + 8]
call fcn.00405cfd
inc eax
lea ecx, [ebp + 8]
push eax
push ebx
call fcn.00405cfd
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4105ac
push edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp + 8]
call fcn.00407561
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402900
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov esi, dword [ebp - 0x10]
push 0
push esi
call ebx
lea eax, [edi + 1]
push eax
push 0x55adbc
lea ecx, [ebp + 8]
call fcn.00405cfd
mov edi, eax
cmp edi, 0xffffffff
jne 0x410561
jmp 0x4105af
mov esi, dword [ebp - 0x10]
push 0
push dword [ebp + 8]
call ebx
push dword [ebp + 8]
call fcn.00411658
pop ecx
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.00409ada
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409ada
mov eax, edi
call fcn.0052fbf5
ret
Function at 0x41066e
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x54a593
call fcn.0052fc5a
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x230], 0
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.0052ea60
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0x55ae2c
call fcn.00402305
and dword [ebp - 4], 0
lea eax, [ebp - 0x218]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4106df
lea eax, [ebp - 0x218]
push eax
jmp 0x4106fb
push 0
push 0
call fcn.004103d9
pop ecx
pop ecx
cmp eax, 0xa
jl 0x4106f6
push str.C:Program_FilesCommon_Files
jmp 0x4106fb
push str.C:WindowsAll_UsersApplication_Data
lea ecx, [ebp - 0x21c]
call fcn.0040a05e
test esi, esi
je 0x410848
test ebx, ebx
je 0x410848
push ecx
mov ecx, esp
mov dword [ebp - 0x228], esp
push 0x55adbc
call fcn.00402305
push ecx
mov ecx, esp
mov dword [ebp - 0x22c], esp
push esi
mov byte [ebp - 4], 1
call fcn.00402305
mov eax, dword [ebp - 0x21c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 2
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
pop ecx
push eax
mov byte [ebp - 4], 0
call fcn.00410061
add esp, 0x10
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call fcn.00402900
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00409ada
push ecx
mov ecx, esp
mov dword [ebp - 0x224], esp
push 0x55adbc
call fcn.00402305
push ecx
mov ecx, esp
mov dword [ebp - 0x22c], esp
push ebx
mov byte [ebp - 4], 4
call fcn.00402305
mov eax, dword [ebp - 0x21c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 5
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
pop ecx
push eax
mov byte [ebp - 4], 0
call fcn.00410061
add esp, 0x10
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call fcn.00402900
mov ecx, dword [ebp - 0x220]
mov byte [ebp - 4], 0
lea ecx, [ecx - 0x10]
call fcn.00409ada
push dword [ebp - 0x21c]
call fcn.00411658
pop ecx
test eax, eax
jne 0x410848
mov eax, dword [ebp - 0x21c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00410502
pop ecx
test eax, eax
jne 0x410848
push edi
call fcn.004115ea
pop ecx
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
jmp 0x4108a5
push 1
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004118dd
push 0x5c
push eax
call fcn.0040ffd5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x220]
mov bl, al
add ecx, 0xfffffff0
call fcn.00409ada
test bl, bl
je 0x410887
push 0x5c
lea ecx, [ebp - 0x21c]
call fcn.0041033b
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.00404ebf
pop ecx
mov ecx, dword [ebp - 0x21c]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov eax, edi
call fcn.0052fc09
ret
Function at 0x410cac
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x54a71c
call fcn.0052fc27
xor ebx, ebx
mov dword [ebp - 0x14], ebx
and dword [ebp - 4], ebx
lea ecx, [ebp + 0x14]
push ebx
push 0x3a
call fcn.004105fd
cmp eax, 0xffffffff
jne 0x410cf8
push 2
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 0x14]
call fcn.00407561
inc ebx
mov ecx, eax
push 0x55d284
mov byte [ebp - 4], bl
mov dword [ebp - 0x14], ebx
call fcn.00404f1e
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x410cfc
mov byte [ebp - 0xd], 0
and dword [ebp - 4], 0
test bl, 1
je 0x410d10
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00409ada
cmp byte [ebp - 0xd], 0
je 0x410d57
lea eax, [ebp - 0x14]
push eax
call fcn.004115ea
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00402ac7
add esp, 0x10
push eax
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 3
call fcn.00402900
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00409ada
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 0x14]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00409ada
mov eax, esi
call fcn.0052fbf5
ret