joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100677a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009b59b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0xc], ecx
mov eax, dword [ecx + 8]
lea esi, [ecx + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.10067420
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.10067660
mov eax, dword [esi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x10067840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009b5cb
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
lea esi, [edi + 4]
mov ecx, esi
mov dword [edi], 0
call fcn.10066c20
mov dword [esi + 4], eax
mov byte [eax + 0xa5], 1
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov dword [esi + 8], 0
push 0
mov dword [esp + 0x20], 0
call fcn.10077110
add esp, 4
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x1009ec09
mov dword [edi + 0x10], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
call fcn.10064fd0
mov dword [edi + 0x14], eax
add esp, 0x20
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret

Function at 0x100689b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009b738
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100cc8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push ecx
xor edi, edi
mov ecx, esi
mov dword [esp + 0x20], edi
call fcn.10068370
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.100688a0
mov eax, dword [esi + 4]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
Function at 0x1006a090
Capabilities:
Delete file

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, edx
push esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006a0b0
sub eax, esi
push eax
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0xfde9
call fcn.1007daf0
add esp, 0x14
test eax, eax
je 0x1006a0e0
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.MSVCR80.dll__wremove]
mov esi, eax
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
je 0x1006a102
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x1006a110
Capabilities:
Delete directory

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, edx
push esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006a130
sub eax, esi
push eax
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0xfde9
call fcn.1007daf0
add esp, 0x14
test eax, eax
je 0x1006a160
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.MSVCR80.dll__wrmdir]
mov esi, eax
mov eax, dword [esp + 8]
add esp, 4
test eax, eax
je 0x1006a182
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x1006a2a0
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push esi
push edi
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jg 0x1006a2c1
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006a2c6
sub eax, edx
sub esi, eax
sub esi, 1
push esi
push str.SoftForum
push edi
call dword [sym.imp.MSVCR80.dll_strncat]
add esp, 0xc
pop edi
xor eax, eax
pop esi
ret

Function at 0x1006a2f0
Capabilities:
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
push esi
push edi
push str.ProgramFiles
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jle 0x1006a362
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006a310
sub eax, edx
mov ecx, esi
push ebx
mov ebx, dword [sym.imp.MSVCR80.dll_strncat]
sub ecx, eax
sub ecx, 1
push ecx
push str.SoftForum
push edi
call ebx
mov eax, edi
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006a340
sub eax, edx
sub esi, eax
sub esi, 1
push esi
push str.XecureWebAnySign
push edi
call ebx
add esp, 0xc
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop edi
or eax, 0xffffffff
pop esi
ret
Function at 0x1006ab90
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov esi, dword [esp + 0x130]
push edi
push 0x11c
lea eax, [esp + 0x10]
push 0
push eax
mov byte [esp + 0x14], 0
call sub.MSVCR80.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x11c
call edi
test eax, eax
jne 0x1006ac0c
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x114
call edi
test eax, eax
jne 0x1006ac0c
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10090524
add esp, 0x124
ret
cmp dword [esp + 0x10], 6
jb 0x1006ac18
mov byte [esp + 8], 1
mov eax, dword [esp + 0x130]
cmp eax, 4
ja case.default.0x1006ac24
jmp dword [eax*4 + 0x1006acd0]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x138]
push eax
push ecx
push esi
call fcn.1006a380
add esp, 0xc
jmp 0x1006ac94
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x138]
push edx
push eax
push esi
call fcn.1006a600
add esp, 0xc
jmp 0x1006ac94
mov ecx, dword [esp + 0x138]
push ecx
push esi
call fcn.1006a270
jmp 0x1006ac91
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x138]
push edx
push eax
push esi
call fcn.1006aa50
add esp, 0xc
jmp 0x1006ac94
mov ecx, dword [esp + 0x138]
push ecx
push esi
call fcn.1006a2f0
add esp, 8
test eax, eax
jg 0x1006acb4
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10090524
add esp, 0x124
ret
mov ecx, dword [esp + 0x128]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10090524
add esp, 0x124
ret
Function at 0x1006acf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x13c]
xor ebx, ebx
push 0x11c
lea eax, [esp + 0x18]
push ebx
push eax
mov esi, 0x1009ec09
mov byte [esp + 0x1c], bl
call sub.MSVCR80.dll_memset
mov ebp, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x11c
call ebp
test eax, eax
jne 0x1006ad61
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x114
call ebp
test eax, eax
jne 0x1006ad61
or eax, 0xffffffff
jmp 0x1006ae44
cmp dword [esp + 0x18], 6
jb 0x1006ad6d
mov byte [esp + 0x10], 1
mov eax, dword [esp + 0x144]
test eax, eax
je 0x1006ad8f
push eax
call fcn.10053b20
add esp, 4
push str.UserPath
mov ecx, eax
call fcn.10051bf0
mov esi, eax
mov eax, dword [esp + 0x138]
cmp eax, 4
ja case.default.0x1006ad9b
jmp dword [eax*4 + 0x1006ae60]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x140]
push esi
push eax
push ecx
push edi
call fcn.1006a6d0
add esp, 0x10
jmp 0x1006ae0e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x140]
push esi
push edx
push eax
push edi
call fcn.1006a980
add esp, 0x10
jmp 0x1006ae0e
mov ecx, dword [esp + 0x140]
push ecx
push edi
call fcn.1006a270
jmp 0x1006ae0b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x140]
push esi
push edx
push eax
push edi
call fcn.1006aaf0
add esp, 0x10
jmp 0x1006ae0e
mov ecx, dword [esp + 0x140]
push ecx
push edi
call fcn.1006a2f0
add esp, 8
mov ebx, eax
test esi, esi
je 0x1006ae37
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006ae20
sub eax, edx
je 0x1006ae37
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
xor eax, eax
test ebx, ebx
setg al
sub eax, 1
and eax, 0xfffffffe
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10090524
add esp, 0x124
ret
Function at 0x1006e860
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x404
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov esi, dword [esp + 0x40c]
push edi
mov edi, ecx
mov eax, dword [edi]
push str._CORE__XWHSMDriverManager::getProgramFilesDir__Start
push eax
call fcn.100772b0
push str.ProgramFiles
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 0xc
test eax, eax
je 0x1006e8b0
push 0x3ff
push eax
push esi
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
jmp 0x1006e92f
push 0x400
lea ecx, [esp + 0xc]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x400
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 8]
push 0x100a179c
push eax
call dword [sym.imp.MSVCR80.dll_strtok]
add esp, 8
test eax, eax
je 0x1006e92f
push 0x3ff
push eax
push esi
call dword [sym.imp.MSVCR80.dll_strncpy]
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006e900
sub eax, edx
mov ecx, 0x3ff
sub ecx, eax
push ecx
push 0x100ac828
push esi
call dword [sym.imp.MSVCR80.dll_strncat]
mov edx, dword [edi]
push str._CORE__XWHSMDriverManager::getProgramFilesDir__End
push edx
call fcn.100772b0
add esp, 0x14
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.10090524
add esp, 0x404
ret 4
Function at 0x1006f640
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x400], eax
push esi
mov esi, dword [esp + 0x40c]
push edi
mov edi, ecx
mov eax, dword [edi]
push str._CORE__XWHSMDriverManager::getProgramFilesDir4NPKI__Start
push eax
call fcn.100772b0
push 0x400
lea ecx, [esp + 0x14]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0x14
push 0x400
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 8]
push 0x100a179c
push eax
call dword [sym.imp.MSVCR80.dll_strtok]
add esp, 8
test eax, eax
je 0x1006f6ef
push 0x103
push eax
push esi
call dword [sym.imp.MSVCR80.dll_strncpy]
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006f6c0
sub eax, edx
mov ecx, 0x103
sub ecx, eax
push ecx
push 0x100ac828
push esi
call dword [sym.imp.MSVCR80.dll_strncat]
mov edx, dword [edi]
push str._CORE__XWHSMDriverManager::getProgramFilesDir4NPKI__End
push edx
call fcn.100772b0
add esp, 0x14
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.10090524
add esp, 0x404
ret 4
Function at 0x10070ec0
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x88]
push str._CORE__XWInetGet::ConnectWinInet____START__
push eax
call fcn.100772b0
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x88]
push edi
push str._CORE__XWInetGet::ConnectWinInet__IN_hostname:__s_
push ecx
call fcn.100772b0
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x88]
push ebx
push str._CORE__XWInetGet::ConnectWinInet__IN_port:__d_
push edx
call fcn.100772b0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x88]
push eax
push str._CORE__XWInetGet::ConnectWinInet__IN_uri:__s_
push ecx
call fcn.100772b0
add esp, 0x2c
push 0
push 0
push 0
push 0
push str.Molliza__4.0__compatible__XecureWeb_Ctl_
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov ebp, dword [esp + 0x24]
mov dword [ebp], eax
jne 0x10070f58
mov edx, dword [esi + 0x88]
push str._CORE__XWInetGet::ConnectWinInet____END___1__InternetOpen_fail___
push edx
call fcn.100772b0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 0x1c
push 0
push 0
push 3
push 0x1009ec09
push 0x1009ec09
push ebx
push edi
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
jne 0x10070fa3
mov edx, dword [ebp]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 0x88]
push str._CORE__XWInetGet::ConnectWinInet____END___1__InternetConnect_fail___
push eax
call fcn.100772b0
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 0x1c
mov ecx, dword [esi + 0x88]
push str._CORE__XWInetGet::ConnectWinInet____END__0___
push ecx
call fcn.100772b0
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x1c
Function at 0x10070fc0
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
sub esp, 0x40
mov eax, dword [0x100cc8ec]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
mov esi, dword [esp + 0x48]
push edi
mov edi, ecx
mov eax, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication____START__
push eax
call fcn.100772b0
add esp, 8
push 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x20000013
push esi
mov dword [esp + 0x1c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x1007101f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CORE__XWInetGet::ProxyAuthentication__HttpQueryInfo_fail___d_
jmp 0x10071123
mov eax, dword [esp + 0xc]
cmp eax, 0x191
je 0x10071060
cmp eax, 0x197
je 0x10071060
mov edx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication____END__0___
push edx
mov dword [edi + 0x84], eax
call fcn.100772b0
add esp, 8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10090524
add esp, 0x40
ret 4
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0xc]
push eax
push 0x32
lea ecx, [esp + 0x1c]
push ecx
push esi
call ebx
cmp dword [esp + 0xc], 0
jne 0x10071067
push 0
push 7
push 0x2eee
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
pop ebx
jne 0x100710df
mov edx, dword [edi + 0x88]
push eax
push str._CORE__XWInetGet::ProxyAuthentication__InternetErrorDlg_fail___d__ERROR_INTERNET_FORCE_RETRY_
push edx
call fcn.100772b0
mov eax, dword [edi + 0x88]
push 0x2f00
push str._CORE__XWInetGet::ProxyAuthentication____END___d___
push eax
call fcn.100772b0
add esp, 0x18
pop edi
mov eax, 0x2f00
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10090524
add esp, 0x40
ret 4
test eax, eax
jne 0x1007111d
mov ecx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication__InternetErrorDlg_success
push ecx
call fcn.100772b0
mov edx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication____END__0___
push edx
call fcn.100772b0
add esp, 0x10
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10090524
add esp, 0x40
ret 4
push eax
push str._CORE__XWInetGet::ProxyAuthentication__InternetErrorDlg_fail___d_
mov eax, dword [edi + 0x88]
push eax
call fcn.100772b0
mov ecx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication____END___1___
push ecx
call fcn.100772b0
mov ecx, dword [esp + 0x58]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.10090524
add esp, 0x40
ret 4
Function at 0x10071160
Capabilities:
Send data
Send http request

Disassembly:
sub esp, 0x28
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x88]
push str._CORE__XWInetGet::CheckProxyAuthentication____START__
push eax
call fcn.100772b0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
xor eax, eax
add esp, 8
push eax
push ecx
push eax
push eax
push str.HTTP_1.1
mov dword [esp + 0x38], eax
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
push str.POST
push eax
mov dword [esp + 0x28], 0x28
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebx, eax
test ebx, ebx
jne 0x1007120c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x88]
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpOpenRequest_error___d_
push ecx
call fcn.100772b0
mov edx, dword [edi + 0x88]
push str._CORE__XWInetGet::CheckProxyAuthentication____END___1___
push edx
call fcn.100772b0
add esp, 0x14
pop edi
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret 0xc
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push 0
push 8
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestExA]
test eax, eax
jne 0x1007124e
call ebp
cmp eax, 0x2f00
jne 0x1007124a
mov ecx, dword [edi + 0x88]
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpSendRequestEx_error___d__ERROR_INTERNET_FORCE_RETRY_
push ecx
call fcn.100772b0
add esp, 0xc
jmp 0x10071214
test eax, eax
jne 0x100712af
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x1007127f
call ebp
cmp eax, 0x2f00
mov edx, dword [edi + 0x88]
jne 0x100712be
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpEndRequest_error___d__ERROR_INTERNET_FORCE_RETRY_
push edx
call fcn.100772b0
add esp, 0xc
jmp 0x10071214
push ebx
mov ecx, edi
call fcn.10070fc0
mov esi, eax
test esi, esi
je 0x100712d9
cmp esi, 0x2f00
mov eax, dword [edi + 0x88]
jne 0x100712c7
push esi
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_ProxyAuthentication_error___d__ERROR_INTERNET_FORCE_RETRY_
push eax
call fcn.100772b0
add esp, 0xc
jmp 0x10071214
mov ecx, dword [edi + 0x88]
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpSendRequestEx_error___d_
push ecx
jmp 0x100712ce
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpEndRequest_error___d_
push edx
jmp 0x100712ce
push esi
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_ProxyAuthentication_error___d_
push eax
call fcn.100772b0
add esp, 0xc
or esi, 0xffffffff
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [edi + 0x88]
push esi
push str._CORE__XWInetGet::CheckProxyAuthentication____END___d___
push ecx
call fcn.100772b0
add esp, 0xc
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x28
ret 0xc
Function at 0x10071310
Capabilities:
Read data from internet
Receive data

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push edi
push ebx
push ebp
mov esi, ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10071374
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x10071380
mov ecx, dword [esi + 0x88]
push eax
push str._CORE__XWInetGet::InternetReadLine__InternetReadFile_Error___d__ERROR_INTERNET_FORCE_RETRY_
push ecx
call fcn.100772b0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push edi
push ebx
push ebp
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10071340
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
test eax, eax
je 0x10071374
push eax
mov eax, dword [esi + 0x88]
push str._CORE__XWInetGet::InternetReadLine__InternetReadFile_Error___d_
push eax
call fcn.100772b0
add esp, 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 0xc

Function at 0x100713b0
Capabilities:
Send data

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push edi
push ebx
push ebp
mov esi, ecx
mov dword [esp + 0x20], 0
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x10071414
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x10071420
mov ecx, dword [esi + 0x88]
push eax
push str._CORE__XWInetGet::InternetWriteLine__InternetWriteFile_Error___d__ERROR_INTERNET_FORCE_RETRY_
push ecx
call fcn.100772b0
add esp, 0xc
lea edx, [esp + 0x10]
push edx
push edi
push ebx
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x100713e0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
test eax, eax
je 0x10071414
push eax
mov eax, dword [esi + 0x88]
push str._CORE__XWInetGet::InternetWriteLine__InternetWriteFile_Error___d_
push eax
call fcn.100772b0
add esp, 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 0xc
Function at 0x100752c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cdq
mov ecx, 0xa
push edi
or edi, 0xffffffff
idiv ecx
test ebx, ebx
je 0x10075386
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jle 0x1007537d
cmp edx, 1
jne 0x1007537d
cmp eax, 2
je 0x10075300
cmp dword [esi + 8], 0
je 0x1007537d
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x88]
sub ecx, edx
cmp ebp, ecx
jle 0x10075318
mov edi, ecx
test edi, edi
je 0x1007537d
cmp eax, 1
je 0x1007536d
jle 0x10075363
cmp eax, 3
jg 0x10075363
mov ecx, dword [esi + 0xa8]
test ecx, ecx
mov eax, dword [esi + 8]
je 0x1007533d
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push ebp
push ebx
push eax
call edx
jmp 0x1007534b
push eax
push ebp
push 1
push ebx
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
mov ecx, eax
cdq
add dword [esi + 0x90], eax
pop ebp
pop edi
adc dword [esi + 0x94], edx
pop esi
mov eax, ecx
pop ebx
ret 8
pop ebp
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov ecx, dword [esi + 0xc]
push edi
add ecx, edx
push ecx
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
ret 8
mov eax, edi
pop edi
pop esi
pop ebx
ret 8

Function at 0x10075390
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
push edi
cdq
mov edi, 0xa
or ecx, 0xffffffff
idiv edi
test ebx, ebx
je 0x10075405
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x10075405
cmp edx, 2
jne 0x10075405
cmp eax, 1
je 0x10075416
mov edx, dword [esi + 8]
test edx, edx
je 0x10075405
cmp eax, 1
jle 0x1007540d
cmp eax, 3
jg 0x1007540d
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x100753e4
mov eax, dword [ecx]
push edi
push ebx
push edx
mov edx, dword [eax + 8]
call edx
jmp 0x100753f2
push edx
push edi
push 1
push ebx
call dword [sym.imp.MSVCR80.dll_fwrite]
add esp, 0x10
mov ecx, eax
test ecx, ecx
jle 0x10075407
cdq
add dword [esi + 0x88], eax
adc dword [esi + 0x8c], edx
mov eax, ecx
pop edi
pop esi
pop ebx
ret 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov eax, dword [esi + 0x88]
mov ecx, dword [esi + 0xc]
add eax, edi
push eax
push ecx
call dword [sym.imp.MSVCR80.dll_realloc]
mov edx, dword [esi + 0x88]
push edi
add edx, eax
push 0
push edx
mov dword [esi + 0xc], eax
call sub.MSVCR80.dll_memset
mov eax, dword [esi + 0x88]
add eax, dword [esi + 0xc]
push edi
push ebx
push eax
call sub.MSVCR80.dll_memcpy
mov eax, edi
cdq
add esp, 0x20
add dword [esi + 0x88], eax
mov eax, edi
pop edi
adc dword [esi + 0x8c], edx
pop esi
pop ebx
ret 8