joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001080
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 8
mov esi, ecx
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
test eax, eax
je 0x100010c8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [eax], ecx
lea ecx, [esp + 4]
push ecx
push 0
push eax
push section..text
push 0
mov dword [eax + 4], edx
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x100010cf
xor eax, eax
pop esi
pop ecx
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
pop ecx
ret 8

Function at 0x10001530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
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__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
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 ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x100015b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a663
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov esi, dword [esp + 0x34]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
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 ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x10001630
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x126c
call fcn.10015980
mov eax, dword [0x1003b270]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
xor ebx, ebx
cmp esi, ebx
mov dword [esp + 0x1270], eax
push edi
mov dword [esp + 0x18], esi
je 0x10001788
push esi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
cmp eax, 4
mov dword [esp + 0x14], eax
jl 0x10001788
xor eax, eax
mov dword [esp + 0x20], ebx
mov ecx, 0x93
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x100016c2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [esp + 0x20]
shr eax, 4
and eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1268]
xor ecx, ebp
call fcn.1001590b
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], 0
jle 0x1000176a
lea ecx, [esp + 0x270]
mov eax, esi
sub ecx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov cx, word [eax]
cmp cx, 0x5c
je 0x100016ef
cmp cx, 0x2f
jne 0x10001756
cmp ebx, 2
jl 0x10001756
cmp word [eax - 2], 0x3a
je 0x10001756
lea ecx, [ebx + ebx]
mov edx, ecx
shr ecx, 2
lea edi, [esp + 0x270]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
mov word [ecx + eax], 0
push edx
lea eax, [esp + 0x274]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x10001747
push 0
lea ecx, [esp + 0x274]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x1000174e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ebx, 1
add eax, 2
cmp ebx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x100016e0
lea edx, [esp + 0x20]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x1000179f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100017a6
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1268]
xor ecx, ebp
call fcn.1001590b
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x1274]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.1001590b
mov esp, ebp
pop ebp
ret
Function at 0x10001de0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a679
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_9]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71U.DLL_CDockContext::Stretch]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_7]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x10002a60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1002a6f2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov edi, ecx
push 0x1002d578
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x1002d7ec
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
mov eax, dword [edi + 0x68]
mov esi, dword [eax]
add esp, 0x10
cmp esi, eax
je 0x10002b28
lea esp, [esp]
push 0x1002d578
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ecx
push eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x34]
push 0x1002d7ec
push eax
mov byte [esp + 0x30], 1
mov dword [esp + 0x24], ecx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Format]
add esp, 0x10
push 0
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::Find]
test eax, eax
je 0x10002b47
mov esi, dword [esi]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
cmp esi, dword [edi + 0x68]
jne 0x10002ac0
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
lea ecx, [edi + 0x58]
call fcn.100023c0
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
add esi, 0x18
mov ecx, 0x16
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x18]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x10005f50
Capabilities:
Access peb ldr_data
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x1002a844
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
lea eax, [esp + 8]
push edi
push eax
mov esi, ecx
call fcn.10008fc0
push str.Login
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x30], 0
call fcn.10001de0
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10005fc8
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call fcn.10001630
add esp, 4
push str.userlist2.dat
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.10003430
test eax, eax
jne 0x1000604e
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
lea eax, [esp + 0x14]
push eax
call fcn.10008fc0
push str.Loginuserlist.dat
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x30], 3
call fcn.10001de0
add esp, 0x10
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 4
call dword [0x1002d128]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 2
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.100031e0
mov edi, eax
jmp 0x10006053
mov edi, 1
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov dword [esi + 0x88], 1
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0x18]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x10006090
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1002a86a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov ebx, ecx
lea eax, [ebx + 0x70]
push edi
push eax
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [esp + 0x28]
xor edx, edx
cmp byte [ebp + 0x34], dl
mov dword [esp + 0x20], edx
je 0x10006119
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax]
cmp ecx, eax
je 0x10006119
cmp byte [ecx + 0x71], dl
mov byte [ecx + 0x4c], dl
jne 0x10006114
mov eax, dword [ecx + 8]
cmp byte [eax + 0x71], dl
jne 0x100060fb
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x71], dl
jne 0x10006114
lea ecx, [ecx]
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x71], dl
je 0x100060f0
jmp 0x10006114
mov eax, dword [ecx + 4]
cmp byte [eax + 0x71], dl
jne 0x10006112
cmp ecx, dword [eax + 8]
jne 0x10006112
mov ecx, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x71], dl
je 0x10006103
mov ecx, eax
cmp ecx, dword [ebx + 0x5c]
jne 0x100060d4
push ebp
lea ecx, [ebx + 0x58]
call fcn.10003040
mov edi, eax
mov ecx, 0x16
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx]
cmp eax, ecx
je 0x10006178
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
lea esp, [esp]
mov esi, dword [eax + 8]
cmp esi, ecx
jne 0x1000614e
mov esi, dword [eax + 0xc]
cmp esi, edx
je 0x10006157
mov eax, dword [eax]
cmp eax, dword [ebx + 0x68]
jne 0x10006140
jmp 0x10006178
cmp eax, dword [ebx + 0x68]
je 0x10006178
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push eax
mov dword [ecx + 4], edx
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
add dword [ebx + 0x6c], 0xffffffff
mov eax, dword [ebx + 0x68]
mov edi, dword [eax]
mov eax, dword [edi + 4]
lea esi, [ebx + 0x64]
push ebp
push eax
push edi
mov ecx, esi
call fcn.100021b0
push 1
mov ecx, esi
mov ebp, eax
call fcn.100021e0
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [ebx + 8], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x28]
push eax
mov dword [ebx + 0xc], edx
call fcn.10008fc0
push str.Loginuserlist2.dat
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x30], 1
call fcn.10001de0
add esp, 0x10
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 3
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea edx, [esp + 0x10]
push edx
mov ecx, ebx
call fcn.10004a30
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x10006af0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002a920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esp
push esi
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10008a90
lea eax, [esi + 4]
push eax
mov ecx, edi
call fcn.10008b30
push 0x15
lea ecx, [esi + 6]
push ecx
mov ecx, edi
call fcn.10008d50
push 0x15
lea edx, [esi + 0x30]
push edx
mov ecx, edi
call fcn.10008d50
lea eax, [esi + 0x5c]
push eax
mov ecx, edi
call fcn.10008a90
lea ecx, [esi + 0x60]
push ecx
mov ecx, edi
call fcn.10008ae0
lea edx, [esi + 0x62]
push edx
mov ecx, edi
call fcn.10008b30
push 0x41
lea eax, [esi + 0x64]
push eax
mov ecx, edi
call fcn.10008d50
push 0x41
lea ecx, [esi + 0xe6]
push ecx
mov ecx, edi
call fcn.10008d50
push 0x41
lea edx, [esi + 0x168]
push edx
mov ecx, edi
call fcn.10008d50
push 0x21
lea eax, [esi + 0x1ea]
push eax
mov ecx, edi
call fcn.10008be0
lea ecx, [esi + 0x20b]
push ecx
mov ecx, edi
call fcn.10008ae0
lea edx, [esi + 0x210]
push edx
mov ecx, edi
call fcn.10008b80
lea eax, [esi + 0x218]
push eax
mov ecx, edi
call fcn.10008a90
push 0x21
push 0x20
lea ecx, [esi + 0x21c]
push ecx
mov ecx, edi
call fcn.10008ce0
push 0x21
push 0x20
lea edx, [esi + 0x23d]
push edx
mov ecx, edi
call fcn.10008ce0
lea eax, [esi + 0x260]
push eax
mov ecx, edi
call fcn.10008b80
push 7
lea ecx, [esi + 0x268]
push ecx
mov ecx, edi
call fcn.10008d50
push 0x60
push 0x5f
add esi, 0x276
push esi
mov ecx, edi
call fcn.10008ce0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10007fa0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x1003b270]
xor eax, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x198], eax
push edi
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, 0xc8
lea edi, [esi + 0x10]
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x3a4]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea ecx, [esi + 0x3a8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esi + 0x3b8]
mov byte [esi + 0x3ac], bl
mov dword [esi + 0x3b0], ebx
mov dword [esi + 0x3b4], ebx
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea eax, [esp + 0xc]
push eax
push 0x202
mov dword [esi + 0x3bc], ebx
mov dword [esi + 0x3c0], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x19c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.1001590b
add esp, 0x194
ret
Function at 0x10008180
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, ecx
push ebx
mov dword [edi + 0x330], 0xffffffff
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x10008236
push ebp
xor cl, cl
push esi
mov esi, dword [eax + 0xc]
movzx edx, cl
mov esi, dword [esi + edx*4]
test esi, esi
je 0x100081c3
mov esi, dword [esi]
add cl, 1
cmp cl, 0xa
mov dword [edi + edx*4 + 0x378], esi
jb 0x100081a5
mov eax, dword [esp + 0x14]
mov edx, edi
sub edx, ebx
mov dword [edi + 0x330], eax
mov eax, ebx
lea esi, [edx + 0x334]
lea esp, [esp]
mov dl, byte [eax]
mov byte [esi + eax], dl
add eax, 1
test dl, dl
jne 0x100081e0
push 0
mov byte [edi + 0x3a0], cl
call dword [sym.imp.MSVCR71.dll_time]
push eax
call dword [sym.imp.MSVCR71.dll_srand]
mov ebx, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCR71.dll_rand]
add esp, 8
xor esi, esi
call ebp
movzx ecx, byte [edi + 0x3a0]
cdq
idiv ecx
mov eax, dword [edi + edx*4 + 0x378]
cmp eax, ebx
jne 0x1000822f
add esi, 1
cmp esi, 0xa
jl 0x10008210
pop esi
pop ebp
pop edi
pop ebx
ret 0xc
pop edi
xor eax, eax
pop ebx
ret 0xc

Function at 0x10008850
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1002ac1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0x3a4]
mov dword [esp + 0x14], 2
call dword [0x1002d128]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esi + 0x3a8]
call dword [0x1002d13c]
mov dl, byte [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov byte [esi + 0x3ac], dl
lea edx, [esp + 0x2c]
mov dword [esi + 0x3b4], ecx
push edx
lea ecx, [esi + 0x3b8]
mov dword [esi + 0x3b0], eax
call dword [0x1002d128]
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x10008270
push 0
push 0
mov dword [esi + 0x3c0], 0
mov word [esi + 0x18], 0xff
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 4], eax
pop esi
lea ecx, [esp + 0x14]
jne 0x10008922
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
xor eax, eax
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x10008fc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1002ac39
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x1003b270]
xor eax, esp
push esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], eax
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
lea eax, [esp + 8]
push eax
push 5
push 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
push 0x104
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_CRecordset::GetBoundParamIndex]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_CDC::ReleaseAttribDC]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push str.GGPlayer_Files
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator]
lea eax, [esp + 4]
push eax
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]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1001590b
add esp, 0x18
ret
Function at 0x10009090
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x4c
mov eax, dword [0x1003b270]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x60]
push ebp
mov ebp, dword [esp + 0x60]
push edi
mov edi, dword [esp + 0x5c]
test edi, edi
mov dword [esp + 0x54], eax
je 0x100091fc
test ebp, ebp
je 0x100091fc
mov al, 0x98
mov byte [esp + 0x15], al
mov byte [esp + 0x1b], al
xor eax, eax
mov dword [esp + 0x31], eax
mov dword [esp + 0x35], eax
mov dword [esp + 0x39], eax
mov dword [esp + 0x3d], eax
mov dword [esp + 0x41], eax
mov dword [esp + 0x45], eax
mov dword [esp + 0x49], eax
mov byte [esp + 0x10], 0xa
mov byte [esp + 0x11], 0x3d
mov byte [esp + 0x12], 0xdb
mov byte [esp + 0x13], 0
mov byte [esp + 0x14], 0x13
mov byte [esp + 0x16], 0x47
mov byte [esp + 0x17], 0x57
mov byte [esp + 0x18], 0x9c
mov byte [esp + 0x19], 1
mov byte [esp + 0x1a], 0x84
mov byte [esp + 0x1c], 0x70
mov byte [esp + 0x1d], 0xb0
mov byte [esp + 0x1e], 0x5e
mov byte [esp + 0x1f], 0x2e
mov byte [esp + 0x20], 0x7c
mov byte [esp + 0x21], 0x32
mov byte [esp + 0x22], 0xdd
mov byte [esp + 0x23], 0xe3
mov byte [esp + 0x24], 0x9d
mov byte [esp + 0x25], 7
mov byte [esp + 0x26], 0x4e
mov byte [esp + 0x27], 0x3a
mov byte [esp + 0x28], 0xa5
mov byte [esp + 0x29], 0x97
mov byte [esp + 0x2a], 0x5d
mov byte [esp + 0x2b], 0xc6
mov byte [esp + 0x2c], 0x4c
mov byte [esp + 0x2d], 0xd
mov byte [esp + 0x2e], 0x83
mov byte [esp + 0x2f], 0x11
mov byte [esp + 0x30], 0
mov dword [esp + 0x4d], eax
mov ecx, 0x20
lea esp, [esp]
movzx edx, byte [esp + eax + 0x10]
mov dl, byte [edx + str.http:__vas._s_interface_chathall_buy.htmlhttp:__vas._s_interface_chathall_buy.html_uid_I64dmcheck_snickname_shttp:__www0._s_interface_chathall_buy_aristocrat_vip.html_oemid_duid_I64dmcheck_snickname_shttp:__vip.17guagua.com]
mov byte [esp + eax + 0x30], dl
add eax, 1
sub ecx, 1
jne 0x10009190
push esi
xor esi, esi
call fcn.10016550
test eax, eax
mov dword [esp + 0x10], eax
je 0x100091e7
mov edx, dword [eax]
push 0x20
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call dword [edx + 4]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push ebx
push ebp
push eax
push edi
push 1
call dword [edx + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
call fcn.10015ec0
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1001590b
add esp, 0x4c
ret
mov ecx, dword [esp + 0x54]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.1001590b
add esp, 0x4c
ret