joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b920
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437140
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x453358]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.0041b6b0
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x3c]
push eax
call ecx
mov edx, dword [esi + 0x70]
mov edi, dword [ebp + 8]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x30]
push edx
call eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], edx
mov ecx, dword [esi + 0x98]
mov dword [edi + 8], ecx
mov edx, dword [esi + 0x9c]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x40]
push eax
call ecx
mov ecx, dword [edi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
sub ecx, eax
mov eax, dword [edi + 0x14]
sbb eax, edx
mov dword [edi + 0x1c], eax
xor eax, eax
mov dword [edi + 0x18], ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
call ebx
mov ecx, eax
sub ecx, dword [esi + 0x7c]
cmp ecx, 0x3e8
jl 0x41b9dd
mov eax, 0x10624dd3
imul ecx
mov ecx, dword [edi + 0x1c]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
push edx
mov edx, dword [edi + 0x18]
push eax
push ecx
push edx
call fcn.00435280
mov dword [esi + 0x64], eax
cmp dword [esi + 0x78], 1
jne 0x41b9ec
mov dword [edi + 0x40], 0
jmp 0x41b9f2
mov eax, dword [esi + 0x68]
mov dword [edi + 0x40], eax
mov cl, byte [esi + 0x78]
mov byte [edi + 0x45], cl
cmp dword [esi + 0x80], 0xffffffff
je 0x41ba53
call ebx
sub eax, dword [esi + 0x7c]
cmp eax, dword [esi + 0x80]
jbe 0x41ba53
cmp dword [esi + 0x78], 6
jne 0x41ba53
mov eax, 3
mov dword [esi + 0x78], eax
mov byte [edi + 0x45], al
mov edx, dword [esi + 0x70]
mov eax, dword [esi + 0x18]
xor edi, edi
push edx
mov dword [ebp - 4], edi
call eax
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x1c]
add esp, 4
push ecx
call edx
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0xc]
add esp, 4
push eax
call ecx
add esp, 4
mov dword [esi + 0x70], edi
jmp 0x41ba6f
mov esi, dword [esi + 0x78]
cmp esi, 5
jl 0x41ba6f
cmp esi, 8
jle 0x41ba6b
cmp esi, 9
jne 0x41ba6f
mov byte [edi + 0x45], 4
jmp 0x41ba6f
mov byte [edi + 0x45], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41bb70
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0041b440
mov edi, dword [esp + 0xc]
push 0
push edi
mov ecx, 0x450820
call fcn.0042f770
test eax, eax
je 0x41bb98
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x6c]
test eax, eax
jne 0x41bba6
pop edi
xor al, al
pop esi
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.HttpCreateDownloadObj
push eax
mov byte [esi + 0x74], 0
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x6c]
push str.HttpDeleteDownloadObj
push eax
call edi
mov ecx, dword [esi + 0x6c]
push str.HttpInitDownPara
push ecx
mov dword [esi + 0xc], eax
call edi
mov edx, dword [esi + 0x6c]
push str.HttpDownload
push edx
mov dword [esi + 0x10], eax
call edi
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x6c]
push str.HttpCancel
push eax
call edi
mov ecx, dword [esi + 0x6c]
push str.HttpWait
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 0x6c]
push str.HttpResetAll
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x6c]
push str.HttpGetState
push eax
call edi
mov ecx, dword [esi + 0x6c]
push str.HttpGetConnectState
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 0x6c]
push str.HttpGetContentLength
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x6c]
push str.HttpGetReceivedLength
push eax
call edi
mov ecx, dword [esi + 0x6c]
push str.HttpGetLastError
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 0x6c]
push str.HttpDownloadExW
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x6c]
push str.HttpGetResumedLength
push eax
call edi
mov ecx, dword [esi + 0x6c]
push str.HttpGetCurrentSpeed
push ecx
mov dword [esi + 0x40], eax
call edi
mov edx, dword [esi + 0x6c]
push str.HttpGetLastErrorW
push edx
mov dword [esi + 0x3c], eax
call edi
mov dword [esi + 0x34], eax
pop edi
mov al, 1
pop esi
ret 4
Function at 0x420700
Capabilities:
Check http status code
Create http request

Disassembly:
sub esp, 0x4c
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x54]
push ebx
mov ebx, dword [esp + 0x54]
push edi
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x420745
pop edi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434fc4
add esp, 0x4c
ret 8
push ebp
push esi
push 0
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
je 0x4207d5
mov ebp, dword [sym.imp.WININET.dll_InternetErrorDlg]
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push 0x13
push esi
mov dword [esp + 0x28], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4207f3
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
cmp eax, 0x197
je 0x4207a0
cmp eax, 0x191
jne 0x4207f3
mov ecx, dword [esp + 0x10]
push 0
push 7
push 0x2eee
push esi
push ecx
call ebp
cmp eax, 0x2f00
jne 0x4207f3
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
test esi, esi
jne 0x420763
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00434fc4
add esp, 0x4c
ret 8
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
mov ecx, dword [esp + 0x58]
pop esi
pop ebp
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00434fc4
add esp, 0x4c
ret 8

Function at 0x4214f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x40], eax
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x4214e0
push 0
push 0
mov dword [esi + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x44], eax
test eax, eax
jne 0x42153b
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x40], 0
pop esi
pop ecx
ret

Function at 0x4219f0
Capabilities:
Hide graphical window

Disassembly:
push esi
push 5
push 0
push 0
push 0xffffd8f0
push 0xffffd8f0
mov esi, ecx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [esp + 8]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x4224e7
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x3c
push esi
mov esi, ecx
cmp eax, 0xf020
je 0x422578
cmp eax, 0xf120
je 0x42250a
push 0
call fcn.004216d0
pop esi
add esp, 0x3c
ret 0xc
mov eax, dword [esi + 0x18]
test eax, eax
je 0x42252b
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov ecx, dword [esi + 4]
lea eax, [esp + 4]
add esi, 4
push eax
push ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esp + 0xc], 0
jg 0x4225f4
push 0
mov ecx, esi
call fcn.0040e200
pop esi
add esp, 0x3c
ret 0xc
mov edx, dword [esi + 0x41c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x422597
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4225b8
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4225b8
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esi + 0x20]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_CallWindowProcW]
cmp dword [esi + 0x668], 0
je 0x4225f4
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
xor eax, eax
mov dword [esi + 0x668], 0
mov dword [esi + 0x66c], eax
mov dword [esi + 0x670], eax
mov dword [esi + 0x674], eax
mov dword [esi + 0x678], eax
pop esi
add esp, 0x3c
ret 0xc
Function at 0x422d30
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4377ab
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x3ac], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x3c4]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3d8]
mov esi, ecx
cmp dword [esi + 0x664], 0
je 0x422d81
xor ebp, ebp
jmp 0x422d88
mov ebp, dword [esp + 0x3d4]
mov eax, dword [0x453d5c]
push 0xca
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x3a4
lea ecx, [esp + 0x20]
push 0
push ecx
mov ebx, eax
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x3e8]
mov eax, dword [esi + 4]
add esp, 0xc
neg edx
sbb edx, edx
and edx, 0xc
add edx, 7
mov dword [esp + 0x18], 0x3a8
mov dword [esp + 0x20], 0x81
mov dword [esp + 0x24], edx
mov dword [esp + 0x3bc], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], 0x7e9
mov dword [esp + 0x338], 0x1388
test ebp, ebp
je 0x422eb9
test edi, edi
je 0x422ec6
mov esi, dword [sym.imp.MSVCR90.dll_wcsncpy]
push pe_nt_image_headers32
lea ecx, [esp + 0x13c]
push edi
push ecx
call esi
push 0x80
lea edx, [esp + 0x40]
push edi
push edx
call esi
mov eax, dword [0x4444f4]
add esp, 0x18
mov dword [esp + 0x14], eax
mov ecx, 0x453828
mov dword [esp + 0x3cc], 0
call fcn.00408080
mov ecx, eax
call fcn.004307d0
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.00409500
mov edi, dword [esp + 0x14]
push 0x40
lea ecx, [esp + 0x340]
push edi
push ecx
call esi
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
add esp, 0xc
lea edx, [esp + 0x18]
push edx
push 1
call esi
test eax, eax
jne 0x422e95
lea eax, [esp + 0x18]
push eax
push 0
call esi
lea ecx, [edi - 0xc]
cmp ecx, dword [0x4444f0]
je 0x422ec6
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x422ec6
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
jmp 0x422ec6
lea edx, [esp + 0x18]
push edx
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x3c4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3ac]
xor ecx, esp
call fcn.00434fc4
add esp, 0x3bc
ret 0xc
Function at 0x422fe0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.00421850
mov ecx, 0x453828
call fcn.00408080
mov ecx, eax
call fcn.00431f10
imul eax, eax, 0x3e8
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push 0
push eax
mov eax, dword [esi + 4]
push 0x2710
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push 0x7d0
push 0x2713
push ecx
call edi
mov edx, dword [esi + 4]
push 0
push 0xea60
push 0x2714
push edx
call edi
pop edi
pop esi
ret
push esi
mov esi, ecx
mov dword [esi + 0x65c], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x453828
mov dword [esi + 0x67c], eax
call fcn.00432310
mov ecx, eax
call fcn.0041db60
test eax, eax
jne 0x423024
push 1
push eax
push eax
mov ecx, esi
call fcn.00422d30
push 2
mov ecx, esi
call fcn.00421ed0
pop esi
ret
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x453828
call fcn.00408080
mov ecx, eax
call fcn.004307d0
mov ecx, dword [eax + 4]
add eax, 4
push 0
push ecx
push 1
mov ecx, esi
call fcn.00422d30
mov ecx, esi
pop esi
jmp 0x421f70

Function at 0x425210
Capabilities:
Resume thread

Disassembly:
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push ebp
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
lea eax, [edi + 0x21]
jne 0x42523f
test eax, eax
je 0x42522f
add eax, 0xffffffdf
jmp 0x425231
xor eax, eax
mov eax, dword [eax + 4]
push 0x3ef
push eax
call ebx
mov dword [edi + 0x40], eax
mov eax, dword [edi + 0x28]
cmp dword [eax - 8], 0
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
je 0x425255
mov ecx, dword [edi + 4]
push eax
push ecx
call esi
cmp dword [edi + 0x2c], 0
jne 0x42526b
mov edx, dword [edi + 4]
push 0x3ee
push edx
call ebx
push 0
push eax
call esi
mov eax, dword [edi + 0x40]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x820000
push 0
push 0x401
push eax
call ebx
mov ecx, dword [edi + 0x40]
push 0
push 0x1e
push 0x402
push ecx
call ebx
mov edx, dword [edi + 4]
push 0
push 0xc8
lea esi, [edi + 4]
push 0x2710
push edx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
mov ecx, esi
call fcn.0040e200
mov edi, dword [edi + 0x3c]
test edi, edi
je 0x4252c2
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, dword [0x453d5c]
push 0
push 0xc
call edi
push eax
push 0xb
call edi
push eax
push 1
push 0x80
push ebp
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
call ebp
push eax
mov eax, dword [esi]
push 1
push 0x80
push eax
call ebx
mov ecx, dword [0x453d5c]
push 0
push 0x32
mov dword [esp + 0x18], ecx
call edi
push eax
push 0x31
call edi
mov edx, dword [esp + 0x18]
push eax
push 1
push 0x80
push edx
call ebp
push eax
mov eax, dword [esi]
push 0
push 0x80
push eax
call ebx
mov ecx, dword [esi]
push 0
push ecx
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esi, eax
test esi, esi
je 0x42534e
push 3
push 0xf060
push esi
call dword [sym.imp.USER32.dll_EnableMenuItem]
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret 8
Function at 0x427a20
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x414
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push esi
mov esi, dword [eax]
mov eax, dword [esi - 8]
test eax, eax
jne 0x427a5f
xor eax, eax
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.00434fc4
add esp, 0x414
ret 4
cmp eax, 0x104
jg 0x427a45
push 0x410
lea eax, [esp + 8]
push 0
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0x2710
push 0x43afc8
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
je 0x427a45
lea edx, [esp + 4]
push 0x43afc4
push edx
call dword [sym.imp.MSVCR90.dll__wfopen]
add esp, 8
test eax, eax
je 0x427a45
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
mov eax, 1
call fcn.00434fc4
add esp, 0x414
ret 4
Function at 0x42d3f0
Capabilities:
Create directory
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x437ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0x98], 0
je 0x42d42d
xor eax, eax
jmp 0x42d555
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
cmp dword [eax - 8], 0
jne 0x42d443
mov eax, 2
jmp 0x42d555
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x42d458
mov eax, 4
jmp 0x42d555
mov eax, dword [esi]
cmp dword [eax - 8], 4
jl 0x42d550
movzx ecx, word [eax + 2]
cmp cx, 0x3a
jne 0x42d550
xor ebp, ebp
push ebp
push eax
push ebp
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jne 0x42d51a
lea ebp, [eax + 1]
mov edx, dword [0x4444f4]
xor edi, edi
mov dword [esp + 0x3c], edx
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x38], edi
call fcn.0042c920
mov ebx, dword [esp + 0x38]
test eax, eax
je 0x42d4e2
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x40]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
call fcn.00427d60
mov ecx, eax
call fcn.00410d20
test al, al
je 0x42d4e2
mov edi, 6
test ebp, ebp
je 0x42d4ef
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test edi, edi
jne 0x42d50d
mov edx, dword [esp + 0x3c]
cmp dword [edx - 8], edi
je 0x42d50d
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00428f30
lea ecx, [esp + 0x3c]
call fcn.00410b70
mov eax, edi
jmp 0x42d555
cmp eax, 0x50
je 0x42d539
cmp eax, 0xb7
je 0x42d539
xor ecx, ecx
cmp eax, 5
sete cl
lea ecx, [ecx*4 + 1]
mov eax, ecx
jmp 0x42d555
push esi
mov ecx, ebx
call fcn.00427a20
test eax, eax
jne 0x42d488
mov eax, 5
jmp 0x42d555
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
Function at 0x42e4c0
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
jne 0x42e4d0
mov eax, 1
ret
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x60], ecx
mov dword [eax + 0x64], ecx
xor eax, eax
ret
Function at 0x42ef80
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x48
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push esi
mov esi, dword [esp + 0x54]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x42f07a
push edi
push 0
push 0
push 3
push 0
push 0
push 0x50
push str.update.360safe.com
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
test edi, edi
jne 0x42efe8
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00434fc4
add esp, 0x48
ret 4
push 0
push 0x8440c100
push 0
push 0
push str.HTTP_1.1
push esi
push 0x43b250
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x42f017
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
jmp 0x42f077
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x42f04d
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
call ebx
push edi
call ebx
push esi
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00434fc4
add esp, 0x48
ret 4
push 0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x13
push esi
mov dword [esp + 0x20], 0x40
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push ebx
call esi
pop edi
mov ecx, dword [esp + 0x4c]
pop esi
pop ebx
xor ecx, esp
call fcn.00434fc4
add esp, 0x48
ret 4

Function at 0x42f440
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
push 0
push 1
mov esi, ecx
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 4], eax
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x42f430
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov dword [esi + 0x38], 1
pop esi
pop ecx
ret

Function at 0x430740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x438224
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x50]
mov dword [esp + 0x14], 4
call fcn.0042fe10
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 3
call fcn.0042fe10
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.0042fe10
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.0042fe10
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 0
call fcn.0042fe10
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.0042fe10
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4308f0
Capabilities:
Check for time delay via gettickcount
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4370db
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x453358]
xor eax, esp
mov dword [esp + 0x238], eax
push ebp
push esi
push edi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
test byte [0x45393c], 1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
jne 0x41b2c9
or dword [0x45393c], 1
call edi
mov dword [0x453938], eax
call edi
sub eax, dword [0x453938]
cmp eax, 0x2710
jae 0x41b2df
xor eax, eax
jmp 0x41b3cf
call edi
mov dword [0x453938], eax
mov eax, dword [esi + 4]
cmp dword [eax - 8], 0
je 0x41b2d8
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x41b2d8
push 0x22c
lea ecx, [esp + 0x20]
push 0
push ecx
mov byte [esp + 0x1f], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x24], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x41b3c3
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea esp, [esp]
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.00409f80
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], 0
push ecx
mov dword [esp + 0x25c], 0
mov dword [esp + 0x20], esp
mov ecx, esp
jl 0x41b376
mov dword [ecx], eax
add eax, 0xfffffff4
push eax
call ebp
jmp 0x41b387
mov edx, dword [0x4444f4]
mov dword [ecx], edx
mov eax, dword [esi + 4]
push eax
call fcn.00409560
mov ecx, esi
mov dword [esp + 0x25c], 0xffffffff
call fcn.0041b050
test eax, eax
je 0x41b3ad
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041aeb0
test eax, eax
jne 0x41b3be
lea edx, [esp + 0x1c]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41b340
jmp 0x41b3c3
mov byte [esp + 0x13], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.00434fc4
add esp, 0x248
ret
add ecx, 0x1bc
jmp 0x41b270

Function at 0x430ee0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4382df
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x453358]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0042fe60
lea ecx, [esi + 0x10]
mov dword [esp + 0x14], 0
call fcn.0042fe60
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 1
call fcn.0042fe60
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 2
call fcn.0042fe60
lea ecx, [esi + 0x40]
mov byte [esp + 0x14], 3
call fcn.0042fe60
lea ecx, [esi + 0x50]
mov byte [esp + 0x14], 4
call fcn.0042fe60
push 0xac
lea ecx, [esi + 4]
mov byte [esp + 0x18], 5
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
call fcn.00409a10
push 0xad
lea ecx, [esi + 0x14]
call fcn.00409a10
push 0xae
lea ecx, [esi + 0x24]
call fcn.00409a10
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret