joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a710
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42a7ae
cmp esi, 0xffffffff
je 0x42a7ae
mov ecx, dword [eax + 8]
cmp ecx, 4
jne 0x42a753
xor eax, eax
push eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov byte [esp + 0xc], al
mov byte [esp + 5], 0x5a
push 8
lea eax, [esp + 8]
jmp 0x42a7a6
mov edx, 5
cmp ecx, 1
je 0x42a761
cmp ecx, edx
jne 0x42a7ae
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov word [esp + 8], ax
mov byte [esp], dl
mov byte [esp + 3], 1
cmp ecx, edx
jne 0x42a77f
mov byte [esp + 1], dl
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 8], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0xc], ax
push 0xa
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004a314d
add esp, 0x10
ret
Function at 0x42b770
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58c2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ebp + 8]
add edx, 0x58
lea ecx, [esp + 0x14]
call fcn.0042ef60
test eax, eax
je 0x42b8ae
lea ecx, [ecx]
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x42b866
lea edi, [esi + 4]
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi + 0x802c], ebx
setne al
call fcn.0042c880
push eax
lea eax, [esi + 8]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x8034]
lea edx, [esp + 0x28]
push edx
push 1
lea eax, [esi + 0x24]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x42b866
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 0x20], eax
cmp eax, 0x3e5
je 0x42b866
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x42b839
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov esi, dword [esi + 0x8094]
mov ecx, dword [esi + 0xc]
mov esi, dword [esp + 0x14]
push ecx
push ebx
push 1
call fcn.0042edb0
mov edx, dword [esp + 0x20]
mov dword [esi + 0x803c], edx
lea esi, [esp + 0x14]
call fcn.0042d4b0
mov esi, dword [esp + 0x14]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], ebx
jne 0x42b8eb
mov dword [esp + 0x30], 0xffffffff
cmp esi, ebx
je 0x42b892
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x42b892
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x14]
lea edx, [edi + 0x58]
call fcn.0042ef60
test eax, eax
jne 0x42b7c0
mov dword [esp + 0x30], 0xffffffff
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x42b8d6
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42b8d6
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x30], 0xffffffff
jmp 0x42b8ba
Function at 0x42b900
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58c278
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], edi
mov edx, dword [ebp + 8]
add edx, 0x18
lea ecx, [esp + 0x14]
call fcn.0042ef60
test eax, eax
je 0x42ba52
lea ecx, [ecx]
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x42ba06
mov eax, dword [esi + 0x8040]
lea ebx, [esi + 0x8040]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x8038]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x42ba8f
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp dword [esi + 0x802c], 0
sete al
call fcn.0042c890
mov edx, dword [esp + 0x18]
push eax
lea ecx, [esi + 8]
push ecx
push 0
push ebx
push 1
lea eax, [esi + 0x24]
push eax
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
jne 0x42ba04
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x3e5
je 0x42ba04
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42b9da
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esi + 0x8050], ebx
mov esi, dword [esi + 0x8094]
mov eax, dword [esi + 0xc]
mov esi, dword [esp + 0x14]
push eax
push 0
push 2
call fcn.0042edb0
lea esi, [esp + 0x14]
call fcn.0042d4b0
mov esi, dword [esp + 0x14]
xor edi, edi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x14], edi
jne 0x42bab7
mov dword [esp + 0x28], 0xffffffff
cmp esi, edi
je 0x42ba36
lea edx, [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, edi
jne 0x42ba36
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], edi
lea ecx, [esp + 0x14]
lea edx, [ebx + 0x18]
call fcn.0042ef60
test eax, eax
jne 0x42b950
mov dword [esp + 0x28], 0xffffffff
mov esi, dword [esp + 0x14]
cmp esi, edi
je 0x42ba7a
lea ecx, [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42ba7a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esi + 0x8094]
mov ecx, dword [esi + 0xc]
mov esi, dword [esp + 0x14]
push ecx
push edi
push 3
call fcn.0042edb0
lea esi, [esp + 0x14]
call fcn.0042d4b0
mov esi, dword [esp + 0x14]
jmp 0x42ba06
mov dword [esp + 0x28], 0xffffffff
cmp esi, edi
je 0x42ba7a
lea eax, [esi + 4]
push eax
jmp 0x42ba66
Function at 0x42c270
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xffffffffffffffff
push 0x58b340
mov eax, dword fs:[0]
push eax
push ebp
push esi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42c41e
cmp byte [eax + 0x8091], 0
jne 0x42c2c3
mov eax, dword [eax + 0x8094]
add eax, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
test edi, edi
je 0x42c375
mov ecx, dword [esp + 0x24]
mov esi, eax
mov eax, dword [eax + 0x8038]
push ecx
call fcn.0042bf70
mov dword [esi + 0x8050], eax
mov edx, dword [esp + 0x24]
mov dword [edx + 0x8058], edi
mov eax, dword [esp + 0x24]
add esp, 4
cmp dword [eax + 0x8058], 0
jne 0x42c315
test ebx, ebx
jne 0x42c315
mov dword [eax + 0x8058], 0x55d4a8a
mov eax, dword [esp + 0x20]
mov edx, dword [eax + 0x8094]
mov edx, dword [edx + 0xc]
add eax, 0x8094
xor ecx, ecx
test edx, edx
jle 0x42c3e8
mov ecx, dword [eax]
cmp dword [ecx + 0x10], 0xffffcfc7
jne 0x42c34f
mov eax, ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 0x10], ecx
mov edx, dword [esp + 0x20]
mov esi, dword [edx + 0x8094]
call ebp
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x20]
mov esi, dword [eax + 0x8094]
call ebp
mov ecx, dword [esi + 0x14]
sub eax, ecx
cmp eax, 0x2710
jae 0x42c3db
mov eax, 0x1388
call fcn.00493180
mov eax, dword [esp + 0x20]
add eax, 0x8068
add dword [eax], ebx
adc dword [eax + 4], 0
mov eax, dword [esp + 0x20]
inc dword [eax + 0x8074]
mov esi, dword [esp + 0x20]
call fcn.0042eec0
test ebx, ebx
je 0x42c3a6
mov ecx, dword [esp + 0x20]
mov esi, dword [ecx + 0x8094]
call ebp
mov dword [esi + 8], eax
mov edx, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], esp
test eax, eax
je 0x42c3c5
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x1c], 0
call fcn.0042c460
jmp 0x42c41e
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x8094]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov dword [edx + 0x8044], eax
mov esi, dword [esp + 0x20]
xor edx, edx
cmp dword [esi + 0x802c], edx
push ecx
mov ecx, dword [esp + 0x30]
setne dl
push ecx
lea edx, [edx + edx + 5]
push edx
call fcn.0042edb0
lea esi, [esp + 0x20]
call fcn.0042d4b0
mov dword [esp + 0x14], 0xffffffff
mov esi, dword [esp + 0x20]
test esi, esi
je 0x42c44a
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x42c44a
test esi, esi
je 0x42c44a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0xc
ret 0x14
Function at 0x42c5c0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 0xc
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 8]
push eax
push 0x1002
push 0xffff
push esi
mov dword [esp + 0x18], 0x8000
call edi
push 4
lea ecx, [esp + 8]
push ecx
push 0x1001
push 0xffff
push esi
call edi
push 4
lea edx, [esp + 0xc]
push edx
push 0xffffff7f
push 0xffff
push esi
mov dword [esp + 0x1c], 0
call edi
push 4
lea eax, [esp + 0x10]
push eax
push 1
push 6
push esi
mov dword [esp + 0x20], 1
call edi
mov al, 1
pop edi
add esp, 0xc
ret
Function at 0x42e6c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x58239b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x42c]
mov dword fs:[0], eax
push 0x104
lea ecx, [esp + 0x224]
xor eax, eax
push ecx
mov word [esp + 0x228], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x220]
push edx
lea eax, [esp + 0x1c]
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.dnsapi.dll
lea ecx, [esp + 0x1c]
push ecx
call ebp
lea edx, [esp + 0x18]
push edx
call fcn.004939b0
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
mov dword [esp + 0x434], 0
test esi, esi
je 0x42e780
push 0
push esi
push 0x601e64
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x42e77a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x220]
push eax
lea ecx, [esp + 0x1c]
push ecx
call ebx
push str.iphlpapi.dll
lea edx, [esp + 0x1c]
push edx
call ebp
lea eax, [esp + 0x18]
push eax
call fcn.004939b0
add esp, 4
mov edi, eax
test esi, esi
je 0x42e7b5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x14], edi
test edi, edi
je 0x42e7dc
push 0
push edi
push 0x601e68
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x42e7d6
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x220]
push ecx
lea edx, [esp + 0x1c]
push edx
call ebx
push str._secur32.dll
lea eax, [esp + 0x1c]
push eax
call ebp
lea ecx, [esp + 0x18]
push ecx
call fcn.004939b0
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
add esp, 4
mov esi, eax
test edi, edi
je 0x42e813
push edi
call ebp
mov dword [esp + 0x14], esi
test esi, esi
jne 0x42e82b
mov dword [esp + 0x434], 0xffffffff
lea eax, [esi + 2]
jmp 0x42e89b
push str.InitSecurityInterfaceA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x42e850
mov dword [esp + 0x434], 0xffffffff
push esi
call ebp
mov eax, 2
jmp 0x42e89b
call eax
mov edi, eax
test edi, edi
je 0x42e83b
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push esi
push 0x601e8c
call ebx
test eax, eax
je 0x42e87c
mov dword [esp + 0x434], 0xffffffff
push esi
call ebp
jmp 0x42e899
push 0
push edi
push 0x601e90
call ebx
mov dword [esp + 0x14], 0
mov dword [esp + 0x434], 0xffffffff
xor eax, eax
mov ecx, dword [esp + 0x42c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004a314d
add esp, 0x424
ret
Function at 0x42e8d0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x19c
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x194], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x42e93b
mov eax, dword [esp]
cmp al, 2
jne 0x42e935
shr eax, 8
cmp al, 2
jne 0x42e935
push 0
push 1
push 0x601e6c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x42e91e
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.004a314d
add esp, 0x19c
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x194]
xor ecx, esp
mov eax, 2
call fcn.004a314d
add esp, 0x19c
ret

Function at 0x42e960
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x118
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push 0x605fc0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call fcn.0042e6c0
test eax, eax
je 0x42e9a4
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004a314d
add esp, 0x118
ret
call fcn.0042e8d0
test eax, eax
jne 0x42e989
mov eax, 0x601ea8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e9b5
sub eax, edx
jne 0x42ea44
push 0x104
push eax
mov byte [esp + 0x14], al
lea eax, [esp + 0x15]
push eax
call fcn.004add60
mov edx, dword [0x601e70]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push str.......cacert.dat
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42ea44
mov eax, 0x601ea8
lea esi, [esp + 0xc]
mov edx, 0x118
sub esi, eax
lea ecx, [edx + 0x7ffffee6]
test ecx, ecx
je 0x42ea3c
mov cl, byte [esi + eax]
test cl, cl
je 0x42ea3c
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x42ea21
jmp 0x42ea40
test edx, edx
jne 0x42ea41
dec eax
mov byte [eax], 0
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004a314d
add esp, 0x118
ret
Function at 0x42f240
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x110
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x10c], eax
cmp dword [0x603864], 1
push esi
mov esi, ecx
jne 0x42f27b
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.004a314d
add esp, 0x110
ret
push 0x103
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call fcn.004add60
add esp, 0xc
push str.360Net.dll
push esi
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
test eax, eax
je 0x42f48b
lea edx, [esp + 4]
push edx
call section..text
add esp, 4
test eax, eax
je 0x42f48b
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x603860], eax
test eax, eax
je 0x42f48b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpCreateDownloadObj
push eax
call esi
mov ecx, dword [0x603860]
push str.HttpDeleteDownloadObj
push ecx
mov dword [0x603868], eax
call esi
mov edx, dword [0x603860]
push str.HttpInitDownPara
push edx
mov dword [0x60386c], eax
call esi
mov dword [0x603870], eax
mov eax, dword [0x603860]
push str.HttpDownload
push eax
call esi
mov ecx, dword [0x603860]
push str.HttpCancel
push ecx
mov dword [0x603874], eax
call esi
mov edx, dword [0x603860]
push str.HttpWait
push edx
mov dword [0x603878], eax
call esi
mov dword [0x60387c], eax
mov eax, dword [0x603860]
push str.HttpResetAll
push eax
call esi
mov ecx, dword [0x603860]
push str.HttpGetConnectState
push ecx
mov dword [0x603880], eax
call esi
mov edx, dword [0x603860]
push str.HttpGetContentLength
push edx
mov dword [0x603884], eax
call esi
mov dword [0x603888], eax
mov eax, dword [0x603860]
push str.HttpGetReceivedLength
push eax
call esi
mov ecx, dword [0x603860]
push str.HttpGetResumedLength
push ecx
mov dword [0x60388c], eax
call esi
mov edx, dword [0x603860]
push str.HttpDownloadExA
push edx
mov dword [0x603890], eax
call esi
mov dword [0x603894], eax
mov eax, dword [0x603860]
push str.HttpDownloadExW
push eax
call esi
mov ecx, dword [0x603860]
push str.HttpGetStateA
push ecx
mov dword [0x603898], eax
call esi
mov edx, dword [0x603860]
push str.HttpGetStateW
push edx
mov dword [0x60389c], eax
call esi
mov dword [0x6038a0], eax
mov eax, dword [0x603860]
push str.HttpGetLastErrorA
push eax
call esi
mov dword [0x6038a4], eax
push str.HttpGetLastErrorW
mov ecx, dword [0x603860]
push ecx
call esi
mov edx, dword [0x603860]
push str.HttpGetCurrentSpeed
push edx
mov dword [0x6038a8], eax
call esi
mov dword [0x6038ac], eax
mov eax, dword [0x603860]
push str.HttpGetMD5
push eax
call esi
mov ecx, dword [0x603860]
push str.HttpGetAllPeer
push ecx
mov dword [0x6038b0], eax
call esi
cmp dword [0x603868], 0
mov dword [0x6038b4], eax
mov dword [0x603864], 1
je 0x42f48b
cmp dword [0x603898], 0
je 0x42f48b
cmp dword [0x603878], 0
je 0x42f48b
cmp dword [0x60387c], 0
je 0x42f48b
cmp dword [0x60386c], 0
jne 0x42f260
mov ecx, dword [esp + 0x110]
pop esi
xor ecx, esp
xor eax, eax
call fcn.004a314d
add esp, 0x110
ret
Function at 0x42f4b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58b2da
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 4], 0
jne 0x42f64a
mov edi, str.360EntHttpProxyNet.dll
lea esi, [esp + 0x10]
call fcn.004065f0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42f55d
cmp byte [0x604814], al
jne 0x42f536
mov ecx, dword [esp + 0x10]
push ecx
push str.Not_find_360EntHttpProxyNet.dll_path:_s
lea ebx, [eax + 3]
mov ecx, 0x604408
call fcn.00446e90
add esp, 8
mov byte [0x604814], 1
mov dword [esp + 0x20], 0xffffffff
lea edx, [esp + 0x10]
push edx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x10]
push eax
call section..text
add esp, 4
test eax, eax
jne 0x42f5aa
push str.MyCheck360Sign_360EntHttpProxyNet.dll_failed
lea ebx, [eax + 3]
mov ecx, 0x604408
call fcn.00446e90
add esp, 4
mov dword [esp + 0x20], 0xffffffff
lea ecx, [esp + 0x10]
push ecx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.360EntHttpProxyNet.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebx], eax
test eax, eax
jne 0x42f611
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx], eax
test eax, eax
jne 0x42f611
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadLibrary_360EntHttpProxyNet.dll_failed__lasterror:__u
mov ebx, 3
mov ecx, 0x604408
call fcn.00446e90
add esp, 8
mov dword [esp + 0x20], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.EntHttpProxyDownload
push ecx
call esi
mov edx, dword [ebx]
push str.EntHttpProxyStop
push edx
mov dword [ebx + 8], eax
call esi
mov dword [ebx + 0xc], eax
mov dword [ebx + 4], 1
mov dword [esp + 0x20], 0xffffffff
lea eax, [esp + 0x10]
push eax
call fcn.00403090
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x430d00
Capabilities:
Get disk size

Disassembly:
sub esp, 0x1c
push ebx
push ebp
lea eax, [esp + 8]
push eax
mov eax, dword [0x603dfc]
xor ebx, ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
mov ebp, 1
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [edi], ebx
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x430d5f
mov ecx, dword [0x603e00]
mov edx, dword [0x603e04]
inc ecx
dec edx
mov dword [edi], ecx
mov dword [esi], edx
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
shrd eax, ecx, 0x14
mov dword [edi], eax
mov eax, dword [esp + 0x14]
shr ecx, 0x14
sub edx, dword [esp + 0x18]
sbb eax, dword [esp + 0x1c]
shrd edx, eax, 0x14
shr eax, 0x14
mov eax, ebp
pop ebp
mov dword [esi], edx
pop ebx
add esp, 0x1c
ret
Function at 0x4367b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58df76
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x470]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x43680d
xor eax, eax
jmp 0x4369ce
mov esi, dword [esi]
push 0x5d2c50
push esi
call fcn.004a3a26
mov edi, eax
add esp, 8
test edi, edi
je 0x436806
lea ecx, [esp + 0x48]
push ecx
call fcn.0040bb10
mov dword [esp + 0x478], 0
push edi
lea edx, [esp + 0x68]
push 0x400
push edx
call fcn.004a3f4f
add esp, 0xc
test eax, eax
je 0x4369aa
lea eax, [esp + 0x20]
push eax
call fcn.00462370
mov ebx, 1
mov byte [esp + 0x478], bl
lea ecx, [esp + 0x20]
push ecx
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
push edx
mov ecx, 0x5d3b64
call fcn.00402fe0
mov byte [esp + 0x480], 2
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
push eax
lea ecx, [esp + 0x74]
call fcn.00402fe0
mov byte [esp + 0x484], 3
mov byte [esp + 0x484], bl
lea esi, [esp + 0x54]
call fcn.0040bd40
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 2
cmp eax, ebx
jbe 0x43697b
mov eax, dword [esp + 0x2c]
push ecx
add eax, 4
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
push ecx
call fcn.00406380
mov byte [esp + 0x47c], 4
mov edx, dword [esp + 0x34]
sub edx, dword [esp + 0x30]
sar edx, 2
test edx, edx
ja 0x4368f5
call fcn.004a35f3
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [esp + 0x24], esp
push ecx
push eax
call fcn.00406380
mov byte [esp + 0x480], 5
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x484], bl
call fcn.0043a510
add esp, 0xc
mov byte [esp + 0x478], 6
lea ecx, [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0043a230
mov byte [esp + 0x478], 7
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.00437130
mov byte [esp + 0x478], 6
lea ecx, [esp + 0x38]
push ecx
call fcn.00436a00
mov byte [esp + 0x478], 1
lea edx, [esp + 0x40]
push edx
call fcn.00436a00
mov ebx, 1
mov byte [esp + 0x478], 0
lea eax, [esp + 0x20]
push eax
call fcn.0040ac80
push edi
lea ecx, [esp + 0x68]
push 0x400
push ecx
call fcn.004a3f4f
add esp, 0xc
test eax, eax
jne 0x436853
jmp 0x4369af
mov ebx, 1
push edi
call fcn.004a3dc4
add esp, 4
mov dword [esp + 0x478], 0xffffffff
lea ecx, [esp + 0x48]
call fcn.0040bbf0
mov eax, ebx
mov ecx, dword [esp + 0x470]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.004a314d
mov esp, ebp
pop ebp
ret