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

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x43998f
push str.GetFileSizeEx__
push eax
push 0x11e
push str.C:UsersAdministratorDesktop360BaseLibQHImageHlp.c
call fcn.00439060
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x439be0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x439c1c
push str.SetFilePointerEx__
push eax
push 0xf9
push str.C:UsersAdministratorDesktop360BaseLibQHImageHlp.c
call fcn.00439060
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439c55
push str.ReadFile__
push eax
push 0xfc
push str.C:UsersAdministratorDesktop360BaseLibQHImageHlp.c
call fcn.00439060
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x439c79
push 0x4bb8dc
push 1
push 0xfe
push str.C:UsersAdministratorDesktop360BaseLibQHImageHlp.c
call fcn.00439340
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x43af20
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x43bf00
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x43bf30
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x43bf60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x43c950
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x20], ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x24], ecx
ret
Function at 0x43d540
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x4c7554
jmp fcn.0043d550

Function at 0x43f290
Capabilities:
Create thread

Disassembly:
push esi
push 1
mov esi, ecx
push str.SeManageVolumePrivilege
call fcn.00440de0
add esp, 8
lea ecx, [esi + 0x18]
push 0
push 0
push 0
push 0
push 0x4000
call fcn.00440ea0
cmp eax, 1
je 0x43f2c0
xor eax, eax
pop esi
ret
push 0
push 0
push esi
push 0x43ed00
push 0
push 0
mov dword [esi + 4], 1
call dword [sym.imp.MSVCRT.dll__beginthreadex]
xor ecx, ecx
add esp, 0x18
cmp ecx, eax
mov dword [esi], eax
sbb eax, eax
pop esi
neg eax
ret
Function at 0x43fdc0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x43fdeb
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, edi
or ecx, ebx
jne 0x43fe04
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x43fe1d
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x43fe31
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x43fec6
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x10]
push 0
push edx
push edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x43fe66
mov ecx, esi
call fcn.00440d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43fe8a
mov ecx, esi
call fcn.00440d40
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [0x4c75d0]
test eax, eax
je 0x43fec6
mov edx, dword [esi + 0x20]
push ebx
push edi
push edx
call fcn.00440d60
add esp, 0xc
test eax, eax
je 0x43fec6
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x43feb2
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 eax
push esi
push str._DiskFile__set_file_valid_data_failed_file:_s__d
push 0x4c89f8
call fcn.00453ad0
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 8
Function at 0x440400
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x22c
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0xffffffff
jne 0x440437
mov eax, dword [esi]
mov esi, dword [esi + 4]
push 0
push 0
push eax
push 0
push 0
push 0x12d
push esi
mov ecx, 0x4c88c8
call fcn.00451c90
pop esi
add esp, 0x22c
ret 4
push ebx
push ebp
push edi
mov edi, dword [esp + 0x240]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
push edi
call dword [sym.imp.MSVCRT.dll__wstat]
mov ebp, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 8
test eax, eax
jne 0x4404ab
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4404ab
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
lea ecx, [esp + 0x3c]
push str._s._u
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x10
lea edx, [esp + 0x34]
push edx
push edi
call ebp
test eax, eax
jne 0x4404ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push str._CDiskFile::RenameFile__file__s__already_exist
push 0x4c89f8
mov dword [esi], eax
call fcn.00453c20
add esp, 0xc
jmp 0x4404f4
mov ecx, esi
call fcn.00440d40
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4404be
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 edi
push eax
call ebp
test eax, eax
jne 0x4404e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CDiskFile::RenameFile__MoveFile_fail__error_code_is__d
push 0x4c89f8
mov dword [esi], eax
call fcn.00453c20
add esp, 0xc
jmp 0x4404f4
push 1
push edi
mov ecx, esi
call fcn.00440c20
cmp eax, 1
jne 0x4404f4
mov ebx, eax
mov eax, dword [esi]
mov esi, dword [esi + 4]
push 0
push 0
push 0
push eax
push ebx
push 0x130
push esi
mov ecx, 0x4c88c8
call fcn.00451c90
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x22c
ret 4

Function at 0x440ae0
Capabilities:
Write file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
push 0
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x440b20
call edi
test eax, eax
je 0x440b20
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__write_disk__SetFilePointer_fail__error_code_is__d
jmp 0x440b5c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x440b52
mov eax, dword [esp + 0x10]
test eax, eax
je 0x440b52
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x10
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__write_disk__WriteFile_fail__error_code_is__d
push 0x4c89f8
call fcn.00453c20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ecx
ret 0x10
Function at 0x440b80
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x20]
push 0
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x440bc0
call edi
test eax, eax
je 0x440bc0
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__read_disk__SetFilePointer_fail__error_code_is__d
jmp 0x440bfc
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, dword [esi + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x440bf2
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x440bf2
pop edi
mov eax, 1
pop esi
pop ecx
ret 0x10
call edi
push eax
mov dword [esi], eax
push str._CDiskFile::__read_disk__ReadFile_fail__error_code_is__d
push 0x4c89f8
call fcn.00453c20
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ecx
ret 0x10
Function at 0x448e80
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
push 0
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push eax
push 0x449a50
push 0
push 0
mov dword [esi + 8], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x448eb4
pop esi
ret
mov eax, dword [esi + 8]
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 8]
mov edi, eax
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov dword [esi + 8], 0
test edi, edi
pop edi
pop esi
sete al
ret

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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
mov edi, ecx
call esi
sub eax, dword [edi + 0x14]
cmp eax, 0x1f4
jbe 0x4493fb
call esi
mov dword [edi + 0x14], eax
mov ebx, dword [edi + 0xe8]
xor ebp, ebp
mov esi, dword [ebx]
cmp esi, ebx
je 0x4493be
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
je 0x4493b8
inc ebp
mov esi, dword [esi]
cmp esi, ebx
jne 0x4493ab
mov eax, dword [edi + 0x10]
cmp eax, ebp
ja 0x4493cc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
mov ebx, dword [edi + 0xe8]
sub eax, ebp
mov ebp, eax
mov esi, dword [ebx]
cmp esi, ebx
je 0x4493fb
test ebp, ebp
je 0x4493fb
mov edi, dword [esi + 8]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 8]
test eax, eax
je 0x4493f5
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
dec ebp
mov esi, dword [esi]
cmp esi, ebx
jne 0x4493dc
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x44d290
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a335b
push eax
mov eax, 0x1810
mov dword fs:[0], esp
call fcn.004999f0
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov esi, ecx
call ebp
sub eax, dword [esi + 0x109c]
cmp eax, 0xea60
jbe 0x44d446
push ebx
push edi
lea ecx, [esp + 0x14]
call fcn.004612d0
xor ebx, ebx
push str.SOFTWARELiveUpdate360_
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1830], ebx
call fcn.00461310
test eax, eax
je 0x44d329
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push str.proxytype
call fcn.00461360
test eax, eax
jne 0x44d331
push 1
push str.proxytype
lea ecx, [esp + 0x1c]
call fcn.00461440
mov eax, 1
mov dword [esp + 0x10], eax
jmp 0x44d335
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x44d335
mov eax, dword [esp + 0x10]
cmp eax, 1
mov dword [esi + 0x10a0], eax
jne 0x44d41f
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x822]
mov word [esp + 0x820], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x820]
lea edx, [esp + 0x20]
stosw word es:[edi], ax
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebx
call fcn.0044af70
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x78]
add esp, 0xc
cmp ecx, eax
jne 0x44d3e0
mov eax, dword [esi + 0x1080]
cmp eax, ebx
jne 0x44d3aa
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 edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
lea edx, [esp + 0x20]
push eax
push edx
call edi
add esp, 8
test eax, eax
jne 0x44d3e0
mov eax, dword [esi + 0x1090]
cmp eax, ebx
jne 0x44d3ce
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
lea eax, [esp + 0x824]
push eax
call edi
add esp, 8
test eax, eax
je 0x44d41f
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1022]
mov word [esp + 0x1020], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1020]
push ecx
push str.ieproxy
lea ecx, [esp + 0x1c]
stosw word es:[edi], ax
call fcn.004613c0
lea edx, [esp + 0x1020]
mov ecx, esi
push edx
call fcn.0044d460
lea ecx, [esp + 0x14]
call fcn.00461340
call ebp
lea ecx, [esp + 0x14]
mov dword [esi + 0x109c], eax
mov dword [esp + 0x1828], 0xffffffff
call fcn.00461300
pop edi
pop ebx
mov ecx, dword [esp + 0x1818]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x181c
ret
Function at 0x44e200
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 0x44e22a
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esi + 4]
xor edx, edx
cmp ecx, edx
je 0x44e252
mov al, byte [ecx - 1]
test al, al
je 0x44e252
cmp al, 0xff
je 0x44e252
cmp edi, edx
jne 0x44e278
dec al
mov byte [ecx - 1], al
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0xc], edx
jmp 0x44e2ab
cmp edi, edx
jne 0x44e262
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 0x44e2ab
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x44e26e
cmp eax, edi
jae 0x44e281
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 0x44e29f
mov edx, edi
mov bx, word [ecx]
add ecx, 2
mov word [eax], bx
add eax, 2
dec edx
jne 0x44e28c
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 0x44e2c3
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov dword [ebp + 0x10], 0
push 0x4bd148
push ebx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov esi, eax
test esi, esi
je 0x44e370
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
push ebx
call edi
push 0x4bd148
mov ebx, eax
call edi
add esp, 8
cmp ebx, eax
jbe 0x44e370
push 0x4bd148
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 0x44e370
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 0x44e370
push 0x4b8a8c
push esi
call dword [sym.imp.MSVCRT.dll__wfopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x44e370
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 0x44e380
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x44e390
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 0x44e3b4
call dword [sym.imp.MSVCP60.dll_void___cdecl_std::_Xlen_void_]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x44e3da
mov al, byte [ecx - 1]
test al, al
je 0x44e3da
cmp al, 0xff
je 0x44e3da
test edi, edi
jne 0x44e400
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 0x44e423
test edi, edi
jne 0x44e3ea
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 0x44e423
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x44e3f6
cmp eax, edi
jae 0x44e409
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.00414970
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 0x44e477
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 0x44cb30
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 0x44ea60
Capabilities:
Get networking parameters

Disassembly:
mov eax, 0x1000
call fcn.004999f0
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 0x44eacb
push esi
call ebp
mov edx, dword [esp + 0x14]
push edx
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x44eac7
lea eax, [esp + 0x10]
push eax
push esi
call sub.iphlpapi.dll_GetNetworkParams
mov edi, eax
test edi, edi
jne 0x44eb3c
mov al, byte [esi + 0x84]
lea edx, [esi + 0x84]
test al, al
je 0x44eb3c
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.004537c0
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 0x44eb46
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 0x44fa00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a34a8
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 0x44fa43
mov eax, dword [esi]
jmp 0x44fa45
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 0x44fa66
push 0x4bce28
push edi
push eax
call fcn.00437442
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 0x44fac6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x44fac6
mov eax, dword [esi]
test eax, eax
je 0x44faad
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x44fabd
push eax
call fcn.00437568
add esp, 4
push esi
call fcn.00437568
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