joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428560
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x410
mov edx, dword [eax]
mov eax, dword [edx - 8]
test eax, eax
jne 0x42857c
add esp, 0x410
ret 4
cmp eax, 0x104
jle 0x42858e
xor eax, eax
add esp, 0x410
ret 4
push edi
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push ecx
push 0x2710
push 0x4c21b0
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
pop edi
jne 0x4285c6
xor eax, eax
add esp, 0x410
ret 4
lea edx, [esp]
push 0x4c21ac
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
jne 0x4285e6
add esp, 0x410
ret 4
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
add esp, 0x410
ret 4
Function at 0x42abe0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x42ad2e
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp edi, 1
jne 0x42ac2f
push 1
call fcn.0042ab90
push ebp
mov ecx, esi
call fcn.0042ad40
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.0042ab80
test eax, eax
je 0x42ac50
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x111
jne 0x42ac50
cmp bx, 0x6a
jne 0x42ac50
mov ecx, esi
call fcn.0042b340
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x9c]
jne 0x42acd1
test eax, eax
je 0x42ac67
lea esi, [eax - 0x9c]
jmp 0x42ac69
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x42ac9e
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x42ac8f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42aca3
test ebx, ebx
jne 0x42ac9e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42aca3
cmp ebx, 1
je 0x42acf1
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x9c]
call fcn.0042b840
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x24
jne 0x42ad07
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x42acf1
cmp dword [eax + 0x18], ecx
je 0x42acf1
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
push ebp
push ebx
push edi
push edx
lea ecx, [esi + 0x20]
call fcn.00437aa0
test eax, eax
je 0x42ad2e
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x42c5a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x42c707
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
cmp edi, 1
jne 0x42c5ef
push 1
call fcn.0042c550
push ebp
mov ecx, esi
call fcn.0042c710
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.0042c540
test eax, eax
je 0x42c629
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x111
jne 0x42c629
cmp bx, 0x71
jne 0x42c610
mov ecx, esi
call fcn.0042cc80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp bx, 0x6a
jne 0x42c629
mov ecx, esi
call fcn.0042cc90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 5
lea eax, [esi + 0x9c]
jne 0x42c6aa
test eax, eax
je 0x42c640
lea esi, [eax - 0x9c]
jmp 0x42c642
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x42c677
mov edx, dword [esi + 4]
push 0xe801
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp ebx, 2
jne 0x42c668
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42c67c
test ebx, ebx
jne 0x42c677
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42c67c
cmp ebx, 1
je 0x42c6ca
mov eax, ebp
shr eax, 0x10
movsx ecx, ax
movsx edx, bp
push ecx
push edx
lea ecx, [esi + 0x9c]
call fcn.0042d120
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x24
jne 0x42c6e0
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x42c6ca
cmp dword [eax + 0x18], ecx
je 0x42c6ca
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
push ebp
push ebx
push edi
push edx
lea ecx, [esi + 0x20]
call fcn.00437aa0
test eax, eax
je 0x42c707
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x42cab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ab22b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
mov eax, dword [0x4c0080]
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [0x4cf6e8]
lea edx, [esp + 0x30]
push 0x100
push edx
mov eax, dword [ecx + 8]
xor ebx, ebx
push 0x93
push eax
mov dword [esp + 0x248], ebx
call dword [sym.imp.USER32.dll_LoadStringW]
cmp eax, ebx
jne 0x42cb0a
mov word [esp + 0x30], bx
mov ecx, 0x100
sub ecx, eax
cmp ecx, 1
jle 0x42cb3e
lea edx, [esp + 0x30]
test edx, edx
jne 0x42cb22
xor eax, eax
jmp 0x42cb2d
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00404780
jmp 0x42cb8c
push 0x1ff
lea ecx, [esp + 0x10]
mov esi, 0x200
call fcn.00404560
cmp eax, ebx
je 0x42cb81
push esi
push eax
push 0x93
call fcn.00404b30
mov edx, esi
sub edx, eax
cmp edx, 1
jg 0x42cb81
add esi, 0x100
lea ecx, [esp + 0xc]
lea eax, [esi - 1]
push eax
call fcn.00404560
cmp eax, ebx
jne 0x42cb55
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00404620
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [edi + 0x20]
lea esi, [edi + 0x20]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x38]
push 0xffffffffffffffd8
lea eax, [esp + 0x14]
push 0xffffffffffffffd8
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
add eax, 0xffffffd8
add ecx, 0xffffffec
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
add eax, 0xffffffb0
add ecx, 0xffffffe8
mov dword [esp + 0x24], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x20], eax
push ebx
mov dword [esp + 0x28], ecx
push 0x50000000
lea eax, [esp + 0x28]
push 0x71
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00438570
mov edx, dword [0x4c0084]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
lea ecx, [eax - 0xc]
neg esi
cmp ecx, edx
je 0x42cc5f
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42cc5f
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
mov ecx, dword [esp + 0x230]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x42df10
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
test eax, eax
push edi
mov esi, ecx
jne 0x42e0f4
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
cmp ebx, 1
jne 0x42df63
push 1
call fcn.0042dec0
push ebp
mov ecx, esi
call fcn.0042e100
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
mov ecx, esi
call fcn.0042deb0
test eax, eax
je 0x42e016
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x111
jne 0x42dfde
cmp di, 0x6f
jne 0x42df84
mov ecx, esi
call fcn.004301a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x6d
jne 0x42df9d
mov ecx, esi
call fcn.00430240
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x71
jne 0x42dfb6
mov ecx, esi
call fcn.00430250
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp di, 0x27d8
jb 0x42e016
cmp di, 0x283b
ja 0x42e016
and edi, 0xffff
mov ecx, esi
push edi
call fcn.00430270
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x18
jne 0x42e016
push 1
mov ecx, esi
call fcn.0042dec0
mov edx, dword [esi]
push ebp
push edi
mov ecx, esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x24]
mov ecx, esi
mov dword [eax], 0
call fcn.0042deb0
test eax, eax
je 0x42e016
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 5
lea eax, [esi + 0x9c]
jne 0x42e097
test eax, eax
je 0x42e02d
lea esi, [eax - 0x9c]
jmp 0x42e02f
xor esi, esi
mov cl, byte [eax + 0x1c]
test cl, cl
je 0x42e064
mov ecx, dword [esi + 4]
push 0xe801
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp edi, 2
jne 0x42e055
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42e069
test edi, edi
jne 0x42e064
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x42e069
cmp edi, 1
je 0x42e081
mov edx, ebp
shr edx, 0x10
movsx eax, dx
movsx ecx, bp
push eax
push ecx
lea ecx, [esi + 0x9c]
call fcn.00431ef0
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [edx], 0
mov eax, 1
pop ebx
ret 0x18
cmp ebx, 0x24
jne 0x42e0cd
mov edx, dword [eax + 0x14]
or ecx, 0xffffffff
cmp edx, ecx
je 0x42e0b7
cmp dword [eax + 0x18], ecx
je 0x42e0b7
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x1c], edx
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov eax, 1
pop ebx
ret 0x18
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push ecx
push ebp
push edi
push ebx
push edx
lea ecx, [esi + 0x20]
call fcn.00437aa0
test eax, eax
je 0x42e0f4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x431200
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x410
mov edx, dword [eax]
mov eax, dword [edx - 8]
test eax, eax
jne 0x43121c
add esp, 0x410
ret 4
cmp eax, 0x104
jle 0x43122e
xor eax, eax
add esp, 0x410
ret 4
push edi
mov ecx, 0x104
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea ecx, [esp + 4]
push ecx
push 0x2710
push 0x4c21b0
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp word [esp + 4], 0
pop edi
jne 0x431266
xor eax, eax
add esp, 0x410
ret 4
lea edx, [esp]
push 0x4c21ac
push edx
call dword [sym.imp.MSVCRT.dll__wfopen]
add esp, 8
test eax, eax
jne 0x431286
add esp, 0x410
ret 4
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
add esp, 0x410
ret 4
Function at 0x432b00
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
cmp eax, ecx
jne 0x432b10
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 0x433780
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0
mov esi, ecx
push 0
push 1
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 0x433920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
mov dword [esi + 0x30], 1
pop esi
pop ecx
ret

Function at 0x433ad0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
sub esp, 0x44
push ebx
push esi
push edi
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x433bb1
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 0x433b1e
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
pop esi
pop ebx
add esp, 0x44
ret 4
mov eax, dword [esp + 0x54]
push 0
push 0x8440c100
push 0
push 0
push str.HTTP_1.1
push eax
push 0x4c243c
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
test esi, esi
jne 0x433b5a
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebx
add esp, 0x44
ret 4
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x433b85
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
add esp, 0x44
ret 4
lea ecx, [esp + 0xc]
push 0
lea edx, [esp + 0x14]
push ecx
push edx
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
pop esi
pop ebx
add esp, 0x44
ret 4
Function at 0x436030
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4aba7b
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x144]
sub esp, 0x40c
push ebp
lea ebp, [ecx + 0x144]
mov ecx, dword [eax - 8]
push esi
xor esi, esi
push edi
cmp ecx, esi
jne 0x436214
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x10]
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push 0x26
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x436214
mov edx, dword [0x4c0080]
push ebx
mov dword [esp + 0x10], edx
mov eax, dword [0x4cf6e8]
mov ebx, dword [sym.imp.USER32.dll_LoadStringW]
lea ecx, [esp + 0x21c]
push 0x100
mov eax, dword [eax + 8]
push ecx
push 0x96
push eax
mov dword [esp + 0x434], esi
call ebx
cmp eax, esi
jne 0x4360cc
mov word [esp + 0x21c], si
mov edx, 0x100
sub edx, eax
cmp edx, 1
jle 0x436105
lea eax, [esp + 0x21c]
test eax, eax
je 0x4360f1
lea ecx, [esp + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [esp + 0x21c]
lea ecx, [esp + 0x10]
push edx
push eax
call fcn.00404780
jmp 0x436164
push 0x1ff
lea ecx, [esp + 0x14]
mov edi, 0x200
call fcn.00404560
mov esi, eax
test esi, esi
je 0x436159
mov eax, dword [0x4cf6e8]
push edi
push esi
push 0x96
mov eax, dword [eax + 8]
push eax
call ebx
test eax, eax
jne 0x436137
mov word [esi], ax
mov ecx, edi
sub ecx, eax
cmp ecx, 1
jg 0x436159
add edi, 0x100
lea ecx, [esp + 0x10]
lea edx, [edi - 1]
push edx
call fcn.00404560
mov esi, eax
test esi, esi
jne 0x43611e
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.00404620
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x14]
test eax, eax
jne 0x436185
xor ebx, ebx
jmp 0x436192
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [ebp]
cmp dword [eax - 0xc], 1
jg 0x4361a0
cmp ebx, dword [eax - 4]
jle 0x4361b3
mov ecx, ebp
call fcn.00404ac0
push ebx
mov ecx, ebp
call fcn.00404720
test eax, eax
je 0x4361e4
lea eax, [ebx + ebx]
lea edx, [ebx + ebx + 2]
cmp edx, eax
jb 0x4361d5
mov edi, dword [ebp]
mov ecx, eax
mov edx, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
mov dword [ecx - 8], ebx
mov edx, dword [ebp]
mov word [edx + eax], 0
mov eax, dword [esp + 0x10]
mov edx, dword [0x4c0084]
pop ebx
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x436214
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x436214
mov edx, dword [esp + 0xc]
add edx, 0xfffffff4
push edx
call fcn.0049c000
add esp, 4
mov ecx, dword [esp + 0x418]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x418
ret
Function at 0x437430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4abb18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
mov dword [esp + 0x80], ebx
call dword [eax + 4]
lea ecx, [esp + 0x38]
mov edi, eax
push ecx
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [esp + 0x30], eax
lea edx, [esp + 0x20]
mov dword [esp + 0x20], ebx
push edx
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
sub ebx, ebp
mov ebp, dword [esp + 0x28]
sub ebp, edi
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x30]
push ebx
mov edi, eax
push ebp
push ecx
mov dword [esp + 0x28], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edi
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x88], 4
call dword [edx + 8]
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x14]
mov edx, dword [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
push edi
push ebx
push ebp
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call ebx
test eax, eax
je 0x437568
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x43757b
push edi
call ebp
test eax, eax
je 0x43757b
xor edi, edi
test esi, esi
je 0x437582
push esi
call ebx
test edi, edi
je 0x437589
push edi
call ebp
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x78]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4
Function at 0x439a20
Capabilities:
Create process on windows
Parse pe header
Read file on windows
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.004a0d60
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 8]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x4c28b8
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov edi, dword [esp + 0x101c]
mov esi, dword [sym.imp.MSVCRT.dll_wcsncat]
push 0x800
lea ecx, [esp + 0x18]
push edi
push ecx
call esi
push 0x800
lea edx, [esp + 0x24]
push 0x4c288c
push edx
call esi
push 0x800
lea eax, [esp + 0x30]
push edi
push eax
call esi
push 0x800
lea ecx, [esp + 0x3c]
push str.vL
push ecx
call esi
mov edx, dword [esp + 0x1048]
push 0x800
lea eax, [esp + 0x48]
push edx
push eax
call esi
add esp, 0x48
lea ecx, [esp + 8]
push 0x800
push 0x4c284c
push ecx
call esi
add esp, 0xc
lea edx, [esp + 8]
push 0x14
push edi
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
cmp eax, 6
pop esi
jne 0x439af6
push 5
push 0
push 0
push str.http:__down.360safe.com_setup.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop

Function at 0x439b00
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x439b36
pop esi
xor eax, eax
pop ebx
add esp, 0x13c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 0x40
push edx
push esi
call edi
test eax, eax
je 0x439bb1
cmp dword [esp + 0xc], 0x40
jne 0x439bb1
cmp word [esp + 0x10], 0x5a4d
jne 0x439bb1
mov eax, dword [esp + 0x4c]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x4c]
jne 0x439bb1
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x58]
push 0xf8
push edx
push esi
call edi
test eax, eax
je 0x439bb1
cmp dword [esp + 0xc], 0xf8
jne 0x439bb1
cmp dword [esp + 0x50], 0x4550
jne 0x439bb1
cmp word [esp + 0x56], 0
je 0x439bb1
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x13c
ret

Function at 0x439c00
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x43b310
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x43da10
Capabilities:
Create thread

Disassembly:
push esi
push 1
mov esi, ecx
push str.SeManageVolumePrivilege
call fcn.0043f560
add esp, 8
lea ecx, [esi + 0x18]
push 0
push 0
push 0
push 0
push 0x4000
call fcn.0043f820
cmp eax, 1
je 0x43da40
xor eax, eax
pop esi
ret
push 0
push 0
push esi
push 0x43d480
push 0
push 0
mov dword [esi + 4], 1
call dword [sym.imp.MSVCRT.dll__beginthreadex]
xor ecx, ecx
add esp, 0x18
cmp ecx, eax
mov dword [esi], eax
sbb eax, eax
pop esi
neg eax
ret
Function at 0x43e540
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x43e56b
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, edi
or ecx, ebx
jne 0x43e584
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 8
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x43e59d
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x43e5b1
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x43e646
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x10]
push 0
push edx
push edi
push eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x43e5e6
mov ecx, esi
call fcn.0043f4c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43e60a
mov ecx, esi
call fcn.0043f4c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebx
add esp, 8
ret 8
mov eax, dword [0x4cfc20]
test eax, eax
je 0x43e646
mov edx, dword [esi + 0x20]
push ebx
push edi
push edx
call fcn.0043f4e0
add esp, 0xc
test eax, eax
je 0x43e646
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x43e632
mov esi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push esi
push str._DiskFile__set_file_valid_data_failed_file:_s__d
push 0x4d1048
call fcn.00453910
add esp, 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 8
ret 8