joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ae32d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100ae365
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.100ac3d2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100ac3aa
jmp 0x100ae371
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x100afb29
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100afb6b
call fcn.100b5e72
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100afb6b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x100afb62
xor eax, eax
jmp 0x100afb73
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100afb79
pop edi
pop esi
pop ebx
ret 4
Function at 0x40e080
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e03b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x4b4d40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CEventLoop.0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00436ea0
mov dword [ebp - 4], 0
cmp dword [0x4b4d9c], 0
jne 0x40e0d3
mov ecx, dword [ebp - 0x10]
mov dword [0x4b4d9c], ecx
mov edx, dword [ebp - 0x10]
mov byte [edx + 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0042e340
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0x10]
fldz
fstp dword [ecx + 0x28]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x30], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x31], 0
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

Function at 0x4158f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
movzx ecx, byte [eax + 0x10]
test ecx, ecx
je 0x4159ac
mov edx, dword [ebp + 0x14]
cmp dword [edx + 4], 0
jne 0x415913
xor eax, eax
jmp 0x4159c8
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add eax, dword [ecx + 8]
mov edx, dword [ebp + 0x14]
cmp eax, dword [edx]
jbe 0x415968
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax]
sub edx, dword [ecx + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 8]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
jmp 0x4159c8
mov edx, dword [ebp + 0xc]
imul edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x14]
add ecx, dword [edx + 8]
push ecx
mov eax, dword [ebp + 8]
push eax
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
add ecx, dword [edx + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
jmp 0x4159c8
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov esp, ebp
pop ebp
ret

Function at 0x415bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push eax
push 1
push 4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
je 0x415bdb
mov edx, dword [ebp + 8]
mov dword [edx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x415c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
pop ebp
ret

Function at 0x415c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
pop ebp
ret
Function at 0x416610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49e179
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4b4d40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x12c
call fcn.00416a20
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x10], 0
jne 0x4166b4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x10c
call fcn.00416a20
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x10], 0
je 0x416725
push 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x100]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x100]
push eax
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x104]
push edx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x100]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x104]
push eax
push 1
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x104]
mov dword [edx], ecx
mov eax, dword [ebp - 0x14]
jmp 0x416727
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4560d0
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x324], ecx
push 0xe35
movsx eax, word [ebp + 8]
imul eax, eax, 0xe35
mov ecx, dword [ebp - 0x324]
lea edx, [ecx + eax + 0x14]
push edx
movsx eax, word [ebp + 0xc]
imul eax, eax, 0xe35
mov ecx, dword [ebp - 0x324]
lea edx, [ecx + eax + 0x14]
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
push 0xe35
push 0
movsx eax, word [ebp + 8]
imul eax, eax, 0xe35
mov ecx, dword [ebp - 0x324]
lea edx, [ecx + eax + 0x14]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a5958
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x4b4dd0
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
movsx eax, word [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x4a5974
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
movsx eax, word [ebp + 0xc]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x4a5984
lea edx, [ebp - 0x320]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00461530
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x4561f0
lea edx, [ebp - 0x320]
push edx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.MSVCR90.dll_rename]
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret 8

Function at 0x456200
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
push 0xe35
push 0
mov eax, dword [ebp - 0x21c]
movzx ecx, byte [eax + 4]
imul ecx, ecx, 0xe35
mov edx, dword [ebp - 0x21c]
lea eax, [edx + ecx + 0x14]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a5994
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x4b4dd0
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
mov ecx, dword [ebp - 0x21c]
movzx edx, byte [ecx + 4]
push edx
lea eax, [ebp - 0x110]
push eax
push 0x4a59b0
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push 0
lea edx, [ebp - 0x218]
push edx
call fcn.00461530
add esp, 8
movzx eax, al
test eax, eax
je 0x4562cd
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.MSVCR90.dll_remove]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret
Function at 0x4562e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push 0
push 0x1a
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a59c0
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x4b4dd0
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
lea eax, [ebp - 0x110]
push eax
push 0x4a59dc
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push 0x4a59ec
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x456376
jmp 0x4563a1
mov eax, dword [ebp - 0x114]
push eax
push 0x10
mov ecx, dword [ebp - 0x224]
add ecx, 4
push ecx
call fcn.00415c30
add esp, 0xc
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret
Function at 0x4563b0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push 0
push 0x1a
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a59f0
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x4b4dd0
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
lea eax, [ebp - 0x110]
push eax
push str._soptions.ggi
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push 0
lea edx, [ebp - 0x220]
push edx
call fcn.00461530
add esp, 8
movzx eax, al
test eax, eax
jne 0x4564c5
push 0
push 0x1a
lea ecx, [ebp - 0x110]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a5a1c
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
mov byte [ebp + eax - 0x111], 0
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
push 0x4a5a38
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x4b4dd0
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push 0
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
jmp 0x456596
push 0x4a5a3c
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4564ee
jmp 0x456596
mov eax, dword [ebp - 0x114]
push eax
push 0x10
mov ecx, dword [ebp - 0x224]
add ecx, 4
push ecx
call fcn.00415c50
add esp, 0xc
cmp eax, 1
jne 0x456520
mov ecx, dword [ebp - 0x224]
call fcn.004556a0
movzx edx, al
test edx, edx
je 0x456586
push 0x10
push 0
mov eax, dword [ebp - 0x224]
add eax, 4
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x224]
mov byte [ecx + 4], 0
mov edx, dword [ebp - 0x224]
mov byte [edx + 5], 7
mov eax, dword [ebp - 0x224]
mov byte [eax + 6], 7
mov ecx, dword [ebp - 0x224]
mov byte [ecx + 0xc], 7
mov edx, dword [ebp - 0x224]
mov byte [edx + 0xd], 7
mov eax, dword [ebp - 0x224]
mov byte [eax + 7], 1
mov ecx, dword [ebp - 0x224]
mov byte [ecx + 9], 1
mov edx, dword [ebp - 0x224]
mov byte [edx + 8], 5
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret
Function at 0x4565b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
mov eax, dword [ebp - 0x224]
movzx ecx, byte [eax + 4]
imul ecx, ecx, 0xe35
mov edx, dword [ebp - 0x224]
lea eax, [edx + ecx + 0x14]
push eax
call sub.MSVCR90.dll_strlen
add esp, 4
test eax, eax
jne 0x4565f5
jmp 0x456711
mov ecx, dword [0x4b509c]
fld dword [ecx + 8]
call fcn.0049cc60
mov edx, dword [ebp - 0x224]
movzx ecx, byte [edx + 4]
imul ecx, ecx, 0xe35
mov edx, dword [ebp - 0x224]
mov byte [edx + ecx + 0x3f7], al
mov eax, dword [0x4b509c]
fld dword [eax + 4]
call fcn.0049cc60
mov ecx, dword [ebp - 0x224]
movzx edx, byte [ecx + 4]
imul edx, edx, 0xe35
mov ecx, dword [ebp - 0x224]
mov byte [ecx + edx + 0x3f8], al
push 0
push 0x1a
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a5a40
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x4b4dd0
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
mov edx, dword [ebp - 0x224]
movzx eax, byte [edx + 4]
push eax
lea ecx, [ebp - 0x110]
push ecx
push 0x4a5a5c
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push 0x4a5a6c
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4566d2
jmp 0x456711
mov ecx, dword [ebp - 0x114]
push ecx
push 0xe35
mov edx, dword [ebp - 0x224]
movzx eax, byte [edx + 4]
imul eax, eax, 0xe35
mov ecx, dword [ebp - 0x224]
lea edx, [ecx + eax + 0x14]
push edx
call fcn.00415c30
add esp, 0xc
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret
Function at 0x456860
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x224], ecx
push 0
push 0x1a
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a5aa0
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR90.dll_strcat
add esp, 8
push 0x4b4dd0
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR90.dll_strcat
add esp, 8
mov eax, dword [ebp - 0x224]
movzx ecx, byte [eax + 4]
push ecx
lea edx, [ebp - 0x110]
push edx
push str._s_slot_d.ggi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push 0x4a5acc
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x456909
mov eax, 1
jmp 0x456a29
mov edx, dword [ebp - 0x114]
push edx
push 0xe35
mov eax, dword [ebp - 0x224]
movzx ecx, byte [eax + 4]
imul ecx, ecx, 0xe35
mov edx, dword [ebp - 0x224]
lea eax, [edx + ecx + 0x14]
push eax
call fcn.00415c50
add esp, 0xc
cmp eax, 1
jne 0x456965
mov ecx, dword [ebp - 0x224]
call fcn.00455760
movzx ecx, al
test ecx, ecx
jne 0x456965
mov edx, dword [ebp - 0x114]
push edx
call fcn.00415cd0
add esp, 4
cmp eax, 0xe35
je 0x4569a9
push 0xe35
push 0
mov eax, dword [ebp - 0x224]
movzx ecx, byte [eax + 4]
imul ecx, ecx, 0xe35
mov edx, dword [ebp - 0x224]
lea eax, [edx + ecx + 0x14]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov eax, 2
jmp 0x456a29
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
cmp dword [0x4b509c], 0
je 0x456a27
mov eax, dword [ebp - 0x224]
movzx ecx, byte [eax + 4]
imul ecx, ecx, 0xe35
mov edx, dword [ebp - 0x224]
movzx eax, byte [edx + ecx + 0x3f7]
mov dword [ebp - 0x228], eax
fild dword [ebp - 0x228]
mov ecx, dword [0x4b509c]
fstp dword [ecx + 8]
mov edx, dword [ebp - 0x224]
movzx eax, byte [edx + 4]
imul eax, eax, 0xe35
mov ecx, dword [ebp - 0x224]
movzx edx, byte [ecx + eax + 0x3f8]
mov dword [ebp - 0x22c], edx
fild dword [ebp - 0x22c]
mov eax, dword [0x4b509c]
fstp dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret
Function at 0x470540
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push str.wallpapers_s
lea ecx, [ebp - 0x320]
push ecx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0xc
push 0
push 5
lea edx, [ebp - 0x110]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
push str._s_s
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x10
push 0
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x320]
push ecx
call dword [sym.imp.kernel32.dll_CopyFileA]
test eax, eax
je 0x4705cc
push 1
lea edx, [ebp - 0x218]
push edx
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret

Function at 0x4705e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4b4d40]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x4a73f0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR90.dll_fopen]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47064e
mov ecx, dword [ebp - 4]
push ecx
push 0x100
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCR90.dll_fgets]
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
push 0xa
push 0
push 0
lea ecx, [ebp - 0x108]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0049cb8e
mov esp, ebp
pop ebp
ret
Function at 0x477940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x11]
test ecx, ecx
je 0x47797b
mov edx, dword [ebp - 4]
mov byte [edx + 0x11], 0
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x110]
push ecx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x110]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00461530
add esp, 8
movzx edx, al
test edx, edx
je 0x477a40
push 0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
lea ecx, [eax + edx + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool_]
push 0x40
push 0x21
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 0x14
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::open_char_const___int__int_]
mov ecx, dword [ebp - 4]
add ecx, 0x14
call dword [sym.imp.MSVCP90.dll_public:_bool___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::is_open_void_const]
movzx edx, al
test edx, edx
je 0x477a40
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
push 0
push 0x476f70
call dword [sym.imp.MSVCR90.dll__beginthread]
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x110], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x110], 0
jne 0x477a17
xor al, al
jmp 0x477a42
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x11]
test edx, edx
je 0x477a3a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x224], 0
je 0x477a3a
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x228], 0
jne 0x477a3c
jmp 0x477a17
mov al, 1
jmp 0x477a42
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x49cb8e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b4d40]
jne 0x49cb98
repz ret
jmp fcn.0049d273
Function at 0x4efb20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xf8
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x78]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 0x20]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + 0x1c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], 0
jmp 0x4efb8c
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
cmp eax, dword [edx + 0x18]
jae 0x4efbd3
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0053c7ae
add esp, 8
test eax, eax
jne 0x4efbd1
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x4efbd5
jmp 0x4efb83
xor eax, eax
mov esp, ebp
pop ebp
ret