joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c70d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f8539
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov dword [esp + 8], 0
mov eax, dword [esp + 0x3c]
mov edi, ecx
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea ecx, [esp + 0xc]
lea esi, [edi + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.004c6930
cmp eax, dword [esi + 4]
mov dword [esp + 0x3c], eax
je 0x4c713f
add eax, 0xc
push eax
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.MSVCP71.dll_bool___cdecl_std::operator__wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
test al, al
jne 0x4c713f
lea eax, [esp + 0x3c]
jmp 0x4c714a
mov eax, dword [esi + 4]
mov dword [esp + 8], eax
lea eax, [esp + 8]
mov esi, dword [eax]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
cmp esi, dword [edi + 0x34]
mov eax, dword [esp + 0x38]
mov dword [eax], 0x5008d8
je 0x4c7191
mov ecx, dword [esi + 0x2c]
test ecx, ecx
mov dword [eax + 4], ecx
je 0x4c7198
mov edx, dword [ecx + 4]
inc edx
pop edi
mov dword [ecx + 4], edx
pop esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8

Function at 0x4cadc0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x80c
mov eax, dword [0x54f4a0]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, ebp
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x814], eax
xor eax, eax
cmp word [esi], 0
mov word [esp + 0x10], 0
mov ecx, 0x1ff
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
je 0x4cae45
lea edi, [esp + 0x10]
sub edi, esi
jmp 0x4cae10
mov ax, word [esi]
cmp ax, 0x5c
je 0x4cae1f
cmp ax, 0x2f
jne 0x4cae2f
cmp word [esi - 2], 0x3a
je 0x4cae2f
push 0
lea eax, [esp + 0x14]
push eax
call ebx
mov cx, word [esi]
mov word [edi + esi], cx
add esi, 2
cmp word [esi], 0
mov word [edi + esi], 0
jne 0x4cae10
push 0
lea edx, [esp + 0x14]
push edx
call ebx
mov ecx, dword [esp + 0x814]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e6c56
mov esp, ebp
pop ebp
ret
Function at 0x4cae70
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f8a99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [esi + 0x78]
mov ebx, 8
cmp ecx, ebx
mov dword [esp + 0x30], 0
jb 0x4caeb2
mov ecx, dword [esi + 0x64]
jmp 0x4caeb5
lea ecx, [esi + 0x64]
cmp dword [eax + 0x18], ebx
jb 0x4caebf
mov eax, dword [eax + 4]
jmp 0x4caec2
add eax, 4
push ecx
push eax
call fcn.004cc810
add esp, 8
lea ecx, [esp + 0xc]
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
test edi, edi
jne 0x4caf07
mov dword [esi + 0xc], 0xd
cmp dword [esi + 0x94], ebx
jb 0x4caefd
mov esi, dword [esi + 0x80]
push 0xd
jmp 0x4caf26
add esi, 0x80
push 0xd
jmp 0x4caf26
mov dword [esi + 0xc], 0xe
cmp dword [esi + 0x94], ebx
jb 0x4caf1e
mov esi, dword [esi + 0x80]
jmp 0x4caf24
add esi, 0x80
push 0xe
push esi
call fcn.004c8580
mov ecx, dword [esp + 0x30]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4cb470
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4f8a99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push esi
push edi
lea eax, [esp + 0x24]
push eax
mov esi, ecx
call fcn.004cb3b0
mov edi, eax
mov edx, dword [esi]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x4c], 0
call dword [edx + 0x18]
mov edx, dword [edi + 0x18]
mov ecx, 8
cmp edx, ecx
jb 0x4cb4bd
mov edi, dword [edi + 4]
jmp 0x4cb4c0
add edi, 4
cmp dword [eax + 0x18], ecx
jb 0x4cb4ca
mov eax, dword [eax + 4]
jmp 0x4cb4cd
add eax, 4
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 8]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x40]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret

Function at 0x4cc730
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f8b98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push str.select_tbl_name_from_sqlite_master_where_tbl_name___
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov esi, dword [esi]
mov ecx, dword [esi + 4]
inc ecx
push ecx
mov dword [esi + 4], ecx
mov eax, esp
mov dword [eax], esi
mov ebx, dword [esi + 4]
lea eax, [esp + 0x18]
mov dword [esp + 0xc], esp
inc ebx
push eax
mov dword [esp + 0x14], 0
mov dword [esi + 4], ebx
call fcn.004cc610
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
add esp, 8
dec eax
mov dword [esi + 4], eax
jne 0x4cc7a7
mov ecx, dword [esi]
push ecx
call sub.sqlite3.dll_sqlite3_close
add esp, 4
mov dword [esi], 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esp + 0x40]
push edx
lea ecx, [esp + 0x10]
call fcn.004cc400
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x4cc7d6
mov eax, 1
jmp 0x4cc7df
push esi
call sub.sqlite3.dll_sqlite3_step
add esp, 4
cmp eax, 0x64
sete bl
test esi, esi
je 0x4cc7f2
push esi
call sub.sqlite3.dll_sqlite3_finalize
add esp, 4
mov ecx, dword [esp + 0x30]
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 4

Function at 0x4ccbd0
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
push 0x4cc960
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
je 0x4ccbf6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4cf350
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f9178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80c
mov eax, dword [0x54f4a0]
xor eax, esp
push esi
mov esi, dword [esp + 0x820]
mov dword [esp + 0x80c], eax
push 0x105
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4cf40c
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push 0x51cd1c
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x824], 0
call fcn.00402c1f
add esp, 0xc
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x81c], 1
call dword [0x4fc954]
lea ecx, [esp + 8]
mov byte [esp + 0x818], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
jmp 0x4cf419
push 0x4feb50
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x80c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004e6c56
add esp, 0x818
ret 4

Function at 0x4cfe90
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f931c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
mov eax, dword [0x54f4a0]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x128]
push ebp
mov ebp, dword [esp + 0x138]
push esi
mov esi, dword [esp + 0x134]
push edi
mov edi, dword [esp + 0x13c]
lea ecx, [esp + 0x10]
mov dword [esp + 0x120], eax
mov dword [esp + 0x14], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_9]
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push edi
push esi
mov dword [esp + 0x140], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cff57
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push ebp
push ecx
mov dword [esp + 0x34], 0xff
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4cff57
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push 0x503d1c
push eax
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format_1]
add esp, 0xc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x114]
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004e6c56
add esp, 0x120
ret 0x10
Function at 0x4d19b0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0xdc
mov ecx, dword [esp + 0xe0]
mov eax, dword [0x54f4a0]
xor edx, edx
cmp ecx, edx
mov dword [esp + 0xd8], eax
je 0x4d1a23
mov eax, dword [esp + 0xe4]
cmp eax, edx
je 0x4d1a23
push eax
push ecx
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004d1740
mov ecx, dword [esp + 0xf4]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.004d1800
add esp, 0x14
mov ecx, dword [esp + 0xd8]
call fcn.004e6c56
add esp, 0xdc
ret
Function at 0x4d3a52
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call edi
push 5
push dword [esi + 0x74]
mov byte [esi + 0x12d], 1
call edi
pop edi
xor eax, eax
pop esi
ret 0x10

Function at 0x4d3cef
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4f9580
call fcn.004e6580
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], eax
mov dword [ebp - 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xa
call fcn.004dac39
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4d3ff9
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4f9592
call fcn.004e6580
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.004d3f03
mov eax, dword [esi + 0xd0]
xor edi, edi
sub eax, edi
mov dword [ebp - 4], edi
je 0x4d401c
dec eax
dec eax
je 0x4d402d
dec eax
dec eax
jne 0x4d4040
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xcc]
call fcn.004d96de
pop ecx
pop ecx
push 1
push edi
push edi
push dword [ebp - 0x10]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004a0b80
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4d405d
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4f9592
call fcn.004e6580
push ecx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.004d3f03
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xcc]
call fcn.004d9642
pop ecx
pop ecx
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004a0b80
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x4d4068
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4f9592
call fcn.004e6580
push ecx
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
call fcn.004d3f03
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0xcc]
call fcn.004d9642
pop ecx
pop ecx
push 1
push 0
push 0
push dword [ebp - 0x10]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004a0b80
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4d4760
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
push dword [0x55011c]
mov edi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, ecx
call edi
mov ecx, esi
call fcn.004d464f
push dword [0x550120]
call edi
push 0x2710
push dword [esi + 0xec]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4d47a7
push 0
push dword [esi + 0xec]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xec]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
and dword [esi + 0xec], 0
push 0x550104
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [0x550120]
call edi
push dword [0x55011c]
call edi
pop edi
pop esi
ret

Function at 0x4d5118
Capabilities:
Reference cloudflare dns server

Disassembly:
mov eax, 0x4f96b3
call fcn.004e6580
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x12e], bl
je 0x4d5155
lea ecx, [esi + 0x110]
call fcn.004727cb
test eax, eax
jne 0x4d5155
lea ecx, [esi + 0x100]
call fcn.004727cb
test eax, eax
je 0x4d51ef
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0xe4]
sub eax, ebx
mov byte [ebp - 4], 1
je 0x4d51b4
dec eax
je 0x4d517b
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ebx
call esi
push ebx
jmp 0x4d51ed
lea eax, [ebp - 0x18]
push eax
call fcn.004d453f
mov ecx, eax
add ecx, 0x30
call fcn.004da653
push dword [eax]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004d3519
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.004a0b80
call fcn.004d4ea2
push dword [eax]
jmp 0x4d51c6
push str.XLRMFClean
lea ecx, [ebp - 0x14]
call fcn.004d3519
push str.1.0.0.1
lea ecx, [ebp - 0x10]
call fcn.004d3519
push dword [ebp - 0x10]
lea ecx, [esi + 0x134]
push dword [ebp - 0x14]
call fcn.004d8f07
push dword [ebp - 0x10]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x14]
call esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4d5236
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x4f96c5
call fcn.004e6580
push ecx
push edi
mov edi, ecx
call fcn.004d464f
mov eax, dword [edi + 0xd0]
sub eax, 0
je 0x4d525c
dec eax
dec eax
je 0x4d52bd
dec eax
dec eax
jne 0x4d52a5
and dword [ebp - 0x10], 0
push esi
and dword [ebp - 4], 0
call fcn.004d453f
add eax, 0x1c
mov eax, dword [eax]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
call dword [ecx + 0x78]
lea esi, [edi + 0xe0]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d5293
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
test eax, eax
pop esi
je 0x4d52a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, edi
call fcn.004d3473
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
leave
ret 0x10
push 0
push 0x51f4e0
push 0x51f4e8
call fcn.004d4ea2
push dword [eax + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4d52a5
Function at 0x4d5a0c
Capabilities:
Check if file exists
Reference cloudflare dns server

Disassembly:
mov eax, 0x4f972b
call fcn.004e6580
sub esp, 0x29c
mov eax, dword [0x54f4a0]
push ebx
push edi
xor eax, ebp
mov edi, ecx
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x10], eax
call fcn.004d3f03
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x29c]
push eax
push ebx
mov dword [ebp - 4], ebx
call fcn.004d9be5
add esp, 0x10
push dword [ebp - 0x29c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d5b6f
push dword [ebp - 0x29c]
call fcn.004d453f
mov ecx, eax
add ecx, 0x30
call fcn.004dab9e
test al, al
je 0x4d5b6f
push 0x80
lea eax, [ebp - 0x90]
push ebx
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x40
push eax
call fcn.004d453f
mov ecx, eax
add ecx, 0x30
call fcn.004da303
test eax, eax
jne 0x4d5acd
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x4d5acd
call fcn.004d4ea2
lea ecx, [ebp - 0x90]
push ecx
jmp 0x4d5ad7
call fcn.004d4ea2
push str.1.0.0.1
mov ecx, eax
call fcn.004d4629
lea ecx, [ebp - 0x2a8]
call fcn.004d3fb7
lea eax, [ebp - 0x2a8]
push eax
mov byte [ebp - 4], 1
call fcn.004d453f
mov ecx, eax
add ecx, 0x30
call fcn.004da4a7
push ebx
push ebx
lea eax, [ebp - 0x2a8]
push eax
push ebx
call fcn.004d9cc4
add esp, 0x10
call fcn.004d4ea2
lea ecx, [ebp - 0x2a8]
add eax, 0x10
push ecx
mov ecx, eax
call fcn.004d45dc
push str..._skin_normal.ico
push dword [ebp - 0x2a0]
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10
push 0x30
push 0x30
push 1
lea eax, [ebp - 0x298]
push eax
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
lea ecx, [edi + 0x60]
call fcn.004d35dc
lea ecx, [ebp - 0x2a8]
call fcn.004d3fd3
mov bl, 1
mov ecx, dword [ebp - 0x29c]
add ecx, 0xfffffff0
call fcn.004a0b80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004e6c56
leave
ret

Function at 0x4d5fd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
push 1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 4]
call edi
mov ecx, esi
call fcn.004d464f
push 5
push dword [esi + 0x74]
mov byte [esi + 0x12d], 1
call edi
lea edi, [esi + 0xcc]
push dword [edi]
mov ecx, esi
call fcn.004d5cc1
mov eax, dword [edi]
lea ecx, [esi + 0x120]
lea edx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ecx + 4]
push edx
push eax
call fcn.004d4112
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x4d60a6
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
mov eax, 0x4f9767
call fcn.004e6580
sub esp, 0x68
push ebx
xor ebx, ebx
inc ebx
push esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], ebx
call fcn.004d3f03
xor esi, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], esi
call fcn.004d3f03
lea ecx, [ebp - 0x14]
call fcn.004d3f03
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 2
call fcn.004d9be5
add esp, 0x10
cmp dword [ebp - 0x20], esi
jne 0x4d6100
mov esi, ebx
jmp 0x4d61ad
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4d60f9
push edi
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x10]
call fcn.004021ce
push 0x4ffaac
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00402e53
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00402e53
push 0x50a868
lea ecx, [ebp - 0x10]
call fcn.00402e53
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.00402e53
push 0x10
pop ecx
xor eax, eax
mov dword [ebp - 0x74], 0x44
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x10
lea eax, [ebp - 0x30]
push esi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x74]
push eax
push esi
push esi
push 4
push ebx
push esi
push esi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
pop edi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004a0b80
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004a0b80
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004a0b80
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x4d630e
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
mov eax, 0x4f980a
call fcn.004e6580
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0x51f438
mov dword [esi], 0x51f764
mov dword [esi + 0x20], 0x51f754
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x60], edi
lea ecx, [esi + 0x68]
call fcn.004d3f03
lea ecx, [esi + 0x70]
call fcn.004d42fd
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 3
call fcn.004d44c4
lea ecx, [esi + 0xcc]
call fcn.004d3f70
lea ecx, [esi + 0xf0]
call fcn.004d40ba
lea ecx, [esi + 0xfc]
call fcn.004d3f03
lea eax, [esi + 0x100]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x110]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 9
call fcn.004603d4
lea ecx, [esi + 0x130]
call fcn.004d3f03
lea ecx, [esi + 0x134]
mov byte [ebp - 4], 0xb
call fcn.004d902c
lea ecx, [esi + 0x184]
call fcn.004d3f03
lea ecx, [esi + 0x188]
call fcn.004d3f03
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret