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

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x47836a
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 0x478363
push 1
mov ecx, esi
call fcn.00478410
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.0045c840
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push edx
call fcn.0045d660
test eax, eax
jne 0x4783a1
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 0x4783d6
mov edx, dword [ecx + 8]
push 0x3f
add edx, 0x402
push edx
call fcn.0045d830
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 0x4783d6
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.0045c7e0
test eax, eax
jne 0x4783f1
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
call dword [edx + 8]
mov edi, 1
mov ecx, esi
push edi
call fcn.00478410
mov eax, edi
pop edi
pop esi
ret 0x10
Function at 0x47dbf0
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
xor eax, eax
mov esi, dword [ecx + 0x4b0808]
xor edx, edx
mov dx, word [eax + 0x4b0806]
sub eax, 2
shr esi, 8
add edx, esi
mov dword [ecx + 0x513094], edx
add ecx, 4
cmp eax, 0xfffffe00
jg 0x47dbf5
pop esi
ret

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

Disassembly:
mov al, byte [0x513495]
test al, al
jne 0x47dc35
mov byte [0x513495], 1
call fcn.0047dbf0
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, 0xfffffffe
test esi, esi
jbe 0x47dc67
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 + 0x4b0808]
xor eax, edx
inc ecx
dec esi
jne 0x47dc48
pop ebx
pop esi
ret

Function at 0x47dc70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae02e
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.0045c400
xor edi, edi
mov dword [esi + 0x2c], 0x4b05a0
mov dword [esp + 0x14], edi
mov al, byte [esp + 0x1c]
mov dword [esi + 0x30], 0x4b03fc
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], 0x4b0c54
mov dword [esi + 0x2c], 0x4b0c20
mov dword [esi + 0x30], 0x4b0c10
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 0x47fe90
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 0x47feac
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x47febc
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 0x47fede
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 0x47fef4
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 0x47ff0a
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 0x47ff22
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 0x47ff4c
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 0x47ff88
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 0x480ab0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x150
push ebx
push esi
mov esi, dword [esp + 0x168]
cmp esi, 0x40
jle 0x480b07
lea eax, [esp + 0xfc]
push eax
call fcn.004a6370
mov ecx, dword [esp + 0x168]
push esi
lea edx, [esp + 0x104]
push ecx
push edx
call fcn.004a5f30
lea eax, [esp + 0x10c]
lea ecx, [esp + 0x18]
push eax
push ecx
call fcn.004a6230
add esp, 0x18
lea ebx, [esp + 8]
mov esi, 0x10
jmp 0x480b0e
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 0x480b52
lea ecx, [esp + 0x18]
push ecx
call fcn.004a6370
lea edx, [esp + 0xbc]
push 0x40
lea eax, [esp + 0x20]
push edx
push eax
call fcn.004a5f30
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x16c]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call fcn.004a5f30
mov esi, dword [esp + 0x188]
lea ecx, [esp + 0x34]
push ecx
push esi
call fcn.004a6230
lea edx, [esp + 0x3c]
push edx
call fcn.004a6370
lea eax, [esp + 0x9c]
push 0x40
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.004a5f30
push 0x10
lea edx, [esp + 0x50]
push esi
push edx
call fcn.004a5f30
add esp, 0x40
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004a6230
add esp, 8
pop esi
pop ebx
add esp, 0x150
ret

Function at 0x481900
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ae299
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 [0x4cb760]
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 0x48196d
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 0x48199c
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.004819d0
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 0x486340
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 0x486352
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.00486990
add esp, 4
test eax, eax
je 0x48645c
cmp dword [esi + 0x58], 0xffffffff
jne 0x4863ca
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x486375
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 0x4863ca
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 0x4d1048
call fcn.00453a60
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 0x48641a
call ebx
test eax, eax
je 0x48641a
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 0x4d1048
call fcn.00453a60
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.004a1060
xor ecx, ecx
add eax, edi
adc edx, ecx
test edx, edx
jg 0x486460
jl 0x48643a
test eax, eax
jae 0x486460
mov edx, dword [esi + 0x60]
push edx
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetSize__file_size_is_too_huge
push 0x4d1048
call fcn.00453a60
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 0x486470
Capabilities:
Delete file

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

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
test ebx, ebx
mov esi, ecx
jne 0x486718
mov eax, dword [esi + 0x60]
push eax
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__parameter_pBuffer_can_not_be_NULL
push 0x4d1048
call fcn.00453a60
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 0x48674b
mov ecx, dword [esi + 0x60]
push ecx
push str.TaskID___u_exception_raised_in_method_CFileMgr::SetMemFile__parameter_nNumber_must_greater_than_zero
push 0x4d1048
call fcn.00453a60
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 0x4867af
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x48675d
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 0x4867af
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 0x4d1048
call fcn.00453a60
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 0x4867f1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4867f1
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 0x4d1048
call fcn.00453a60
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 0x486830
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 0x486842
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.00486990
add esp, 4
test eax, eax
je 0x486951
cmp dword [esi + 0x5c], 0xffffffff
jne 0x4868ba
mov eax, dword [esi + 0x2c]
test eax, eax
jne 0x486865
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 0x4868ba
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 0x4d1048
call fcn.00453a60
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 0x48690a
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
test eax, eax
je 0x48690a
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 0x4d1048
call fcn.00453a60
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.004a1060
xor ecx, ecx
add eax, edi
adc edx, ecx
test edx, edx
jg 0x486955
jl 0x48692a
test eax, eax
jae 0x486955
mov edx, dword [esi + 0x60]
push edx
push str.TaskID___u_exception_raised_in_method_CFileMgr::GetTorrentSize__file_size_is_too_huge
push 0x4d1048
call fcn.00453a60
add esp, 0xc
mov ecx, esi
call fcn.00486830
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 0x490030
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.0048ff30
xor edi, edi
cmp eax, edi
jne 0x49017d
mov eax, dword [esi + 0xc]
cmp eax, 1
je 0x49017b
cmp dword [esi + 0x5d90], eax
jb 0x49017b
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 0x490138
mov edx, dword [0x4d0fc0]
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x4900ec
push 0xa
lea ecx, [edi + 8]
call fcn.00456200
cmp ebp, 0xffffffff
mov esi, eax
jne 0x4900b1
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 0x49017b
cmp dword [esp + 0x10], esi
jbe 0x4900d8
mov ebp, dword [edi + 0xb0]
mov dword [esp + 0x10], esi
cmp dword [esp + 0x14], esi
jae 0x4900e2
mov dword [esp + 0x14], esi
mov edx, dword [0x4d0fc0]
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
cmp ecx, edx
je 0x490105
mov eax, dword [ecx]
cmp eax, edx
je 0x490101
mov ecx, eax
mov eax, dword [ecx]
cmp eax, edx
jne 0x4900f9
mov ebx, ecx
jmp 0x49011e
mov eax, dword [ebx + 4]
cmp ebx, dword [eax + 8]
jne 0x490117
mov ebx, eax
mov eax, dword [eax + 4]
cmp ebx, dword [eax + 8]
je 0x49010d
cmp dword [ebx + 8], eax
je 0x49011e
mov ebx, eax
cmp ebx, dword [esi + 0x5d88]
jne 0x49008b
cmp dword [esp + 0x10], 0x7800
ja 0x49017b
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [eax + eax]
cmp edi, ecx
jbe 0x49017b
mov edx, edi
sub edx, eax
cmp edx, 0x3c00
jbe 0x49017b
push edi
push eax
mov eax, dword [esi + 0x5ca0]
push ebp
push eax
push str.__d._3d__Rate___u_MaxRate___u___
push 0x4d1048
call fcn.00453980
add esp, 0x18
mov ecx, esi
push ebp
call fcn.00491b30
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 0x490350
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 0x490494
mov eax, dword [esi + 0x5d48]
test eax, eax
je 0x490494
mov ecx, dword [esi + 0x5da0]
mov edx, dword [esi + 0x5d90]
mov eax, dword [esi + 0xc]
lea edi, [edx + ecx]
cmp edi, eax
jae 0x49040b
sub eax, edx
sub eax, ecx
mov ecx, dword [0x4d12b0]
cmp eax, ecx
jbe 0x49039b
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 0x4903d1
call ebx
mov edx, eax
mov eax, dword [0x4d12b4]
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 0x490494
cmp edi, 0xffffffff
je 0x4903ff
call ebx
mov ecx, eax
mov eax, dword [0x4d12b4]
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 0x4903ff
call ebx
mov dword [esi + 0x5d68], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
cmp eax, 1
je 0x490494
cmp ecx, 1
ja 0x490494
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 0x490453
call ebx
mov ecx, eax
mov eax, dword [0x4d12b4]
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 0x490494
cmp edi, 0xffffffff
je 0x490488
call ebx
mov ecx, eax
mov eax, dword [esi + 0x5d68]
sub ecx, eax
mov eax, dword [0x4d12b4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
cmp ecx, edx
jb 0x490488
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 0x491360
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.00491b30
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x49139f
mov eax, dword [edi + 0x5ca0]
push ebx
push eax
push str.__d._3d__OnNotifyHttpData_cid_not_find
push 0x4d1048
call fcn.00453980
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.004656c0
test eax, eax
jne 0x4913c0
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 0x4913dc
mov eax, dword [edi + 0x5cac]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x4913e7
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.00456060
push 1
push ebx
lea ecx, [esi + 8]
call fcn.00456060
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 0x491449
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.004991b0
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 0x14
Function at 0x491a70
Capabilities:
Check for time delay via gettickcount

Disassembly:
add ecx, 0x14
jmp 0x4992d0
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov eax, dword [ebp + 0x24]
test eax, eax
jbe 0x499336
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea esi, [ebp + 0x58]
cmp dword [esi + 0xc], 1
jne 0x499328
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 0x499328
call edi
mov dword [esi], eax
mov dword [esi + 0xc], 0
mov eax, dword [esi - 0x1c]
test eax, eax
jne 0x499320
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.004974f0
mov eax, dword [ebp + 0x24]
inc ebx
add esi, 0x5c0
cmp ebx, eax
jb 0x4992e8
mov ecx, dword [ebp + 0x5c2c]
mov eax, dword [ecx]
cmp eax, ecx
je 0x4993a9
mov esi, 2
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x1c], esi
jne 0x499363
mov edx, dword [ecx + 0x18]
test edx, edx
lea edi, [edx - 1]
mov dword [ecx + 0x18], edi
jg 0x499363
mov dword [ecx + 0x1c], 0
mov word [ecx + 0xe], 0
mov ecx, dword [eax + 8]
mov edx, dword [0x5134a0]
cmp ecx, edx
je 0x499388
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
je 0x4993a1
mov eax, ecx
mov ecx, dword [eax]
cmp ecx, edx
jne 0x49937e
jmp 0x4993a1
mov ecx, dword [eax + 4]
cmp eax, dword [ecx + 8]
jne 0x49939a
mov eax, ecx
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x499390
cmp dword [eax + 8], ecx
je 0x4993a1
mov eax, ecx
cmp eax, dword [ebp + 0x5c2c]
jne 0x499347
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret