joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b283
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b1cda
call fcn.0049f0d0
sub esp, 0x2a0
mov eax, dword [0x4f0dd0]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov esi, ecx
mov eax, dword [esi + 0x20]
push str.silence.ini
push eax
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xf
pop ecx
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x50], bx
lea edi, [ebp - 0x4e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x258]
push eax
push 0x20
lea eax, [ebp - 0x50]
push eax
push str.00_00_00
push str.LastDate
push 0x4c3344
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x274]
push eax
call fcn.0045d1e6
push str._Y__m__d
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x274]
call fcn.0046b20b
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x25c]
mov dword [ebp - 4], ebx
call dword [sym.imp.MSVCR71.dll_wcscmp]
test eax, eax
pop ecx
pop ecx
jle 0x46b3c5
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x260], ebx
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 1
call fcn.0044203d
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x2ac]
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__]
push str.http:__media.info.client.xunlei.com_silence.ini
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x290]
push eax
push ebx
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 3
call fcn.004a23af
lea ecx, [ebp - 0x290]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 1
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, [ebp - 0x26c]
mov byte [ebp - 4], bl
call fcn.00442010
mov ecx, dword [ebp - 0x25c]
add ecx, 0xfffffff0
call fcn.004014d5
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret
Function at 0x46e7c9
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4b203f
call fcn.0049f0d0
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
leave
ret
Function at 0x47037b
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b235f
call fcn.0049f0d0
sub esp, 0x4c
mov eax, dword [0x4f0dd0]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
xor ebx, ebx
lea ecx, [esi + 0xcc]
push eax
mov dword [ebp - 4], ebx
call fcn.0046d0f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0xd0]
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jne 0x4703dc
xor al, al
jmp 0x4704c7
push edi
mov edi, dword [ecx + 0x28]
mov ecx, edi
call fcn.00425612
cmp eax, 2
jne 0x4703fe
push str.default_package_cant_be_delete_
call fcn.0044f0cd
pop ecx
xor al, al
jmp 0x4704c6
mov ecx, esi
call fcn.0046f5bb
inc dword [esi + 0x22c]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004850c2
test eax, eax
mov dword [ebp - 0x38], eax
jbe 0x47045e
push ebx
mov ecx, edi
call fcn.004850cd
cmp eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jne 0x47043b
push 0x4c6a64
mov ecx, esi
call fcn.0046fd05
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.00485795
push eax
lea ecx, [esi + 0x17c]
call fcn.00480f3f
push dword [ebp - 0x34]
mov ecx, esi
call fcn.0046ecb2
inc ebx
cmp ebx, dword [ebp - 0x38]
jb 0x47041c
mov ecx, edi
call fcn.00485075
push eax
lea ecx, [ebp - 0x2c]
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__]
push dword [ebp - 0x30]
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0xcc]
mov dword [ebp - 4], 1
call fcn.0046dfc1
test edi, edi
je 0x47049a
mov ecx, edi
call fcn.004853fc
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
cmp byte [ebp + 0xc], 0
je 0x4704b0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0046ec5f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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 al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 8
Function at 0x470396
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b235f
call fcn.0049f0d0
sub esp, 0x4c
mov eax, dword [0x4f0dd0]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
xor ebx, ebx
lea ecx, [esi + 0xcc]
push eax
mov dword [ebp - 4], ebx
call fcn.0046d0f0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0xd0]
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jne 0x4703dc
xor al, al
jmp 0x4704c7
push edi
mov edi, dword [ecx + 0x28]
mov ecx, edi
call fcn.00425612
cmp eax, 2
jne 0x4703fe
push str.default_package_cant_be_delete_
call fcn.0044f0cd
pop ecx
xor al, al
jmp 0x4704c6
mov ecx, esi
call fcn.0046f5bb
inc dword [esi + 0x22c]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004850c2
test eax, eax
mov dword [ebp - 0x38], eax
jbe 0x47045e
push ebx
mov ecx, edi
call fcn.004850cd
cmp eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jne 0x47043b
push 0x4c6a64
mov ecx, esi
call fcn.0046fd05
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.00485795
push eax
lea ecx, [esi + 0x17c]
call fcn.00480f3f
push dword [ebp - 0x34]
mov ecx, esi
call fcn.0046ecb2
inc ebx
cmp ebx, dword [ebp - 0x38]
jb 0x47041c
mov ecx, edi
call fcn.00485075
push eax
lea ecx, [ebp - 0x2c]
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__]
push dword [ebp - 0x30]
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0xcc]
mov dword [ebp - 4], 1
call fcn.0046dfc1
test edi, edi
je 0x47049a
mov ecx, edi
call fcn.004853fc
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
cmp byte [ebp + 0xc], 0
je 0x4704b0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.0046ec5f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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 al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 8
Function at 0x471173
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x4b2474
call fcn.0049f0d0
sub esp, 0x228
mov eax, dword [0x4f0dd0]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
je 0x4711c7
push esi
call fcn.00481274
test al, al
pop ecx
jne 0x4711ce
push 0
push 0
push esi
mov ecx, ebx
call fcn.0046f814
test eax, eax
je 0x4711c7
mov ecx, eax
call fcn.00485795
push eax
mov ecx, ebx
call fcn.0046fd05
jmp 0x4712be
xor al, al
jmp 0x4712be
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
jne 0x4711e3
xor al, al
jmp 0x4712bd
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
push edi
call fcn.0043c3a1
add esp, 0xc
push edi
mov ecx, ebx
call fcn.0046c8cd
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x471267
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.0046d829
test eax, eax
je 0x47124f
mov bl, 1
jmp 0x4712ab
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.0046ef43
mov bl, al
jmp 0x4712ab
push 0
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4712a9
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.0046ef43
test al, al
je 0x4712a9
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.0046ff4c
jmp 0x471263
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 4
Function at 0x471f9b
Capabilities:
Create thread

Disassembly:
mov eax, 0x4b25a2
call fcn.0049f0d0
push ecx
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push ebx
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], eax
mov dword [esi], vtable.HttpDownloader.0
mov dword [ebp - 4], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 1
call fcn.004120f5
push edi
push ecx
mov eax, esp
mov dword [ebp - 0x10], esp
push edi
push Ordinal_1
push edi
push ecx
lea ebx, [esi + 0x50]
mov dword [ebx], edi
mov dword [eax], edi
mov eax, esp
mov dword [ebp - 0x10], esp
push 0xfffffffffffffffd
mov ecx, esi
mov dword [eax], edi
call fcn.004716db
push edi
push edi
push 1
push edi
mov ecx, ebx
call fcn.004713ea
lea eax, [ebp - 0x14]
push eax
push edi
push esi
push 0x471f8f
push edi
push edi
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x473830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b2648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x4f0dd0]
xor eax, esp
push ebx
push esi
mov esi, dword [esp + 0x44]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esi]
push edi
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x10], ecx
lea ebx, [esi + 0xc]
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [edi]
mov dword [esi], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
lea esi, [edi + 0xc]
push esi
mov ecx, ebx
mov dword [esp + 0x44], 0
call dword [0x4b743c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi], eax
lea eax, [esp + 0x18]
mov dword [edi + 4], ecx
push eax
mov ecx, esi
mov dword [edi + 8], edx
call dword [0x4b743c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 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 + 0x38]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c]
pop ebx
xor ecx, esp
call fcn.0049f127
add esp, 0x38
ret
Function at 0x473960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b2668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x4f0dd0]
xor eax, esp
push ebx
push esi
mov dword [esp + 8], eax
push edi
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
lea eax, [ecx - 1]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
cmp ebx, ecx
mov dword [esp + 0x18], 0
jge 0x4739f3
push ebp
jmp 0x4739b0
mov ebp, dword [esp + 0x30]
lea eax, [esi + esi*4]
mov edx, dword [edi + eax*8]
cmp edx, ebp
lea eax, [edi + eax*8]
jb 0x4739f2
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
add eax, 0xc
mov dword [ecx + 8], edx
push eax
add ecx, 0xc
call dword [0x4b743c]
lea eax, [esi - 1]
cdq
sub eax, edx
mov ecx, esi
sar eax, 1
cmp ebx, ecx
mov esi, eax
jl 0x4739b0
pop ebp
mov edx, dword [esp + 0x30]
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x2c]
lea eax, [edi + eax*8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
lea edx, [esp + 0x38]
mov dword [eax + 8], ecx
push edx
lea ecx, [eax + 0xc]
call dword [0x4b743c]
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 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 + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 4]
pop ebx
xor ecx, esp
call fcn.0049f127
add esp, 0x10
ret
Function at 0x473f70
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b2668
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4f0dd0]
xor eax, esp
push ebx
push ebp
push esi
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x2c]
lea esi, [edi + edi + 2]
cmp esi, ebp
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], edi
jge 0x474005
jmp 0x473fc0
lea eax, [esi + esi*4]
mov ecx, dword [ebx + eax*8]
mov edx, dword [ebx + eax*8 - 0x28]
cmp ecx, edx
lea eax, [ebx + eax*8]
jb 0x473fd2
dec esi
lea edx, [esi + esi*4]
lea eax, [ebx + edx*8]
mov edx, dword [eax]
lea ecx, [edi + edi*4]
lea ecx, [ebx + ecx*8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
add eax, 0xc
mov dword [ecx + 8], edx
push eax
add ecx, 0xc
call dword [0x4b743c]
mov edi, esi
lea esi, [esi + esi + 2]
cmp esi, ebp
jl 0x473fc0
jne 0x474037
lea eax, [ebp + ebp*4]
mov edx, dword [ebx + eax*8 - 0x28]
lea eax, [ebx + eax*8 - 0x28]
lea ecx, [edi + edi*4]
lea ecx, [ebx + ecx*8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
add eax, 0xc
mov dword [ecx + 8], edx
push eax
add ecx, 0xc
call dword [0x4b743c]
lea edi, [ebp - 1]
mov ecx, dword [esp + 0x38]
sub esp, 0x28
mov eax, esp
mov dword [eax], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x6c]
mov dword [esp + 0x3c], esp
mov dword [eax + 8], ecx
push edx
lea ecx, [eax + 0xc]
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov eax, dword [esp + 0x38]
push eax
push edi
push ebx
call fcn.00473960
add esp, 0x34
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], 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 + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10]
pop ebp
pop ebx
xor ecx, esp
call fcn.0049f127
add esp, 0x18
ret
Function at 0x4773d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2a59
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
push edi
mov edi, dword [esp + 0x7c]
test edi, edi
mov esi, ecx
je 0x4774ce
push edi
lea ecx, [esp + 0x14]
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 eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
mov dword [esp + 0x7c], 0
call fcn.00476d20
lea ecx, [esp + 0x10]
mov dword [esp + 0x74], 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 eax, dword [esi + 4]
cmp dword [esp + 0x7c], eax
jne 0x4774ce
mov edx, dword [esp + 0x80]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push edi
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 eax, [esp + 0x6c]
push eax
call fcn.00476bb0
add esp, 0x24
mov edi, eax
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 1
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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 2
call fcn.00476fd0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 1
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 + 0x4c]
mov dword [esp + 0x74], 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_]
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x70
ret 8
mov ecx, dword [esp + 0x6c]
pop edi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop esi
add esp, 0x70
ret 8
Function at 0x478070
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b2ae0
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
push edi
mov edi, dword [esp + 0x7c]
test edi, edi
mov esi, ecx
je 0x47815e
push edi
lea ecx, [esp + 0x14]
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 eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x80]
push ecx
mov ecx, esi
call fcn.004779c0
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__::destructor_void_]
mov eax, dword [esi + 4]
cmp dword [esp + 0x7c], eax
jne 0x47815e
mov edx, dword [esp + 0x80]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x9c], esp
push edi
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 eax, [esp + 0x6c]
push eax
call fcn.00476bb0
add esp, 0x24
mov edi, eax
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x78], 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__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, dword [edi + 0x1c]
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x7c], 1
call fcn.00477c50
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 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_]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x74], 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_]
xor eax, eax
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x70
ret 8
mov ecx, dword [esp + 0x6c]
pop edi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop esi
add esp, 0x70
ret 8