joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481140
Capabilities:
Create udp socket

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x48117a
mov edx, dword [esp + 0x18]
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push edx
call dword [eax + 0x28]
mov edi, eax
test edi, edi
je 0x481173
push 1
mov ecx, esi
call fcn.00481220
mov eax, edi
pop edi
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
push 0
push eax
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esi + 4]
push eax
mov dword [ecx + 4], eax
mov ecx, dword [esi + 4]
call fcn.00465650
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push edx
call fcn.00466470
test eax, eax
jne 0x4811b1
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esi + 4]
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4811e6
mov edx, dword [ecx + 8]
push 0x3f
add edx, 0x402
push edx
call fcn.00466640
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WS2_32.dll_WSAAsyncSelect]
test eax, eax
je 0x4811e6
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 4]
push 0x10
push eax
call fcn.004655f0
test eax, eax
jne 0x481201
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 8]
mov edi, 1
mov ecx, esi
push edi
call fcn.00481220
mov eax, edi
pop edi
pop esi
ret 0x10
Function at 0x486a00
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
xor eax, eax
mov esi, dword [ecx + 0x4b7b50]
xor edx, edx
mov dx, word [eax + 0x4b7b4e]
sub eax, 2
shr esi, 8
add edx, esi
mov dword [ecx + 0x51ae04], edx
add ecx, 4
cmp eax, 0xfffffe00
jg 0x486a05
pop esi
ret

Function at 0x486a30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov al, byte [0x51b205]
test al, al
jne 0x486a45
mov byte [0x51b205], 1
call fcn.00486a00
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, 0xfffffffe
test esi, esi
jbe 0x486a77
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x4b7b50]
xor eax, edx
inc ecx
dec esi
jne 0x486a58
pop ebx
pop esi
ret

Function at 0x486a80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b4dce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00465210
xor edi, edi
mov dword [esi + 0x2c], 0x4b78e8
mov dword [esp + 0x14], edi
mov al, byte [esp + 0x1c]
mov dword [esi + 0x30], 0x4b7744
mov dword [esi + 0x34], edi
mov byte [esi + 0x68], al
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov cl, byte [esp + 0x1c]
push 0x1c
mov byte [esp + 0x18], 2
mov byte [esi + 0xac], cl
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov edx, dword [esp + 0x20]
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0xb0], eax
lea ecx, [esi + 0x44]
mov dword [esi + 0xb4], edi
xor eax, eax
mov dword [esi], 0x4b7f9c
mov dword [esi + 0x2c], 0x4b7f68
mov dword [esi + 0x30], 0x4b7f58
mov dword [esi + 0x38], edx
mov dword [esi + 0x3c], edi
mov word [esi + 0x40], di
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x90], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x58], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x488ca0
Capabilities:
Get outbound credentials handle via credssp

Disassembly:
sub esp, 0x81c
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x58]
lea ebx, [esi + 0x58]
test eax, eax
jne 0x488cbc
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x488ccc
push ebx
call dword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov ecx, ebx
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov ecx, 7
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
mov dword [esp + 0x14], ecx
je 0x488cee
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x2c]
test eax, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
je 0x488d04
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x488d1a
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0x50]
test eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], 1
jne 0x488d32
mov eax, ecx
lea edi, [esi + 0x60]
lea ecx, [esp + 0xc]
push edi
push ebx
push 0
push 0
push ecx
push 0
push 2
push eax
push 0
call sub.Secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x488d5c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x81c
ret
lea ecx, [esi + 0x70]
lea eax, [esi + 0x7c]
lea edx, [esp + 0x28]
mov dword [esi + 0x74], 1
mov dword [ecx], 0
mov dword [esi + 0x78], eax
mov dword [eax], 0x800
mov dword [esi + 0x80], 2
mov dword [esi + 0x84], edx
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x488d98
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esi + 0x88]
push edi
push edx
add esi, 0x68
push ecx
push esi
push 0
push 0
push 0
push 0
push 0x10
push eax
push 0
push ebx
call sub.Secur32.dll_InitializeSecurityContextA
xor ecx, ecx
pop edi
test eax, eax
setge cl
pop esi
mov eax, ecx
pop ebx
add esp, 0x81c
ret
Function at 0x4898c0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x150
push ebx
push esi
mov esi, dword [esp + 0x168]
cmp esi, 0x40
jle 0x489917
lea eax, [esp + 0xfc]
push eax
call fcn.004acc40
mov ecx, dword [esp + 0x168]
push esi
lea edx, [esp + 0x104]
push ecx
push edx
call fcn.004ac800
lea eax, [esp + 0x10c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004acb00
add esp, 0x18
lea ebx, [esp + 8]
mov esi, 0x10
jmp 0x48991e
mov ebx, dword [esp + 0x164]
push edi
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0xbc]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x78]
push esi
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov edi, dword [sym.imp.MSVCRT.dll_memmove]
lea edx, [esp + 0xc0]
push ebx
push edx
call edi
push esi
lea eax, [esp + 0x88]
push ebx
push eax
call edi
add esp, 0x18
xor eax, eax
pop edi
mov cl, byte [esp + eax + 0xb8]
mov bl, byte [esp + eax + 0x74]
xor cl, 0x36
xor bl, 0x5c
mov byte [esp + eax + 0xb8], cl
mov byte [esp + eax + 0x74], bl
inc eax
cmp eax, 0x40
jl 0x489962
lea ecx, [esp + 0x18]
push ecx
call fcn.004acc40
lea edx, [esp + 0xbc]
push 0x40
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004ac800
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x16c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004ac800
mov esi, dword [esp + 0x188]
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004acb00
lea edx, [esp + 0x3c]
push edx
call fcn.004acc40
lea eax, [esp + 0x9c]
push 0x40
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004ac800
push 0x10
lea edx, [esp + 0x50]
push esi
push edx
call fcn.004ac800
add esp, 0x40
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004acb00
add esp, 8
pop esi
pop ebx
add esp, 0x150
ret

Function at 0x48a710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5039
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [str.HTTP_]
mov dl, byte [esp + 0x30]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
mov cx, word [0x4d39e0]
xor eax, eax
push edi
mov word [esp + 0x14], cx
mov dword [esp + 0xc], eax
mov byte [esp + 0x18], dl
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
cmp edi, 9
jae 0x48a77d
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
mov ebx, dword [esp + 0x38]
lea eax, [esp + 0x10]
push 5
push eax
push ebx
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x48a7ac
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esi + 0x10]
lea edx, [esi + 0xc]
push ecx
add esi, 8
push edx
lea eax, [esp + 0x14]
push esi
push eax
push 1
push edi
push ebx
call fcn.0048a7e0
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x48f150
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 0x48f162
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.0048f7a0
add esp, 4
test eax, eax
je 0x48f26c
cmp dword [esi + 0x58], 0xffffffff
jne 0x48f1da
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x48f185
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 0x48f1da
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 0x4d8db8
call fcn.0045c870
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 0x48f22a
call ebx
test eax, eax
je 0x48f22a
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 0x4d8db8
call fcn.0045c870
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.004a7920
xor ecx, ecx
add eax, edi
adc edx, ecx
test edx, edx
jg 0x48f270
jl 0x48f24a
test eax, eax
jae 0x48f270
mov edx, dword [esi + 0x60]
push edx
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetSize__file_size_is_too_huge
push 0x4d8db8
call fcn.0045c870
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 0x48f280
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x58]
cmp eax, 0xffffffff
je 0x48f299
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x58], 0xffffffff
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x48f2a6
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 0x48f4f0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
jne 0x48f528
mov eax, dword [esi + 0x60]
push eax
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__parameter_pBuffer_can_not_be_NULL
push 0x4d8db8
call fcn.0045c870
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 0x48f55b
mov ecx, dword [esi + 0x60]
push ecx
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__parameter_nNumber_must_greater_than_zero
push 0x4d8db8
call fcn.0045c870
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 0x48f5bf
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x48f56d
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 0x48f5bf
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 0x4d8db8
call fcn.0045c870
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 0x48f601
mov eax, dword [esp + 0x14]
test eax, eax
je 0x48f601
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 0x4d8db8
call fcn.0045c870
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 0x48f640
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 0x48f652
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.0048f7a0
add esp, 4
test eax, eax
je 0x48f761
cmp dword [esi + 0x5c], 0xffffffff
jne 0x48f6ca
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x48f675
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 0x48f6ca
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 0x4d8db8
call fcn.0045c870
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 0x48f71a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x48f71a
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 0x4d8db8
call fcn.0045c870
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.004a7920
xor ecx, ecx
add eax, edi
adc edx, ecx
test edx, edx
jg 0x48f765
jl 0x48f73a
test eax, eax
jae 0x48f765
mov edx, dword [esi + 0x60]
push edx
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetTorrentSize__file_size_is_too_huge
push 0x4d8db8
call fcn.0045c870
add esp, 0xc
mov ecx, esi
call fcn.0048f640
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 0x498e40
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.00498d40
xor edi, edi
cmp eax, edi
jne 0x498f8d
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x498f8b
cmp dword [esi + 0x5d90], eax
jb 0x498f8b
or ebp, 0xffffffff
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0x5d88]
mov ebx, dword [eax]
cmp ebx, eax
je 0x498f48
mov edx, dword [0x4d8d30]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x498efc
push 0xa
lea ecx, [edi + 8]
call fcn.0045f010
cmp ebp, 0xffffffff
mov esi, eax
jne 0x498ec1
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 0x498f8b
cmp dword [esp + 0x10], esi
jbe 0x498ee8
mov ebp, dword [edi + 0xb0]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x14], esi
jae 0x498ef2
mov dword [esp + 0x14], esi
mov edx, dword [0x4d8d30]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
cmp ecx, edx
je 0x498f15
mov eax, dword [ecx]
cmp eax, edx
je 0x498f11
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x498f09
mov ebx, ecx
jmp 0x498f2e
mov eax, dword [ebx + 4]
cmp ebx, dword [eax + 8]
jne 0x498f27
mov ebx, eax
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 8]
je 0x498f1d
cmp dword [ebx + 8], eax
je 0x498f2e
mov ebx, eax
cmp ebx, dword [esi + 0x5d88]
jne 0x498e9b
cmp dword [esp + 0x10], 0x7800
ja 0x498f8b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
cmp edi, ecx
jbe 0x498f8b
mov edx, edi
sub edx, eax
cmp edx, 0x3c00
jbe 0x498f8b
push edi
push eax
mov eax, dword [esi + 0x5ca0]
push ebp
push eax
push str.__d._3d__Rate___u_MaxRate___u___
push 0x4d8db8
call fcn.0045c790
add esp, 0x18
mov ecx, esi
push ebp
call fcn.0049a940
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 0x499160
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 0x4992a4
mov eax, dword [esi + 0x5d48]
test eax, eax
je 0x4992a4
mov ecx, dword [esi + 0x5da0]
mov edx, dword [esi + 0x5d90]
mov eax, dword [esi + 0xc]
lea edi, [edx + ecx]
cmp edi, eax
jae 0x49921b
sub eax, edx
sub eax, ecx
mov ecx, dword [0x4d9020]
cmp eax, ecx
jbe 0x4991ab
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 0x4991e1
call ebx
mov edx, eax
mov eax, dword [0x4d9024]
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 0x4992a4
cmp edi, 0xffffffff
je 0x49920f
call ebx
mov ecx, eax
mov eax, dword [0x4d9024]
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 0x49920f
call ebx
mov dword [esi + 0x5d68], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
cmp eax, 1
je 0x4992a4
cmp ecx, 1
ja 0x4992a4
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 0x499263
call ebx
mov ecx, eax
mov eax, dword [0x4d9024]
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 0x4992a4
cmp edi, 0xffffffff
je 0x499298
call ebx
mov ecx, eax
mov eax, dword [esi + 0x5d68]
sub ecx, eax
mov eax, dword [0x4d9024]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x499298
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 0x49a170
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.0049a940
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x49a1af
mov eax, dword [edi + 0x5ca0]
push ebx
push eax
push str.__d._3d__OnNotifyHttpData_cid_not_find
push 0x4d8db8
call fcn.0045c790
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.0046e4d0
test eax, eax
jne 0x49a1d0
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14
mov edx, dword [edi + 0x5ca8]
mov eax, dword [esp + 0xc]
cmp edx, eax
jne 0x49a1ec
mov eax, dword [edi + 0x5cac]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x49a1f7
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 0x14
mov ebx, dword [esp + 0x24]
push ebp
push 1
push ebx
lea ecx, [edi + 0x5cb0]
call fcn.0045ee70
push 1
push ebx
lea ecx, [esi + 8]
call fcn.0045ee70
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 0x49a259
call ebp
sub eax, dword [edi + 0x5d64]
mov dword [edi + 0x5d60], eax
mov ecx, dword [esi + 0xb4]
push ebx
push ecx
lea ecx, [edi + 0x14]
call fcn.004a1fc0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x14
Function at 0x49a880
Capabilities:
Check for time delay via gettickcount

Disassembly:
add ecx, 0x14
jmp 0x4a20e0
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x24]
test eax, eax
jbe 0x4a2146
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea esi, [ebp + 0x58]
cmp dword [esi + 0xc], 1
jne 0x4a2138
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 0x4a2138
call edi
mov dword [esi], eax
mov dword [esi + 0xc], 0
mov eax, dword [esi - 0x1c]
test eax, eax
jne 0x4a2130
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.004a0300
mov eax, dword [ebp + 0x24]
inc ebx
add esi, 0x5c0
cmp ebx, eax
jb 0x4a20f8
mov ecx, dword [ebp + 0x5c2c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4a21b9
mov esi, 2
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x1c], esi
jne 0x4a2173
mov edx, dword [ecx + 0x18]
test edx, edx
lea edi, [edx - 1]
mov dword [ecx + 0x18], edi
jg 0x4a2173
mov dword [ecx + 0x1c], 0
mov word [ecx + 0xe], 0
mov ecx, dword [eax + 8]
mov edx, dword [0x51b210]
cmp ecx, edx
je 0x4a2198
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
je 0x4a21b1
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x4a218e
jmp 0x4a21b1
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x4a21aa
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x4a21a0
cmp dword [eax + 8], ecx
je 0x4a21b1
mov eax, ecx
cmp eax, dword [ebp + 0x5c2c]
jne 0x4a2157
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret