joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1006a8b0
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 0x1006a8d0
sub eax, esi
push eax
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0xfde9
call fcn.1007e450
add esp, 0x14
test eax, eax
je 0x1006a900
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 0x1006a922
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x1006a930
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 0x1006a950
sub eax, esi
push eax
push edx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0xfde9
call fcn.1007e450
add esp, 0x14
test eax, eax
je 0x1006a980
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 0x1006a9a2
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x1006aac0
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 0x1006aae1
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 0x1006aae6
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 0x1006ab10
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 0x1006ab82
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006ab30
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 0x1006ab60
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 0x1006b3e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x100cd8ec]
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 0x1006b45c
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x114
call edi
test eax, eax
jne 0x1006b45c
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10090e24
add esp, 0x124
ret
cmp dword [esp + 0x10], 6
jb 0x1006b468
mov byte [esp + 8], 1
mov eax, dword [esp + 0x130]
cmp eax, 4
ja case.default.0x1006b474
jmp dword [eax*4 + 0x1006b520]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x138]
push eax
push ecx
push esi
call fcn.1006aba0
add esp, 0xc
jmp 0x1006b4e4
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x138]
push edx
push eax
push esi
call fcn.1006ae20
add esp, 0xc
jmp 0x1006b4e4
mov ecx, dword [esp + 0x138]
push ecx
push esi
call fcn.1006aa90
jmp 0x1006b4e1
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x138]
push edx
push eax
push esi
call fcn.1006b270
add esp, 0xc
jmp 0x1006b4e4
mov ecx, dword [esp + 0x138]
push ecx
push esi
call fcn.1006ab10
add esp, 8
test eax, eax
jg 0x1006b504
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10090e24
add esp, 0x124
ret
mov ecx, dword [esp + 0x128]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10090e24
add esp, 0x124
ret
Function at 0x1006b540
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x100cd8ec]
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, 0x1009fc09
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 0x1006b5b1
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], 0x114
call ebp
test eax, eax
jne 0x1006b5b1
or eax, 0xffffffff
jmp 0x1006b694
cmp dword [esp + 0x18], 6
jb 0x1006b5bd
mov byte [esp + 0x10], 1
mov eax, dword [esp + 0x144]
test eax, eax
je 0x1006b5df
push eax
call fcn.10054350
add esp, 4
push str.UserPath
mov ecx, eax
call fcn.10052420
mov esi, eax
mov eax, dword [esp + 0x138]
cmp eax, 4
ja case.default.0x1006b5eb
jmp dword [eax*4 + 0x1006b6b0]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x140]
push esi
push eax
push ecx
push edi
call fcn.1006aef0
add esp, 0x10
jmp 0x1006b65e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x140]
push esi
push edx
push eax
push edi
call fcn.1006b1a0
add esp, 0x10
jmp 0x1006b65e
mov ecx, dword [esp + 0x140]
push ecx
push edi
call fcn.1006aa90
jmp 0x1006b65b
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x140]
push esi
push edx
push eax
push edi
call fcn.1006b310
add esp, 0x10
jmp 0x1006b65e
mov ecx, dword [esp + 0x140]
push ecx
push edi
call fcn.1006ab10
add esp, 8
mov ebx, eax
test esi, esi
je 0x1006b687
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1006b670
sub eax, edx
je 0x1006b687
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.10090e24
add esp, 0x124
ret
Function at 0x1006f0f0
Capabilities:
Get common file path
Query environment variable

Disassembly:
sub esp, 0x404
mov eax, dword [0x100cd8ec]
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.10077b60
push str.ProgramFiles
call dword [sym.imp.MSVCR80.dll_getenv]
add esp, 0xc
test eax, eax
je 0x1006f140
push 0x3ff
push eax
push esi
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
jmp 0x1006f1bf
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 0x100a279c
push eax
call dword [sym.imp.MSVCR80.dll_strtok]
add esp, 8
test eax, eax
je 0x1006f1bf
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 0x1006f190
sub eax, edx
mov ecx, 0x3ff
sub ecx, eax
push ecx
push 0x100ad9b0
push esi
call dword [sym.imp.MSVCR80.dll_strncat]
mov edx, dword [edi]
push str._CORE__XWHSMDriverManager::getProgramFilesDir__End
push edx
call fcn.10077b60
add esp, 0x14
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.10090e24
add esp, 0x404
ret 4
Function at 0x1006fed0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x404
mov eax, dword [0x100cd8ec]
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.10077b60
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 0x100a279c
push eax
call dword [sym.imp.MSVCR80.dll_strtok]
add esp, 8
test eax, eax
je 0x1006ff7f
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 0x1006ff50
sub eax, edx
mov ecx, 0x103
sub ecx, eax
push ecx
push 0x100ad9b0
push esi
call dword [sym.imp.MSVCR80.dll_strncat]
mov edx, dword [edi]
push str._CORE__XWHSMDriverManager::getProgramFilesDir4NPKI__End
push edx
call fcn.10077b60
add esp, 0x14
mov ecx, dword [esp + 0x408]
pop edi
pop esi
xor ecx, esp
call fcn.10090e24
add esp, 0x404
ret 4
Function at 0x10071750
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.10077b60
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x88]
push edi
push str._CORE__XWInetGet::ConnectWinInet__IN_hostname:__s_
push ecx
call fcn.10077b60
mov ebx, dword [esp + 0x2c]
mov edx, dword [esi + 0x88]
push ebx
push str._CORE__XWInetGet::ConnectWinInet__IN_port:__d_
push edx
call fcn.10077b60
mov eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0x88]
push eax
push str._CORE__XWInetGet::ConnectWinInet__IN_uri:__s_
push ecx
call fcn.10077b60
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 0x100717e8
mov edx, dword [esi + 0x88]
push str._CORE__XWInetGet::ConnectWinInet____END___1__InternetOpen_fail___
push edx
call fcn.10077b60
add esp, 8
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 0x1c
push 0
push 0
push 3
push 0x1009fc09
push 0x1009fc09
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 0x10071833
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.10077b60
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.10077b60
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x1c
Function at 0x10071850
Capabilities:
Check http status code
Read data from internet
Receive data

Disassembly:
sub esp, 0x40
mov eax, dword [0x100cd8ec]
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.10077b60
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 0x100718af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._CORE__XWInetGet::ProxyAuthentication__HttpQueryInfo_fail___d_
jmp 0x100719b3
mov eax, dword [esp + 0xc]
cmp eax, 0x191
je 0x100718f0
cmp eax, 0x197
je 0x100718f0
mov edx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication____END__0___
push edx
mov dword [edi + 0x84], eax
call fcn.10077b60
add esp, 8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10090e24
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 0x100718f7
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 0x1007196f
mov edx, dword [edi + 0x88]
push eax
push str._CORE__XWInetGet::ProxyAuthentication__InternetErrorDlg_fail___d__ERROR_INTERNET_FORCE_RETRY_
push edx
call fcn.10077b60
mov eax, dword [edi + 0x88]
push 0x2f00
push str._CORE__XWInetGet::ProxyAuthentication____END___d___
push eax
call fcn.10077b60
add esp, 0x18
pop edi
mov eax, 0x2f00
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10090e24
add esp, 0x40
ret 4
test eax, eax
jne 0x100719ad
mov ecx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication__InternetErrorDlg_success
push ecx
call fcn.10077b60
mov edx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication____END__0___
push edx
call fcn.10077b60
add esp, 0x10
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.10090e24
add esp, 0x40
ret 4
push eax
push str._CORE__XWInetGet::ProxyAuthentication__InternetErrorDlg_fail___d_
mov eax, dword [edi + 0x88]
push eax
call fcn.10077b60
mov ecx, dword [edi + 0x88]
push str._CORE__XWInetGet::ProxyAuthentication____END___1___
push ecx
call fcn.10077b60
mov ecx, dword [esp + 0x58]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
or eax, 0xffffffff
call fcn.10090e24
add esp, 0x40
ret 4
Function at 0x100719f0
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.10077b60
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 0x10071a9c
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.10077b60
mov edx, dword [edi + 0x88]
push str._CORE__XWInetGet::CheckProxyAuthentication____END___1___
push edx
call fcn.10077b60
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 0x10071ade
call ebp
cmp eax, 0x2f00
jne 0x10071ada
mov ecx, dword [edi + 0x88]
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpSendRequestEx_error___d__ERROR_INTERNET_FORCE_RETRY_
push ecx
call fcn.10077b60
add esp, 0xc
jmp 0x10071aa4
test eax, eax
jne 0x10071b3f
push 0
push 0
push 0
push ebx
call dword [sym.imp.WININET.dll_HttpEndRequestA]
test eax, eax
jne 0x10071b0f
call ebp
cmp eax, 0x2f00
mov edx, dword [edi + 0x88]
jne 0x10071b4e
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpEndRequest_error___d__ERROR_INTERNET_FORCE_RETRY_
push edx
call fcn.10077b60
add esp, 0xc
jmp 0x10071aa4
push ebx
mov ecx, edi
call fcn.10071850
mov esi, eax
test esi, esi
je 0x10071b69
cmp esi, 0x2f00
mov eax, dword [edi + 0x88]
jne 0x10071b57
push esi
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_ProxyAuthentication_error___d__ERROR_INTERNET_FORCE_RETRY_
push eax
call fcn.10077b60
add esp, 0xc
jmp 0x10071aa4
mov ecx, dword [edi + 0x88]
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpSendRequestEx_error___d_
push ecx
jmp 0x10071b5e
push eax
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_HttpEndRequest_error___d_
push edx
jmp 0x10071b5e
push esi
push str._CORE__XWInetGet::CheckProxyAuthentication__FAIL_:_ProxyAuthentication_error___d_
push eax
call fcn.10077b60
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.10077b60
add esp, 0xc
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x28
ret 0xc
Function at 0x10071ba0
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 0x10071c04
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x10071c10
mov ecx, dword [esi + 0x88]
push eax
push str._CORE__XWInetGet::InternetReadLine__InternetReadFile_Error___d__ERROR_INTERNET_FORCE_RETRY_
push ecx
call fcn.10077b60
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 0x10071bd0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
test eax, eax
je 0x10071c04
push eax
mov eax, dword [esi + 0x88]
push str._CORE__XWInetGet::InternetReadLine__InternetReadFile_Error___d_
push eax
call fcn.10077b60
add esp, 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 0xc

Function at 0x10071c40
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 0x10071ca4
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x10071cb0
mov ecx, dword [esi + 0x88]
push eax
push str._CORE__XWInetGet::InternetWriteLine__InternetWriteFile_Error___d__ERROR_INTERNET_FORCE_RETRY_
push ecx
call fcn.10077b60
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 0x10071c70
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
test eax, eax
je 0x10071ca4
push eax
mov eax, dword [esi + 0x88]
push str._CORE__XWInetGet::InternetWriteLine__InternetWriteFile_Error___d_
push eax
call fcn.10077b60
add esp, 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret 0xc
Function at 0x10075b70
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 0x10075c36
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
jle 0x10075c2d
cmp edx, 1
jne 0x10075c2d
cmp eax, 2
je 0x10075bb0
cmp dword [esi + 8], 0
je 0x10075c2d
mov edx, dword [esi + 0x90]
mov ecx, dword [esi + 0x88]
sub ecx, edx
cmp ebp, ecx
jle 0x10075bc8
mov edi, ecx
test edi, edi
je 0x10075c2d
cmp eax, 1
je 0x10075c1d
jle 0x10075c13
cmp eax, 3
jg 0x10075c13
mov ecx, dword [esi + 0xa8]
test ecx, ecx
mov eax, dword [esi + 8]
je 0x10075bed
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push ebp
push ebx
push eax
call edx
jmp 0x10075bfb
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 0x10075c40
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 0x10075cb5
mov edi, dword [esp + 0x14]
test edi, edi
jle 0x10075cb5
cmp edx, 2
jne 0x10075cb5
cmp eax, 1
je 0x10075cc6
mov edx, dword [esi + 8]
test edx, edx
je 0x10075cb5
cmp eax, 1
jle 0x10075cbd
cmp eax, 3
jg 0x10075cbd
mov ecx, dword [esi + 0xa8]
test ecx, ecx
je 0x10075c94
mov eax, dword [ecx]
push edi
push ebx
push edx
mov edx, dword [eax + 8]
call edx
jmp 0x10075ca2
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 0x10075cb7
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
Function at 0x10076310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1009d200
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x100cd8ec]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x1c], ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
push ebx
mov byte [esp + 0x20], 3
call fcn.100779c0
add esp, 4
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x1009fc09
mov dword [esi + 0xac], 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.10065760
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
add esp, 0x20
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
mov ecx, esi
mov byte [esi + 4], bl
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xb4], ebx
call fcn.10076060
test eax, eax
mov eax, esi
je 0x10076419
mov byte [esi + 4], bl
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 0x14

Function at 0x10076b80
Capabilities:
Resolve dns

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0x10
jb 0x10076b8e
mov eax, dword [esi + 0x24]
jmp 0x10076b91
lea eax, [esi + 0x24]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x10076bc8
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esi + 0x124]
push ecx
call sub.MSVCR80.dll_memcpy
movzx edx, word [esi + 0x3c]
add esp, 0xc
push edx
call sub.WS2_32.dll_htons
mov word [esi + 0x122], ax
pop esi
ret
cmp dword [esi + 0x38], 0x10
jb 0x10076bd3
mov eax, dword [esi + 0x24]
jmp 0x10076bd6
lea eax, [esi + 0x24]
push eax
call sub.WS2_32.dll_inet_addr
movzx edx, word [esi + 0x3c]
push edx
mov dword [esi + 0x124], eax
call sub.WS2_32.dll_htons
mov word [esi + 0x122], ax
pop esi
ret