joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4086c3
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x18c]
sub esp, 0x20c
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x188], eax
push esi
push edi
mov edi, dword [ebp + 0x194]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x80], ax
lea eax, [ebp - 0x7e]
push eax
call fcn.00441830
add esp, 0xc
call fcn.00425809
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x408771
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x408771
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push str.SoftMgr
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x408771
push str.SoftManager.exe
lea eax, [ebp - 0x80]
push eax
call esi
test eax, eax
je 0x408771
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408771
push 5
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.00407fb1
add esp, 0xc
mov ecx, dword [ebp + 0x188]
pop edi
xor ecx, ebp
pop esi
call fcn.004420f4
add ebp, 0x18c
leave
ret

Function at 0x408788
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.00425809
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x408804
push str...ipc360boxmain.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x408804
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408804
push 5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00407fb1
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret

Function at 0x408811
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.00425809
mov eax, dword [eax + 8]
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x40888d
push str.360realpro.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x40888d
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40888d
push 5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00407fb1
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret
Function at 0x408cae
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.0040815a
push str.SiteAccess
call fcn.00407544
mov dword [ebp - 0x10], eax
mov dword [esp], str.ExecAccess
call fcn.00407544
mov dword [ebp - 8], eax
mov dword [esp], str.MonAccess
call fcn.00407544
mov dword [ebp - 4], eax
mov dword [esp], str.UDiskAccess
call fcn.00407544
pop ecx
xor ebx, ebx
push 4
mov dword [ebp - 0x1c], eax
pop esi
cmp dword [ebp - 0x10], ebx
je 0x408d13
cmp dword [ebp - 8], ebx
je 0x408d2a
cmp dword [ebp - 4], ebx
je 0x408d2a
cmp eax, ebx
je 0x408d2e
xor edi, edi
jmp 0x408d35
cmp dword [ebp - 8], ebx
jne 0x408d26
cmp dword [ebp - 4], ebx
jne 0x408d26
cmp eax, ebx
jne 0x408d26
xor edi, edi
inc edi
jmp 0x408d35
push 2
jmp 0x408d30
cmp eax, ebx
jne 0x408d33
push 3
pop edi
jmp 0x408d35
mov edi, esi
call fcn.00407121
test eax, eax
jne 0x408d47
call fcn.004070cd
test eax, eax
je 0x408d54
call fcn.0040737b
cmp eax, 2
jne 0x408d54
xor ebx, ebx
inc ebx
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push str.NoNotiLeak
push 0x4850b8
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [ebp - 0xc], 1
setne al
push eax
call fcn.0040743d
push eax
push ebx
push dword [ebp - 4]
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
push dword [ebp - 8]
push str.protect1_d_2_d_3_d_4_d_5_d_6_d_7_d
push dword [ebp + 8]
call fcn.004017ce
add esp, 0x24
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408e2f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ecx, ecx
push 2
mov eax, 0x400
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424946
mov ebx, dword [ebp + 0x10]
pop ecx
mov edi, eax
test ebx, ebx
jne 0x408e5f
mov ebx, 0x4851c0
test edi, edi
je 0x408eb8
push dword [ebp + 0x18]
push esi
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 2]
cmp eax, ecx
jb 0x408ea2
push edi
call fcn.0042493b
add esi, esi
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00424946
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x408e63
test edi, edi
je 0x408eb8
mov ecx, dword [ebp + 0x14]
push edi
call fcn.004017a9
push edi
call fcn.0042493b
pop ecx
jmp 0x408ec1
mov ecx, dword [ebp + 0x14]
push ebx
call fcn.004017a9
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x408ec6
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00443860
push 0xffffffffffffffff
push 0x47e0a9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00425809
mov eax, dword [eax + 8]
mov esi, 0x400
push esi
lea ecx, [ebp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push esi
push eax
call fcn.00443979
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
add esp, 0x10
lea eax, [ebp + 0x800]
push eax
call edi
lea eax, [ebp + 0x800]
push eax
call edi
push esi
push str.360Ver.dll
lea eax, [ebp + 0x800]
push esi
push eax
call fcn.0044388b
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.00423b67
and dword [ebp - 4], 0
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x408f94
lea eax, [ebp + 0x800]
push eax
lea ecx, [ebp - 0x20]
call fcn.00423bcb
test eax, eax
lea eax, [ebp + 0x800]
jne 0x408f97
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.004017a9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00423ba4
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.004420f4
add ebp, 0x1004
leave
ret

Function at 0x40974f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x4097b6
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4097b6
mov eax, dword [esi + 0xc]
mov dword [esi + 8], edi
test eax, eax
je 0x409779
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [esi + 0xc], eax
test eax, eax
je 0x4097b6
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x18], eax
lea eax, [esi + 0x10]
push eax
mov ecx, esi
call fcn.0040956c
xor eax, eax
inc eax
jmp 0x4097b8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x409c88
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.00409ac5
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x409cd9
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x2c], eax
cmp eax, edi
je 0x409cd9
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x409a1a
push edi
push edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
cmp eax, edi
je 0x409cd0
xor eax, eax
inc eax
jmp 0x409cdb
push dword [esi + 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x40a0b4
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x54
push ebx
call fcn.00409dea
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x40a0d1
xor eax, eax
jmp 0x40a17a
push edi
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40a0e9
xor eax, eax
jmp 0x40a179
push esi
push 0x1c
pop esi
lea eax, [ebp - 0x54]
push eax
push edi
mov dword [ebp - 0x54], esi
call sub.KERNEL32.dll_Thread32First
jmp 0x40a16a
cmp dword [ebp - 0x54], 0x10
jb 0x40a15d
cmp dword [ebp - 0x48], ebx
jne 0x40a15d
push dword [ebp - 0x4c]
push 0
push 0x40
call dword [sym.imp.KERNEL32.dll_OpenThread]
test eax, eax
je 0x40a15d
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
test eax, eax
je 0x40a15d
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.0040a05a
lea eax, [ebp - 0x54]
push eax
push edi
mov dword [ebp - 0x54], esi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x40a0fc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x40a243
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x40a252
xor al, al
jmp 0x40a2b9
cmp dword [ebp + 0xc], 0
je 0x40a24e
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x40a26e
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x40a272
xor al, al
jmp 0x40a2b8
and dword [ebp + 8], 0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x40
push edi
push ebx
call esi
test eax, eax
je 0x40a2ab
push edi
push dword [ebp + 0xc]
push ebx
call fcn.00442620
and dword [ebp + 0x10], 0
add esp, 0xc
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 8]
push edi
push ebx
call esi
test eax, eax
jne 0x40a2b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x40a2b7
mov al, 1
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x40faa2
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x1b0]
sub esp, 0x230
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x1ac], eax
push ebx
push esi
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 2
mov edi, eax
mov dword [ebp - 0x80], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, ebx
jne 0x40fae3
xor eax, eax
jmp 0x40fb4b
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40fafe
cmp dword [ebp - 0x78], edi
je 0x40fb04
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40faef
jmp 0x40fb42
mov edi, dword [ebp - 0x68]
test edi, edi
je 0x40fb42
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40fb26
cmp dword [ebp - 0x78], edi
je 0x40fb2c
lea eax, [ebp - 0x80]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40fb17
jmp 0x40fb42
push str.ZhuDongFangYu.exe
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x40fb42
xor ebx, ebx
inc ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov ecx, dword [ebp + 0x1ac]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004420f4
add ebp, 0x1b0
leave
ret

Function at 0x40fc23
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0xffffffff
push esi
mov esi, ecx
mov dword [ebp - 0x210], esi
jne 0x40fc51
push esi
call fcn.0040f9fd
pop ecx
jmp 0x40fcfe
push ebx
push edi
push str.deepscancloudsec2.dll
lea eax, [ebp - 0x20c]
push 0x208
push eax
xor edi, edi
xor ebx, ebx
call fcn.00408052
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call fcn.00402344
cmp eax, edi
je 0x40fc9b
push str.DSAsyncEvaluateExec
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x40fc9b
push esi
push 1
call eax
mov ebx, eax
cmp ebx, edi
jne 0x40fcfc
push 8
call fcn.0042490c
mov esi, eax
pop ecx
cmp esi, edi
je 0x40fcb2
mov ecx, esi
call fcn.00401578
jmp 0x40fcb4
xor esi, esi
cmp esi, edi
jne 0x40fcbc
xor eax, eax
jmp 0x40fcfc
push dword [ebp - 0x210]
mov ecx, esi
call fcn.004017a9
push edi
push edi
push esi
push 0x40fb63
push edi
push edi
mov dword [esi + 4], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, edi
je 0x40fcfa
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40fcfa
mov ebx, dword [esi + 4]
push 1
mov ecx, esi
call fcn.00408a83
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004420f4
leave
ret
Function at 0x40fd0b
Capabilities:
Accept command line arguments

Disassembly:
push 8
mov eax, 0x47ed0b
call fcn.00442103
push 0x488290
lea ecx, [ebp - 0x10]
call fcn.0040a470
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
test edi, edi
je 0x40fd6b
cmp dword [ebp - 0x14], 1
jle 0x40fd6b
xor esi, esi
inc esi
cmp dword [ebp - 0x14], esi
jle 0x40fd6b
push 0x48828c
lea ecx, [ebp - 0x10]
call fcn.0040909b
push dword [edi + esi*4]
lea ecx, [ebp - 0x10]
call fcn.00408e0a
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x40fd4d
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x10]
push 0xbb8
call fcn.0040fc23
pop ecx
test eax, eax
jne 0x40fd9f
mov esi, dword [ebp - 0x10]
call fcn.0040fb7d
test eax, eax
jne 0x40fd9f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401100
xor eax, eax
jmp 0x40fdad
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401100
xor eax, eax
inc eax
call fcn.004421db
ret

Function at 0x411360
Capabilities:
Get file size

Disassembly:
push 8
mov eax, 0x47ee18
call fcn.00442103
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [edi + 8]
push ebx
push ebx
push 0x80
push 4
push 3
push SysReAllocString
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040a2ec
test eax, eax
je 0x4113ab
cmp dword [ebp - 0x10], ebx
je 0x4113a7
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x411414
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [ebp - 0x14], ebx
jne 0x4113e8
cmp eax, 0x64
jb 0x4113e8
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040a351
test eax, eax
jne 0x4113e8
push 0x64
lea esi, [edi + 0xc]
push esi
lea ecx, [ebp - 0x10]
call fcn.00410918
test eax, eax
jne 0x4113e8
cmp dword [esi], 1
jge 0x411403
mov ecx, edi
call fcn.0041102f
mov esi, eax
cmp dword [ebp - 0x10], ebx
je 0x4113ff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x411414
cmp dword [ebp - 0x10], ebx
je 0x411411
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
call fcn.004421db
ret

Function at 0x4140c5
Capabilities:
Parse url

Disassembly:
xor edx, edx
cmp dword [esp + 4], edx
je 0x414111
mov eax, dword [esp + 8]
cmp eax, edx
je 0x414111
push eax
push edx
xor ecx, ecx
inc ecx
push edx
push dword [esp + 0x10]
mov dword [eax], 0x3c
mov dword [eax + 8], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 4], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x1c], edx
mov dword [eax + 0x24], edx
mov dword [eax + 0x2c], edx
mov dword [eax + 0x34], edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
jmp 0x414113
xor eax, eax
ret 8
Function at 0x414116
Capabilities:
Check http status code

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
push edi
xor ebp, ebp
mov edi, ecx
mov dword [esp + 0x10], ebp
mov dword [eax], ebp
lea esi, [edi + 0x220]
push ebp
push ebp
push ebp
push ebp
push ebx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
push esi
push 0x13
push ebx
mov ecx, edi
call fcn.00414098
test eax, eax
je 0x41418d
mov eax, dword [esi]
cmp eax, 0xc8
je 0x4141b5
cmp eax, 0x197
jne 0x41418d
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push ebp
push 7
push 0x2eee
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, ebp
je 0x4141a5
cmp eax, 0x4c7
je 0x414199
cmp eax, 0x2f00
jne 0x41418d
cmp dword [edi + 0x21c], ebp
je 0x414133
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, dword [esp + 0x1c]
mov dword [eax], 1
jmp 0x41418d
mov dword [esi], 0xc8
mov dword [esp + 0x10], 1
jmp 0x41418d
xor eax, eax
inc eax
jmp 0x414191

Function at 0x41420e
Capabilities:
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x39c], eax
mov eax, dword [ebp + 0x3ac]
push ebx
mov ebx, dword [ebp + 0x3a8]
push esi
push edi
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x6c]
push eax
push 5
xor edi, edi
push ebx
mov esi, ecx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], edi
call fcn.00414098
test eax, eax
je 0x41425c
mov dword [ebp - 0x78], 1
push 4
mov ecx, esi
mov dword [ebp - 0x68], edi
call fcn.004141ba
mov dword [ebp - 0x70], edi
jmp 0x4142d7
lea eax, [ebp - 0x74]
push eax
push 0x400
lea eax, [ebp - 0x64]
push eax
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4142df
cmp dword [ebp - 0x74], edi
je 0x4142df
cmp dword [ebp - 0x7c], 0xffffffff
je 0x4142a5
push edi
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x74]
add dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x70]
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4142c7
push 5
push dword [ebp - 0x6c]
mov ecx, esi
push dword [ebp - 0x68]
call fcn.004141d9
inc dword [ebp - 0x70]
cmp dword [ebp - 0x78], edi
je 0x4142d7
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jae 0x4142df
cmp dword [esi + 0x21c], edi
je 0x41426d
push 6
mov ecx, esi
call fcn.004141ba
mov ecx, dword [ebp + 0x39c]
xor eax, eax
cmp dword [esi + 0x21c], edi
pop edi
sete al
pop esi
xor ecx, ebp
pop ebx
call fcn.004420f4
add ebp, 0x3a0
leave
ret 8
Function at 0x41430d
Capabilities:
Check if file exists
Connect to http server
Create http request

Disassembly:
push ebp
lea ebp, [esp - 0x1d4]
sub esp, 0x254
mov eax, dword [0x4ad40c]
xor eax, ebp
mov dword [ebp + 0x1d0], eax
mov eax, dword [ebp + 0x1e0]
push ebx
mov ebx, dword [ebp + 0x1dc]
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], edi
mov dword [esi + 0x21c], edi
mov dword [esi + 0x220], edi
cmp ebx, edi
je 0x414514
call fcn.00408af0
test eax, eax
je 0x414514
cmp dword [esi + 0x21c], 1
je 0x414514
cmp dword [esi + 0x10], edi
jne 0x4143b6
call fcn.00403426
mov eax, dword [eax + 0xe8]
cmp eax, edi
je 0x414393
push 0x1388
push dword [ebp - 0x34]
push ebx
call eax
add esp, 0xc
jmp 0x414395
xor eax, eax
cmp eax, edi
je 0x414514
push dword [ebp - 0x34]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414514
xor eax, eax
inc eax
jmp 0x414516
lea eax, [ebp - 0x80]
push eax
push ebx
mov ecx, esi
mov dword [ebp - 0x3c], edi
call fcn.004140c5
test eax, eax
je 0x414514
cmp dword [ebp - 0x74], 3
jne 0x414514
or dword [ebp - 0x38], 0xffffffff
cmp dword [ebp - 0x34], edi
je 0x414404
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
je 0x41450f
lea eax, [esi + 0x14]
cmp word [eax], di
jne 0x414411
mov eax, str.Mozila_4.0__compatible__MSIE_5.0__360Safe_
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x34], eax
cmp eax, edi
je 0x4144dd
cmp dword [esi + 0x21c], edi
jne 0x4144dd
push eax
mov ecx, esi
call fcn.00414048
push 2
mov ecx, esi
call fcn.004141ba
push dword [ebp - 0x6c]
lea eax, [ebp - 0x30]
push dword [ebp - 0x70]
push pe_nt_image_headers32
push eax
call fcn.004022b6
push edi
push edi
push 3
push edi
push edi
push dword [ebp - 0x68]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebx, eax
cmp ebx, edi
je 0x4144df
cmp dword [esi + 0x21c], edi
jne 0x4144df
push edi
push 0x84000100
push 0x4ab748
push edi
push 0x488768
push dword [ebp - 0x54]
push edi
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x3c], eax
cmp eax, edi
je 0x4144df
cmp dword [esi + 0x21c], edi
jne 0x4144df
lea ecx, [ebp - 0x44]
push ecx
push eax
mov ecx, esi
call fcn.00414116
test eax, eax
je 0x4144df
cmp dword [esi + 0x220], 0xc8
jne 0x4144df
cmp dword [esi + 0x21c], edi
jne 0x4144df
push dword [ebp - 0x38]
mov ecx, esi
push dword [ebp - 0x3c]
call fcn.0041420e
mov dword [ebp - 0x40], eax
jmp 0x4144df
mov ebx, edi
cmp dword [ebp - 0x38], 0xffffffff
je 0x4144ee
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [ebp - 0x3c], edi
je 0x4144fe
push dword [ebp - 0x3c]
call esi
cmp ebx, edi
je 0x414505
push ebx
call esi
cmp dword [ebp - 0x34], edi
je 0x41450f
push dword [ebp - 0x34]
call esi
mov eax, dword [ebp - 0x40]
jmp 0x414516
xor eax, eax
mov ecx, dword [ebp + 0x1d0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004420f4
add ebp, 0x1d4
leave
ret 8