joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458ff0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
mov ebp, ecx
push edi
push ebx
lea esi, [ebp + 0x44]
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
cmp edi, 0x7ffffffd
jbe 0x45901a
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esi + 4]
xor edx, edx
cmp ecx, edx
je 0x459042
mov al, byte [ecx - 1]
test al, al
je 0x459042
cmp al, 0xff
je 0x459042
cmp edi, edx
jne 0x459068
dec al
mov byte [ecx - 1], al
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
jmp 0x45909b
cmp edi, edx
jne 0x459052
push 1
mov ecx, esi
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_]
jmp 0x45909b
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x45905e
cmp eax, edi
jae 0x459071
push 1
mov ecx, esi
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_]
push edi
mov ecx, esi
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__::_Copy_unsigned_int_]
mov eax, dword [esi + 4]
mov ecx, ebx
test edi, edi
jbe 0x45908f
mov edx, edi
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 2
dec edx
jne 0x45907c
mov ebx, dword [esp + 0x38]
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov word [eax + edi*2], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4590b3
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp + 0x10], 0
push 0x4c7880
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x459160
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebx
call edi
push 0x4c7880
mov ebx, eax
call edi
add esp, 8
cmp ebx, eax
jbe 0x459160
push 0x4c7880
call edi
lea ecx, [esp + 0x14]
lea esi, [esi + eax*2]
push ecx
push esi
call dword [sym.imp.MSVCRT.dll__wstat]
add esp, 0xc
test eax, eax
jne 0x459160
mov edx, dword [esp + 0x24]
inc edx
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
je 0x459160
push 0x4c2de4
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x459160
mov eax, dword [esp + 0x24]
mov ecx, dword [ebp + 0x10]
push esi
push eax
push 1
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x34]
push esi
mov byte [edx + eax], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 4
Function at 0x459170
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x459180
xor eax, eax
pop ebx
ret 8
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
lea esi, [ebx + 0x44]
call dword [sym.imp.MSVCRT.dll_wcslen]
mov edi, eax
add esp, 4
cmp edi, 0x7ffffffd
jbe 0x4591a4
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4591ca
mov al, byte [ecx - 1]
test al, al
je 0x4591ca
cmp al, 0xff
je 0x4591ca
test edi, edi
jne 0x4591f0
dec al
push edi
mov byte [ecx - 1], al
mov ecx, esi
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_]
jmp 0x459213
test edi, edi
jne 0x4591da
push 1
mov ecx, esi
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_]
jmp 0x459213
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x4591e6
cmp eax, edi
jae 0x4591f9
push 1
mov ecx, esi
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_]
push edi
mov ecx, esi
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__::_Copy_unsigned_int_]
mov eax, dword [esi + 4]
push edi
push ebp
push eax
call fcn.00415720
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [ecx + edi*2], 0
push 0x1008
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
test esi, esi
je 0x459267
lea edx, [esi + 4]
push ebp
mov dword [esi], 0
mov dword [esi + 0x1004], 0
push edx
mov dword [esi], ebx
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov eax, dword [esp + 0x20]
push 0
push 0
push esi
push 0x457920
push 0
push 0
mov dword [esi + 0x1004], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x20
mov dword [ebx + 0x64], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 8
Function at 0x459850
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x1000
call fcn.004a2ae0
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_malloc]
push ebp
push esi
push edi
push 0x248
call ebx
add esp, 4
mov esi, eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x248
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
xor ecx, ecx
mov ebp, dword [sym.imp.MSVCRT.dll_free]
cmp eax, 0x6f
sete cl
mov edi, ecx
test edi, edi
je 0x4598bb
push esi
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x4598b7
lea eax, [esp + 0x10]
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
mov edi, eax
test edi, edi
jne 0x45992c
mov al, byte [esi + 0x84]
lea edx, [esi + 0x84]
test al, al
je 0x45992c
mov ecx, 0x3fe
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x7fe
push ecx
push edx
stosw word es:[edi], ax
call fcn.0045eaf0
mov eax, dword [esp + 0x1024]
mov ecx, dword [esp + 0x1020]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push str.http:__wpad._s_wpad.dat
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__snwprintf]
push esi
call ebp
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000
ret 8
test esi, esi
je 0x459936
push esi
call ebp
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1000
ret 8

Function at 0x45a7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x45a833
mov eax, dword [esi]
jmp 0x45a835
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x45a856
push 0x4c7470
push edi
push eax
call fcn.00442508
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x45a8b6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45a8b6
mov eax, dword [esi]
test eax, eax
je 0x45a89d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x45a8ad
push eax
call fcn.00442ac0
add esp, 4
push esi
call fcn.00442ac0
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x45b4b0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.0045b810
push 0
push 0
push 0
push 0
push 0x4000
lea ecx, [esi + 0x28]
call fcn.0045dcf0
cmp eax, 1
je 0x45b4d6
xor eax, eax
pop esi
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x14], 1
call edi
mov dword [esi + 0xc], eax
call edi
push 0
push 0
push esi
push 0x45aed0
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
xor ecx, ecx
add esp, 0x18
cmp ecx, eax
mov dword [esi], eax
sbb eax, eax
pop edi
neg eax
pop esi
ret

Function at 0x45b6d0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x264
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, ecx
mov dword [esp + 0x10], ebp
call esi
sub eax, dword [ebp + 0x10]
cmp eax, 0x64
jbe 0x45b7fb
push ebx
push edi
call esi
mov dword [ebp + 0x10], eax
call esi
mov ecx, dword [ebp + 0xc]
add ecx, 0x3e8
cmp ecx, eax
sbb edi, edi
neg edi
mov dword [esp + 0x14], edi
je 0x45b716
mov edx, dword [ebp + 0x10]
mov dword [ebp + 0xc], edx
xor ebx, ebx
mov dword [esp + 0x10], ebx
call esi
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
cmp esi, eax
je 0x45b7d6
jmp 0x45b735
mov edi, dword [esp + 0x14]
mov ebp, dword [esi + 0x10]
push edi
mov ecx, ebp
call fcn.00476770
test byte [ebp + 0x30], 1
je 0x45b755
mov eax, dword [esp + 0x1c]
mov ecx, 0x4d21b8
push eax
call fcn.00451670
mov ecx, 0x95
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebp
call fcn.00476150
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x10]
lea ecx, [eax + edx]
shr ecx, 0xa
shr eax, 0xa
add ebx, ecx
mov ecx, dword [0x4d3548]
add edi, eax
mov eax, dword [esi + 8]
cmp eax, ecx
mov dword [esp + 0x10], edi
je 0x45b7aa
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
je 0x45b7c3
mov esi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x45b7a0
jmp 0x45b7c3
mov eax, dword [esi + 4]
cmp esi, dword [eax + 8]
jne 0x45b7bc
mov esi, eax
mov eax, dword [eax + 4]
cmp esi, dword [eax + 8]
je 0x45b7b2
cmp dword [esi + 8], eax
je 0x45b7c3
mov esi, eax
mov edx, dword [esp + 0x18]
cmp esi, dword [edx + 0x1c]
jne 0x45b731
mov edi, dword [esp + 0x14]
mov ebp, edx
mov eax, dword [esp + 0x10]
push eax
push ebx
call fcn.00463c10
add esp, 8
test edi, edi
pop edi
pop ebx
je 0x45b7fb
mov ecx, ebp
call fcn.0045c5f0
mov ecx, 0x4d23e0
call fcn.00458080
pop esi
pop ebp
add esp, 0x264
ret
Function at 0x45f4f0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x14]
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [ebp + 4]
mov dword [esp + 0x20], edi
call fcn.00461cf0
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
cmp eax, ecx
je 0x45f681
mov eax, dword [eax + 0x10]
xor esi, esi
cmp eax, esi
je 0x45f681
cmp dword [eax + 0x44], esi
je 0x45f681
push 0x10
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ebx, eax
add esp, 4
cmp ebx, esi
je 0x45f681
mov dl, byte [esp + 0x18]
push edi
mov ecx, ebp
mov byte [ebx], dl
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
call fcn.004603f0
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov edi, ecx
mov ecx, ebx
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x45f5a1
mov ecx, edi
mov edi, dword [ebx + 4]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [eax + ecx], 0
mov eax, dword [ebp + 0x74]
test eax, eax
jne 0x45f5fc
push 0
push 0
push 0
push 0
push 0x4000
lea ecx, [ebp + 0x14]
call fcn.00461820
cmp eax, 1
jne 0x45f681
push 0
push 0
push 0
push 0
mov dword [ebp + 0x7c], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push ebp
push 0x45f690
push 0
push 0
mov dword [ebp + 0x78], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [ebp + 0x74], eax
test eax, eax
je 0x45f681
push 0xffffffffffffffff
lea edx, [ebp + 0x48]
push 1
push edx
push 3
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 3
jae 0x45f681
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x45f627
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 1
call dword [eax]
mov eax, dword [ebp + 0x6c]
test eax, eax
jne 0x45f656
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x30]
mov edx, dword [esp + 0x18]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebp + 0x44]
mov edi, dword [ebp + 0x3c]
inc ecx
mov eax, ecx
sub eax, edi
neg eax
sbb eax, eax
and eax, ecx
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x38]
inc eax
mov dword [ebp + 0x38], eax
mov ecx, dword [ebp + 0x70]
test ecx, ecx
je 0x45f669
mov eax, dword [ecx]
lea edx, [esp + 0x18]
push edx
push 1
call dword [eax + 4]
mov eax, dword [ebp + 0x20]
push 0
push 1
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov ecx, dword [ebp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4614a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [esp + 8]
push ebx
push ebp
xor ebp, ebp
push esi
cmp eax, ebp
push edi
mov esi, ecx
je 0x4614c4
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
add ecx, eax
mov dword [esi], ecx
mov eax, dword [esi + 4]
adc eax, ebp
mov dword [esi + 4], eax
jmp 0x4614d8
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
add edx, ecx
mov dword [esi + 8], edx
mov eax, dword [esi + 0xc]
adc eax, ebp
mov dword [esi + 0xc], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edx, eax
mov eax, 0x10624dd3
mul edx
mov eax, dword [esi + 0x10]
mov ecx, 0xa
shr edx, 6
add eax, edx
xor edx, edx
div ecx
mov edi, edx
call ebx
lea edx, [edi + edi*2 + 6]
mov ecx, eax
mov ebx, dword [esi + edx*4]
lea edx, [esi + edx*4]
sub ecx, ebx
cmp ecx, 0x1f40
jbe 0x461522
lea ecx, [edi + edi*2]
lea ecx, [esi + ecx*4]
mov dword [ecx + 0x1c], ebp
mov dword [ecx + 0x20], ebp
mov dword [edx], ebp
lea ecx, [esi + 0x18]
mov ebx, 0xa
mov ebp, eax
sub ebp, dword [ecx]
cmp ebp, 0x2af8
jbe 0x461540
xor ebp, ebp
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx], ebp
add ecx, 0xc
dec ebx
jne 0x46152a
mov ecx, dword [esp + 0x18]
test ecx, ecx
lea ecx, [edi + edi*2]
je 0x461557
lea ecx, [esi + ecx*4 + 0x1c]
jmp 0x46155b
lea ecx, [esi + ecx*4 + 0x20]
mov esi, dword [esp + 0x14]
mov edi, dword [ecx]
add edi, esi
mov dword [ecx], edi
mov ecx, dword [edx]
pop edi
pop esi
pop ebp
pop ebx
test ecx, ecx
jne 0x461571
mov dword [edx], eax
ret 8

Function at 0x461640
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 1
mov esi, ecx
push 0
call fcn.004614a0
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4616a1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x14]
sub edi, eax
jne 0x461677
xor eax, eax
pop edi
pop esi
mov dword [esp + 8], eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push 0x3e8
push eax
push ecx
call fcn.004a2d30
push 0
push edi
push edx
push eax
call fcn.004a2cc0
pop edi
pop esi
mov dword [esp + 8], edx
pop ebx
add esp, 8
ret 4
cmp edi, 0xa
jbe 0x4616ab
mov edi, 0xa
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edx, eax
mov eax, dword [esi + 0x14]
sub edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
cmp edx, edi
ja 0x46170c
call ebx
mov edi, eax
mov eax, dword [esi + 0x14]
sub edi, eax
jne 0x4616e2
xor eax, eax
pop edi
pop esi
mov dword [esp + 8], eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
push 0x3e8
push eax
push ecx
call fcn.004a2d30
push 0
push edi
push edx
push eax
call fcn.004a2cc0
pop edi
pop esi
mov dword [esp + 8], edx
pop ebx
add esp, 8
ret 4
push 1
push edi
mov ecx, esi
call fcn.00461580
xor edx, edx
div edi
pop edi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x461730
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 0
mov esi, ecx
push 0
call fcn.004614a0
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x461792
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x14]
sub edi, eax
jne 0x461767
xor eax, eax
pop edi
pop esi
mov dword [esp + 8], eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0
push 0x3e8
push eax
push ecx
call fcn.004a2d30
push 0
push edi
push edx
push eax
call fcn.004a2cc0
pop edi
pop esi
mov dword [esp + 8], edx
pop ebx
add esp, 8
ret 4
cmp edi, 0xa
jbe 0x46179c
mov edi, 0xa
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edx, eax
mov eax, dword [esi + 0x14]
sub edx, eax
mov eax, 0x10624dd3
mul edx
shr edx, 6
cmp edx, edi
ja 0x4617fe
call ebx
mov edi, eax
mov eax, dword [esi + 0x14]
sub edi, eax
jne 0x4617d3
xor eax, eax
pop edi
pop esi
mov dword [esp + 8], eax
pop ebx
add esp, 8
ret 4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0
push 0x3e8
push eax
push ecx
call fcn.004a2d30
push 0
push edi
push edx
push eax
call fcn.004a2cc0
pop edi
pop esi
mov dword [esp + 8], edx
pop ebx
add esp, 8
ret 4
push 0
push edi
mov ecx, esi
call fcn.00461580
xor edx, edx
div edi
pop edi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x464490
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x190c
call fcn.004a2ae0
push ebp
mov ebp, dword [esp + 0x1914]
test ebp, ebp
push esi
je 0x4644f8
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push ecx
lea esi, [esp + 0x1c]
mov dword [esp + 0x10], 0x1900
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x4644f8
lea edx, [esp + 0x14]
test edx, edx
je 0x4644f8
mov eax, dword [esi + 0x190]
xor ecx, ecx
cmp eax, 6
jne 0x4644f2
xor eax, eax
xor edx, edx
mov dl, byte [esi + eax + 0x194]
add ecx, edx
inc eax
cmp eax, 6
jb 0x4644dd
test ecx, ecx
jne 0x464503
mov esi, dword [esi]
test esi, esi
jne 0x4644ce
pop esi
xor al, al
pop ebp
add esp, 0x190c
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x16]
add eax, ecx
add word [esi + 0x194], ax
mov byte [ebp], 0
xor edi, edi
xor edx, edx
mov dl, byte [esi + edi + 0x194]
push edx
push ebp
push str._s_02X
push ebp
call ebx
add esp, 0x10
inc edi
cmp edi, 6
jb 0x464528
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 0x190c
ret
Function at 0x464560
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x4ad3e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push esi
lea eax, [esp + 8]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov eax, dword [0x4c8914]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push str.360P_04d_012I64X
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, 5
lea esi, [esp + 0x28]
mov edi, 0x4d3a2c
add esp, 0x14
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x54]
mov dword [esp + 8], 0x67452301
lea esi, [eax + edx]
call fcn.0047d4c0
push 0x432aff97
push 5
push esi
push 0x10325476
push 0x98badcfe
lea ecx, [esp + 0x1c]
push 0xefcdab89
push ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0xd4], 0
call fcn.0047d3a0
push 0x2441453
push 0x14
push esi
push 0x10325476
push 0x98badcfe
lea edx, [esp + 0x1c]
push 0xefcdab89
push edx
lea ecx, [esp + 0x70]
call fcn.0047d3f0
push 0xf57c0faf
push 0x10
push esi
push 0x10325476
push 0x98badcfe
lea eax, [esp + 0x1c]
push 0xefcdab89
push eax
lea ecx, [esp + 0x70]
call fcn.0047d440
push 0x4bdecfa9
push 0x16
push esi
push 0x10325476
push 0x98badcfe
lea ecx, [esp + 0x1c]
push 0xefcdab89
push ecx
lea ecx, [esp + 0x70]
call fcn.0047d480
mov ecx, dword [esp + 8]
pop edi
mov eax, ecx
pop esi
shr eax, 0x10
xor eax, ecx
mov cx, ax
shr cx, 0xc
cmp cl, 9
jbe 0x464694
add cl, 0x37
jmp 0x464697
add cl, 0x30
mov byte [0x4d3a34], cl
xor ecx, ecx
mov cl, ah
and cl, 0xf
cmp cl, 9
jbe 0x4646ae
add cl, 0x37
jmp 0x4646b1
add cl, 0x30
mov byte [0x4d3a35], cl
mov cl, al
shr cl, 4
and cl, 0xf
cmp cl, 9
jbe 0x4646c9
add cl, 0x37
jmp 0x4646cc
add cl, 0x30
and al, 0xf
mov byte [0x4d3a36], cl
cmp al, 9
jbe 0x4646dc
add al, 0x37
jmp 0x4646de
add al, 0x30
mov ecx, dword [esp + 0xa8]
mov byte [0x4d3a37], al
mov dword fs:[0], ecx
add esp, 0xb4
ret

Function at 0x4647a0
Capabilities:
Resolve dns

Disassembly:
push ebp
push 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebp, eax
test ebp, ebp
jne 0x4647b1
pop ebp
ret
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
mov ecx, dword [eax]
push edi
test ecx, ecx
je 0x4647fa
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax]
push ecx
call fcn.00464830
add esp, 4
test al, al
je 0x4647dd
mov eax, dword [ebp + 0xc]
inc ebx
cmp dword [eax + ebx*4], 0
jne 0x4647bf
jmp 0x4647fa
movsx ecx, word [ebp + 0xa]
mov edx, dword [ebp + 0xc]
mov eax, ecx
mov edi, 0x4d3a28
mov esi, dword [edx + ebx*4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
cmp dword [eax + ebx*4], 0
jne 0x46481c
movsx ecx, word [ebp + 0xa]
mov esi, dword [eax]
mov edx, ecx
mov edi, 0x4d3a28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
ret
Function at 0x464ee0
Capabilities:
Get file version info

Disassembly:
mov eax, 0x480c
call fcn.004a2ae0
mov eax, dword [esp + 0x4818]
push esi
cmp eax, 0x60
push edi
jb 0x464fd7
mov ax, word [0x4d1b48]
mov ecx, 0xfff
mov word [esp + 0x814], ax
xor eax, eax
lea edi, [esp + 0x816]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [0x4d3764]
test eax, eax
jne 0x464f2a
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 esi, dword [esp + 0x4818]
mov edi, dword [sym.imp.MSVCRT.dll_swprintf]
push esi
push eax
lea ecx, [esp + 0x1c]
push str._s_s
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x464fd7
cmp eax, 0x2000
ja 0x464fd7
lea ecx, [esp + 0x814]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x464fd7
lea edx, [esp + 0xc]
lea eax, [esp + 8]
push edx
push eax
lea ecx, [esp + 0x81c]
push 0x4c2b54
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x464fd7
mov eax, dword [esp + 8]
xor edx, edx
mov dx, word [eax + 0xc]
mov ecx, dword [eax + 0xc]
push edx
xor edx, edx
mov dx, word [eax + 8]
mov eax, dword [eax + 8]
shr ecx, 0x10
push ecx
mov ecx, dword [esp + 0x4824]
shr eax, 0x10
push edx
push eax
push 0x4c2b3c
push ecx
call edi
add esp, 0x18
mov eax, 1
pop edi
pop esi
add esp, 0x480c
ret
pop edi
xor eax, eax
pop esi
add esp, 0x480c
ret

Function at 0x464ff0
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x1004
call fcn.004a2ae0
push edi
mov edi, dword [esp + 0x100c]
test edi, edi
jne 0x465010
xor eax, eax
pop edi
add esp, 0x1004
ret
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
push ecx
mov byte [edi], 0
mov dword [esp + 0xc], 0x400
call sub.iphlpapi.dll_GetNetworkParams
test eax, eax
je 0x465038
xor eax, eax
pop edi
add esp, 0x1004
ret
lea edx, [esp + 0x114]
push esi
test edx, edx
lea esi, [esp + 0x118]
je 0x465069
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [esi + 4]
push eax
push edi
push str._s__s
push edi
call ebx
mov esi, dword [esi]
add esp, 0x10
test esi, esi
jne 0x465052
pop ebx
pop esi
mov eax, 1
pop edi
add esp, 0x1004
ret