joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48bb80
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x48bb92
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call fcn.0048c1d0
add esp, 4
test eax, eax
je 0x48bc9c
cmp dword [esi + 0x58], 0xffffffff
jne 0x48bc0a
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x48bbb5
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0
push 0x80
push 4
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x58], eax
jne 0x48bc0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esi + 0x60]
push eax
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetMemSize__open_file_fail__error_code_is__d
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
mov dword [esi + 0x50], 0x7e2f
mov dword [esi + 0x54], 0x1b4
xor eax, eax
pop edi
pop esi
xor edx, edx
pop ebx
pop ecx
ret
mov edx, dword [esi + 0x58]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48bc5a
call ebx
test eax, eax
je 0x48bc5a
call ebx
push eax
mov eax, dword [esi + 0x60]
push eax
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetSize__get_file_size_fail_call_GetFileSize___error_code_is__d
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
call ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x1bd
pop edi
xor eax, eax
pop esi
xor edx, edx
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0xc]
push 1
push 0
push 0
push ecx
call fcn.004a2d30
xor ecx, ecx
add eax, edi
adc edx, ecx
test edx, edx
jg 0x48bca0
jl 0x48bc7a
test eax, eax
jae 0x48bca0
mov edx, dword [esi + 0x60]
push edx
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetSize__file_size_is_too_huge
push 0x4d35d0
call fcn.0045ef50
add esp, 0xc
call ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x1c5
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x48bcb0
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x48bcc9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x58], 0xffffffff
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48bcd6
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
ret
Function at 0x48bf20
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
jne 0x48bf58
mov eax, dword [esi + 0x60]
push eax
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__parameter_pBuffer_can_not_be_NULL
push 0x4d35d0
call fcn.0045ef50
add esp, 0xc
mov eax, 0x7e2d
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x21b
pop edi
pop esi
pop ebx
ret 8
mov edi, dword [esp + 0x14]
test edi, edi
jg 0x48bf8b
mov ecx, dword [esi + 0x60]
push ecx
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__parameter_nNumber_must_greater_than_zero
push 0x4d35d0
call fcn.0045ef50
add esp, 0xc
mov eax, 0x7e2e
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x221
pop edi
pop esi
pop ebx
ret 8
cmp dword [esi + 0x5c], 0xffffffff
jne 0x48bfef
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x48bf9d
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0
push 0x80
push 2
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x5c], eax
jne 0x48bfef
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov edx, dword [esi + 0x60]
push eax
push edx
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__open_file_fail__error_code_is__d
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
call edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x22c
pop edi
pop esi
pop ebx
ret 8
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 0x5c]
lea edx, [esp + 0x14]
push 0
push edx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48c031
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48c031
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ecx, dword [esi + 0x60]
push eax
push ecx
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__read_from_file_fail_call_WriteFile___error_code_is__d
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
call edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x237
pop edi
pop esi
pop ebx
ret 8
Function at 0x48c070
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x48c082
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call fcn.0048c1d0
add esp, 4
test eax, eax
je 0x48c191
cmp dword [esi + 0x5c], 0xffffffff
jne 0x48c0fa
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x48c0a5
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push 0
push 0x80
push 4
push 0
push 5
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 0x5c], eax
jne 0x48c0fa
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
mov eax, dword [esi + 0x60]
push eax
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetTorrentSize__open_file_fail__error_code_is__d
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
call edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x247
pop edi
xor eax, eax
pop esi
xor edx, edx
pop ebx
pop ecx
ret
mov edx, dword [esi + 0x5c]
lea ecx, [esp + 0xc]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x48c14a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x48c14a
call ebx
push eax
mov eax, dword [esi + 0x60]
push eax
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetTorrentSize__get_file_size_fail_call_GetFileSize___error_code_is__d
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
call ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x250
pop edi
xor eax, eax
pop esi
xor edx, edx
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0xc]
push 1
push 0
push 0
push ecx
call fcn.004a2d30
xor ecx, ecx
add eax, edi
adc edx, ecx
test edx, edx
jg 0x48c195
jl 0x48c16a
test eax, eax
jae 0x48c195
mov edx, dword [esi + 0x60]
push edx
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetTorrentSize__file_size_is_too_huge
push 0x4d35d0
call fcn.0045ef50
add esp, 0xc
mov ecx, esi
call fcn.0048c070
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x258
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x495700
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.00495600
xor edi, edi
cmp eax, edi
jne 0x49584d
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x49584b
cmp dword [esi + 0x5d94], eax
jb 0x49584b
or ebp, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x5d8c]
mov ebx, dword [eax]
cmp ebx, eax
je 0x495808
mov edx, dword [0x4d3548]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4957bc
push 0xa
lea ecx, [edi + 8]
call fcn.00461640
cmp ebp, 0xffffffff
mov esi, eax
jne 0x495781
mov ebp, dword [edi + 0xb0]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0x98]
cmp eax, 0x2710
jb 0x49584b
cmp dword [esp + 0x10], esi
jbe 0x4957a8
mov ebp, dword [edi + 0xb0]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x14], esi
jae 0x4957b2
mov dword [esp + 0x14], esi
mov edx, dword [0x4d3548]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
cmp ecx, edx
je 0x4957d5
mov eax, dword [ecx]
cmp eax, edx
je 0x4957d1
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x4957c9
mov ebx, ecx
jmp 0x4957ee
mov eax, dword [ebx + 4]
cmp ebx, dword [eax + 8]
jne 0x4957e7
mov ebx, eax
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 8]
je 0x4957dd
cmp dword [ebx + 8], eax
je 0x4957ee
mov ebx, eax
cmp ebx, dword [esi + 0x5d8c]
jne 0x49575b
cmp dword [esp + 0x10], 0x7800
ja 0x49584b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
cmp edi, ecx
jbe 0x49584b
mov edx, edi
sub edx, eax
cmp edx, 0x3c00
jbe 0x49584b
push edi
push eax
mov eax, dword [esi + 0x5ca0]
push ebp
push eax
push str.__d._3d__Rate___u_MaxRate___u___
push 0x4d35d0
call fcn.0045ee70
add esp, 0x18
mov ecx, esi
push ebp
call fcn.00497230
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x495a20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x5d40], 4
jne 0x495b64
mov eax, dword [esi + 0x5d48]
test eax, eax
je 0x495b64
mov ecx, dword [esi + 0x5da4]
mov edx, dword [esi + 0x5d94]
mov eax, dword [esi + 0xc]
lea edi, [edx + ecx]
cmp edi, eax
jae 0x495adb
sub eax, edx
sub eax, ecx
mov ecx, dword [0x4d3788]
cmp eax, ecx
jbe 0x495a6b
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ecx], eax
mov edi, dword [esi + 0x5d68]
cmp edi, 0xffffffff
je 0x495aa1
call ebx
mov edx, eax
mov eax, dword [0x4d378c]
sub edx, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cmp edx, eax
jb 0x495b64
cmp edi, 0xffffffff
je 0x495acf
call ebx
mov ecx, eax
mov eax, dword [0x4d378c]
mov ebp, dword [esi + 0x5d68]
lea eax, [eax + eax*4]
sub ecx, ebp
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x495acf
call ebx
mov dword [esi + 0x5d68], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
cmp eax, 1
je 0x495b64
cmp ecx, 1
ja 0x495b64
mov ebp, dword [esp + 0x14]
mov eax, 1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ecx
mov dword [ebp], eax
mov edi, dword [esi + 0x5d68]
cmp edi, 0xffffffff
je 0x495b23
call ebx
mov ecx, eax
mov eax, dword [0x4d378c]
sub ecx, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x495b64
cmp edi, 0xffffffff
je 0x495b58
call ebx
mov ecx, eax
mov eax, dword [esi + 0x5d68]
sub ecx, eax
mov eax, dword [0x4d378c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x495b58
call ebx
mov dword [esi + 0x5d68], eax
mov dword [ebp], 1
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x496a30
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push esi
push edi
mov edi, ecx
push ebx
call fcn.00497230
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x496a6f
mov eax, dword [edi + 0x5ca0]
push ebx
push eax
push str.__d._3d__OnNotifyHttpData_cid_not_find
push 0x4d35d0
call fcn.0045ee70
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ecx
mov ecx, dword [esi]
call fcn.00471320
test eax, eax
jne 0x496aac
mov edx, dword [edi + 0x5ca0]
push ebx
push edx
push str.__d._3d__ContentLength_not_find
push 0x4d35d0
call fcn.0045ee70
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
mov eax, dword [edi + 0x5ca8]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jne 0x496ac8
mov ecx, dword [edi + 0x5cac]
mov eax, dword [esp + 0x10]
cmp ecx, eax
je 0x496aed
mov edx, dword [edi + 0x5ca0]
push ebx
push edx
push str.__d._3d__FileLen_not_matching
push 0x4d35d0
call fcn.0045ee70
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
mov ebx, dword [esp + 0x24]
push ebp
push 1
push ebx
lea ecx, [edi + 0x5cb0]
call fcn.004614a0
push 1
push ebx
lea ecx, [esi + 8]
call fcn.004614a0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edx, dword [esi + 0xd0]
mov dword [esi + 0x9c], eax
add edx, ebx
mov dword [esi + 0xd0], edx
mov ecx, dword [esi + 0xd4]
adc ecx, 0
mov dword [esi + 0xd4], ecx
mov eax, dword [edi + 0x5d60]
cmp eax, 0xffffffff
jne 0x496b4f
call ebp
sub eax, dword [edi + 0x5d64]
mov dword [edi + 0x5d60], eax
mov eax, dword [esi + 0xb4]
push ebx
push eax
lea ecx, [edi + 0x14]
call fcn.0049e460
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x14
Function at 0x497170
Capabilities:
Check for time delay via gettickcount

Disassembly:
add ecx, 0x14
jmp 0x49e580
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x24]
test eax, eax
jbe 0x49e5e6
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea esi, [ebp + 0x58]
cmp dword [esi + 0xc], 1
jne 0x49e5d8
call edi
mov edx, dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0x18]
sub ecx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jbe 0x49e5d8
call edi
mov dword [esi], eax
mov dword [esi + 0xc], 0
mov eax, dword [esi - 0x1c]
test eax, eax
jne 0x49e5d0
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
mov ecx, ebp
call fcn.0049c7a0
mov eax, dword [ebp + 0x24]
inc ebx
add esi, 0x5c0
cmp ebx, eax
jb 0x49e598
mov ecx, dword [ebp + 0x5c2c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x49e659
mov esi, 2
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x1c], esi
jne 0x49e613
mov edx, dword [ecx + 0x18]
test edx, edx
lea edi, [edx - 1]
mov dword [ecx + 0x18], edi
jg 0x49e613
mov dword [ecx + 0x1c], 0
mov word [ecx + 0xe], 0
mov ecx, dword [eax + 8]
mov edx, dword [0x516170]
cmp ecx, edx
je 0x49e638
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
je 0x49e651
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x49e62e
jmp 0x49e651
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x49e64a
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x49e640
cmp dword [eax + 8], ecx
je 0x49e651
mov eax, ecx
cmp eax, dword [ebp + 0x5c2c]
jne 0x49e5f7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4984a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov esi, ecx
push ebx
call fcn.00497230
mov edi, eax
test edi, edi
jne 0x4984df
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push 0x4d0b14
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ecx, dword [edi + 0x98]
sub eax, ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [edi]
mov dword [edi + 0xa4], eax
call fcn.00471320
cmp eax, 1
jne 0x49852c
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x498585
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x5ca8], eax
mov dword [esi + 0x5cac], ecx
mov edx, dword [edi + 0xc0]
mov ecx, dword [edi + 0xc4]
lea eax, [edi + 0xc0]
or edx, ecx
je 0x49860a
mov eax, dword [esi + 0x5ca0]
push ebx
push eax
push str.__d._3d__HTTP
push 0x4d35d0
call fcn.0045ef50
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x5d74], 0
mov dword [esi + 0xc], 1
push ebx
call fcn.00497350
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
mov edx, dword [esp + 0x10]
cmp edx, eax
jne 0x498595
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x49852c
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x4985a4
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [edi + 0xb4]
push eax
push ecx
call fcn.0045eb40
mov edx, dword [esi + 0x5cac]
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0x5ca8]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x5ca0]
push ecx
push edx
push ebx
push eax
push 0x4d0a5c
push 0x4d35d0
call fcn.0045ef50
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.0049de10
push ebx
mov ecx, esi
call fcn.00497350
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x498621
call ebp
sub eax, dword [esi + 0x5d64]
mov dword [esi + 0x5d5c], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
Function at 0x498630
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
mov esi, ecx
push ebx
call fcn.00497230
mov edi, eax
test edi, edi
jne 0x498653
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov ecx, dword [edi + 0x98]
sub eax, ecx
mov ecx, dword [edi]
mov dword [edi + 0xa4], eax
lea eax, [esp + 0x10]
push eax
call fcn.00471320
cmp eax, 1
jne 0x4986a9
mov eax, dword [esi + 0x5ca8]
mov ecx, dword [esi + 0x5cac]
mov edx, eax
or edx, ecx
jne 0x4986cf
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x5ca8], eax
mov dword [esi + 0x5cac], ecx
push ecx
push eax
mov ecx, esi
call fcn.00498430
cmp dword [esi + 0x5d5c], 0xffffffff
jne 0x4986c0
call ebp
sub eax, dword [esi + 0x5d64]
mov dword [esi + 0x5d5c], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 8
mov edx, dword [esp + 0x10]
cmp edx, eax
jne 0x4986df
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x4986a9
mov eax, dword [edi + 0xdc]
test eax, eax
jne 0x4986ee
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [edi + 0xb4]
push eax
push ecx
call fcn.0045eb40
mov edx, dword [esi + 0x5cac]
mov ecx, dword [esp + 0x1c]
add esp, 4
push eax
mov eax, dword [esi + 0x5ca8]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esi + 0x5ca0]
push ecx
push edx
push ebx
push eax
push str.__d._3d_
push 0x4d35d0
call fcn.0045ef50
mov ecx, dword [edi + 0xb4]
add esp, 0x28
push ecx
lea ecx, [esi + 0x14]
call fcn.0049de10
push ebx
mov ecx, esi
call fcn.00497350
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 8
Function at 0x498810
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4aeeb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
push esi
push edi
mov edi, dword [esp + 0x48]
xor ebx, ebx
mov esi, ecx
push edi
mov byte [esp + 0x18], al
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea ecx, [esp + 0x14]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov cl, byte [esp + 0x14]
push ebx
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
mov dword [esp + 0x44], ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::npos]
lea ecx, [esp + 0x14]
mov eax, dword [edx]
push eax
push ebx
push ecx
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x24]
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esi + 0x5d78]
mov byte [esp + 0x48], 1
call fcn.00499e90
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x4988d5
mov al, byte [ecx - 1]
cmp al, bl
je 0x4988c9
cmp al, 0xff
je 0x4988c9
dec al
mov byte [ecx - 1], al
jmp 0x4988d5
add ecx, 0xfffffffe
push ecx
call fcn.00442ac0
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ebx
cmp ecx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x498919
mov al, byte [ecx - 1]
cmp al, bl
je 0x49890d
cmp al, 0xff
je 0x49890d
dec al
pop edi
pop esi
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8
add ecx, 0xfffffffe
push ecx
call fcn.00442ac0
add esp, 4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8