joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e030365
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x2e030382
xor eax, eax
inc eax
leave
ret
mov eax, dword [ebp - 4]
and al, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
leave
ret

Function at 0x2e0306f5
Capabilities:
Connect to http server

Disassembly:
push ebx
push esi
xor ebx, ebx
call fcn.2e03e006
mov esi, 0x2e0c2e64
test eax, eax
je 0x2e030714
push esi
push 0x2e0042c0
call fcn.2e03fce6
pop ecx
pop ecx
mov eax, dword [0x2e0c386c]
test eax, eax
je 0x2e030722
mov ebx, 0x800000
neg eax
push 1
sbb eax, eax
push ebx
and eax, 0x16b
add eax, 0x50
push 3
movzx ecx, ax
mov eax, 0x2e0029cd
push eax
push eax
push ecx
push esi
push dword [0x2e0c2e30]
call dword [sym.imp.WININET.dll_InternetConnectA]
xor ecx, ecx
pop esi
mov dword [0x2e0c2e34], eax
mov dword [0x2e0c5ac8], 1
mov dword [0x2e0c2e3c], ecx
pop ebx
cmp eax, ecx
jne 0x2e03078b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x2e0307a4
call fcn.2e03e006
test eax, eax
je 0x2e030788
push 0x2e0042a8
call fcn.2e03fc59
xor eax, eax
ret
push ecx
push ecx
push 0x1427
push dword [0x2e0d75a8]
mov dword [0x2e0c5ac8], ecx
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
inc eax
ret

Function at 0x2e03081a
Capabilities:
Send data

Disassembly:
mov eax, dword [0x2e0c387c]
push edi
xor edi, edi
cmp eax, edi
jne 0x2e03083e
push edi
push edi
push 0x1427
push dword [0x2e0d75a8]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
inc eax
pop edi
ret
mov ecx, dword [0x2e0c3870]
push esi
push 0x2e0c3878
push dword [0x2e0c3874]
add ecx, eax
push ecx
push dword [0x2e0c2e38]
xor esi, esi
inc esi
mov dword [0x2e0c5ac8], esi
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x2e030896
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x2e0308be
call fcn.2e03e006
test eax, eax
je 0x2e030892
push edi
push 0x2e0042ec
call fcn.2e03fce6
pop ecx
pop ecx
xor eax, eax
jmp 0x2e0308c0
cmp dword [0x2e0c2e04], 3
mov dword [0x2e0c5ac8], edi
jne 0x2e0308ab
mov dword [0x2e0d75a0], esi
push edi
push edi
push 0x1427
push dword [0x2e0d75a8]
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, esi
pop esi
pop edi
ret

Function at 0x2e030cfd
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.2e030ca7
test eax, eax
je 0x2e030d5e
push dword [0x2e090544]
call fcn.2e03f63c
test eax, eax
jne 0x2e030d59
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
call fcn.2e03e006
test eax, eax
je 0x2e030d3d
push dword [0x2e090544]
push 0x2e004384
call fcn.2e03fce6
pop ecx
pop ecx
call fcn.2e03e006
test eax, eax
je 0x2e030d55
push dword [ebp - 4]
push 0x2e004360
call fcn.2e03fce6
pop ecx
pop ecx
xor eax, eax
jmp 0x2e030d70
xor eax, eax
inc eax
jmp 0x2e030d70
push 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
neg eax
sbb eax, eax
neg eax
leave
ret 4
Function at 0x2e031914
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
test eax, eax
je 0x2e0319d8
push ebx
push esi
push eax
call fcn.2e025e0d
mov esi, eax
inc esi
mov eax, esi
shl eax, 2
push eax
mov dword [ebp - 4], esi
call fcn.2e0441a3
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x2e0319d6
push esi
push ebx
push dword [edi]
call fcn.2e0272a0
mov esi, dword [edi]
mov dword [ebp + 8], ebx
xor eax, eax
cmp word [ebx], ax
je 0x2e03197d
cmp word [ebx], 0x7c
je 0x2e03196f
inc ebx
inc ebx
cmp word [ebx], ax
jne 0x2e031962
cmp word [ebx], ax
je 0x2e03197d
xor eax, eax
mov word [ebx], ax
inc ebx
inc ebx
jmp 0x2e03197f
xor ebx, ebx
push dword [ebp + 8]
call fcn.2e03e04f
cmp eax, 0xffffffff
jne 0x2e031997
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x2e0319c1
cmp esi, dword [edi]
je 0x2e0319a3
push 0x7c
pop eax
mov word [esi], ax
inc esi
inc esi
mov ecx, dword [ebp - 4]
mov eax, esi
sub eax, dword [edi]
sar eax, 1
sub ecx, eax
push ecx
push esi
push dword [ebp + 8]
call fcn.2e0272a0
push esi
call fcn.2e025e0d
lea esi, [esi + eax*2]
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x2e03195b
cmp esi, dword [edi]
jne 0x2e0319ce
and dword [edi], ebx
push dword [ebp - 8]
call fcn.2e0441d7
pop esi
pop ebx
pop edi
leave
ret 4
Function at 0x2e0319dd
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x460], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x2e031c21
mov eax, dword [esi]
test eax, eax
je 0x2e031c21
push eax
call fcn.2e025e0d
mov edi, eax
inc edi
mov eax, edi
shl eax, 2
push eax
mov dword [ebp - 0x468], edi
call fcn.2e0441a3
mov ebx, eax
mov dword [ebp - 0x46c], ebx
test ebx, ebx
je 0x2e031c24
push edi
push ebx
push dword [esi]
call fcn.2e0272a0
mov dword [ebp - 0x464], ebx
jmp 0x2e031a52
cmp word [ebx], 0x3b
je 0x2e031a58
inc ebx
inc ebx
cmp word [ebx], 0
jne 0x2e031a4a
cmp word [ebx], 0
mov edi, ebx
je 0x2e031a69
xor eax, eax
mov word [ebx], ax
inc ebx
inc ebx
jmp 0x2e031a6b
xor ebx, ebx
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x464]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x478], eax
cmp eax, 0xffffffff
je 0x2e031bf7
and dword [ebp - 0x470], 0
jmp 0x2e031aa4
movzx eax, word [edi]
test ax, ax
je 0x2e031ac7
cmp ax, 0x5c
je 0x2e031ab0
dec edi
dec edi
cmp edi, dword [ebp - 0x46c]
jae 0x2e031a96
jmp 0x2e031ac7
push dword [ebp - 0x464]
xor eax, eax
mov word [edi + 2], ax
call fcn.2e025e0d
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x468]
lea eax, [eax*4 + 0x400]
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x430]
push eax
call fcn.2e025e0d
mov edi, eax
add edi, dword [ebp - 0x470]
mov eax, 0x104
cmp edi, eax
jae 0x2e031bd0
xor ecx, ecx
mov word [ebp - 0x20c], cx
cmp dword [ebp - 0x470], ecx
je 0x2e031b24
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x464]
call fcn.2e0272a0
mov eax, 0x104
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x430]
push eax
call fcn.2e05e339
lea eax, [ebp - 0x20c]
push eax
call fcn.2e03f63c
test eax, eax
jne 0x2e031bd0
mov eax, dword [ebp - 0x460]
lea ecx, [edi + eax + 1]
cmp ecx, dword [ebp - 0x468]
jle 0x2e031b8f
push dword [ebp - 0x474]
push dword [esi]
call fcn.2e0442ba
test eax, eax
je 0x2e031c16
add dword [ebp - 0x468], 0x100
add dword [ebp - 0x474], 0x400
mov dword [esi], eax
mov eax, dword [ebp - 0x460]
test eax, eax
je 0x2e031ba3
mov ecx, dword [esi]
push 0x3b
pop edx
mov word [ecx + eax*2], dx
inc eax
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x468]
sub ecx, eax
lea edi, [eax + eax]
mov eax, dword [esi]
push ecx
add eax, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.2e0272a0
mov eax, dword [esi]
add eax, edi
push eax
call fcn.2e025e0d
add dword [ebp - 0x460], eax
lea eax, [ebp - 0x45c]
push eax
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x2e031ada
push dword [ebp - 0x478]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x464], ebx
test ebx, ebx
jne 0x2e031a52
cmp dword [ebp - 0x460], ebx
jne 0x2e031c16
push dword [esi]
call fcn.2e0441d7
and dword [esi], ebx
push dword [ebp - 0x46c]
call fcn.2e0441d7
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e06e7f2
leave
ret 4
Function at 0x2e036aad
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 8

Function at 0x2e03a90f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebx + 0xc], eax
je 0x2e03a932
push 0x14
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x2e03aa15
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.2e036ecf
mov eax, dword [0x2e0d1384]
mov esi, 0x447
cmp eax, dword [0x2e0d1380]
je 0x2e03a99c
push 1
push 0x66
push 4
push edi
call fcn.2e0382b4
push 1
push 0xa2
push 0x3ed
push edi
call fcn.2e0382b4
push 1
push 0xa3
push 3
push edi
call fcn.2e0382b4
push 1
push 0xb0
push esi
push edi
call fcn.2e0382b4
push 1
push 0xb1
push 0x453
push edi
call fcn.2e0382b4
cmp dword [ebx + 0x34], 0
je 0x2e03a9d2
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 4
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 4
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 3
push edi
call esi
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x2e03a9fd
mov eax, dword [ebx + 8]
test byte [eax], 2
je 0x2e03a9fd
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push esi
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, dword [ebp + 0xc]
and dword [ebx + 0x28], 0
push ebx
push edi
call fcn.2e03a7f6
push 0x3ec
push edi
call fcn.2e036aad
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x2e03d783
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
imul esi, esi, 0x18
xor ebx, ebx
cmp dword [esi + 0x2e090498], ebx
je 0x2e03d7be
mov ecx, dword [esi + 0x2e09049c]
cmp ecx, dword [ebp + 0x10]
jne 0x2e03d7be
xor eax, eax
inc eax
jmp 0x2e03d89b
push edi
push eax
push 0x2e001654
push 0x2e004d24
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov eax, dword [esi + 0x2e0904a8]
add esp, 0x14
cmp eax, ebx
je 0x2e03d813
cmp byte [eax], bl
je 0x2e03d813
push edi
lea eax, [ebp - 0x108]
push eax
push 0x2e00442c
call fcn.2e05e388
push edi
lea eax, [ebp - 0x108]
push eax
push dword [esi + 0x2e0904a8]
call fcn.2e05e388
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.2e07fd91
test eax, eax
je 0x2e03d878
push ebx
lea eax, [ebp - 0x110]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push dword [ebp - 0x114]
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x2e03d878
push 4
pop edi
push edi
lea eax, [ebp + 0x10]
push eax
push edi
push ebx
push dword [esi + 0x2e0904ac]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x2e03d87c
xor eax, eax
jmp 0x2e03d89a
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x2e09049c], eax
xor eax, eax
inc eax
mov dword [esi + 0x2e0904a0], edi
mov dword [esi + 0x2e090498], eax
mov dword [esi + 0x2e0904a4], ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.2e06e7f2
leave
ret 0xc

Function at 0x2e03dbbc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x2e03dbd1
xor eax, eax
jmp 0x2e03dc38
push edi
xor edi, edi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0xc], eax
cmp eax, ebx
je 0x2e03dc2b
cmp eax, edi
je 0x2e03dc2b
push edi
push eax
push edi
push 8
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [esi + 4], eax
cmp eax, edi
je 0x2e03dc2b
push edi
push edi
push edi
push 1
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi + 8], eax
cmp eax, edi
jne 0x2e03dc26
push dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [esi]
mov dword [esi + 4], edi
call ebx
or dword [esi], 0xffffffff
jmp 0x2e03dc35
xor eax, eax
inc eax
jmp 0x2e03dc37
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x2e03e04f
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
Function at 0x2e03e75a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x58], 0x44
call fcn.2e06e640
add esp, 0xc
push 0xfa0
push dword [0x2e0c5b0c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 8], ebx
je 0x2e03e7db
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push dword [0x2e0d1380]
call edi
mov esi, eax
inc esi
lea eax, [esi + esi]
push eax
lea eax, [ebp - 4]
push eax
call fcn.2e044308
test eax, eax
je 0x2e03e81e
push esi
push dword [ebp - 4]
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push dword [0x2e0d1380]
call edi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push dword [ebp - 4]
push 0x2e0c5d3c
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x2e03e80a
push dword [ebp - 4]
call fcn.2e04440f
cmp esi, ebx
je 0x2e03e81e
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x2e03eac4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x2e03ec8d
test byte [ebp + 0xc], 8
je 0x2e03ec8d
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x118]
push eax
call fcn.2e0378a0
test eax, eax
je 0x2e03ec8c
push edi
push esi
lea eax, [ebp - 0x118]
push eax
push 0x2e004e34
call fcn.2e05e388
push esi
lea eax, [ebp - 0x118]
push eax
push 0x2e004e2c
call fcn.2e05e388
push 1
push ebx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
je 0x2e03ec8b
push 0x2e004e14
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, ebx
je 0x2e03ec8b
push dword [ebp + 8]
sub esi, edi
push ebx
push 0x43a
mov dword [ebp - 0x124], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x2e03ec8b
lea eax, [ebp - 0x11c]
push eax
push ebx
push ebx
push edi
mov dword [ebp - 0x11c], ebx
call dword [0x2e0d86b0]
push dword [ebp - 0x11c]
call fcn.2e0441a3
mov dword [ebp - 0x120], eax
cmp eax, ebx
je 0x2e03ec84
lea ecx, [ebp - 0x11c]
push ecx
push dword [ebp - 0x11c]
push eax
push edi
call dword [0x2e0d86b0]
test eax, eax
je 0x2e03ec79
xor esi, esi
test dword [ebp - 0x11c], 0xfffffffc
jbe 0x2e03ec79
push 0x10
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x120]
push dword [eax + esi*4]
push edi
call dword [0x2e0d86bc]
test eax, eax
jle 0x2e03ec2e
lea eax, [ebp - 0x14]
push 0x2e004e2c
push eax
call fcn.2e06f014
pop ecx
pop ecx
test eax, eax
jne 0x2e03ec2e
push 0xc
lea eax, [ebp - 0x130]
push eax
mov eax, dword [ebp - 0x120]
push dword [eax + esi*4]
push edi
call dword [0x2e0d86b8]
test eax, eax
jne 0x2e03ec3e
mov eax, dword [ebp - 0x11c]
inc esi
shr eax, 2
cmp esi, eax
jb 0x2e03ebe3
jmp 0x2e03ec79
mov ecx, dword [ebp - 0x124]
mov eax, dword [ebp - 0x130]
add eax, ecx
lea ecx, [ebp - 0x124]
push ecx
push ebx
push ebx
push eax
push 0x10000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
cmp esi, ebx
je 0x2e03ec79
push 0xf
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x120]
call fcn.2e0441d7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.2e06e7f2
leave
ret 8

Function at 0x2e03f344
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
call fcn.2e027282
mov esi, eax
inc esi
push esi
call fcn.2e0441a3
mov edi, eax
test edi, edi
je 0x2e03f381
push esi
push edi
push dword [ebp + 8]
call fcn.2e025e30
lea eax, [ebp - 4]
push eax
push 0
push edi
push 0x2e03db3d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
leave
ret 4
Function at 0x2e03f63c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x2e03f651
xor eax, eax
jmp 0x2e03f654
and eax, 0x10
pop ebp
ret 4

Function at 0x2e03f909
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
cmp word [0x2e0d8278], 0
je 0x2e03f957
push esi
push 0x2e0d8278
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x2e03f956
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.2e025e0d
add eax, eax
push eax
push dword [ebp + 0xc]
push 0
push dword [ebp + 0x10]
push 0
push dword [ebp + 0x18]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
pop ebp
ret 0x14

Function at 0x2e03fbd3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
push edi
push edi
push 0x80
push 4
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call fcn.2e062071
mov esi, eax
cmp esi, 0xffffffff
jne 0x2e03fc28
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0x20
je 0x2e03fc15
cmp eax, 0x21
je 0x2e03fc15
cmp eax, 0x36
jne 0x2e03fc52
inc ebx
cmp ebx, 5
jge 0x2e03fc52
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2e03fbde
push 2
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.2e027282
push eax
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x2e03fe2d
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x96c
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x96c]
push 0
push eax
mov dword [ebp - 0x930], 0x824
call fcn.2e06e640
add esp, 0xc
lea eax, [ebp - 0x108]
mov dword [ebp - 0x96c], edi
mov dword [ebp - 0x95c], eax
mov dword [ebp - 0x958], 0x104
test esi, esi
je 0x2e03ffc6
mov edi, 0x10000000
push edi
lea eax, [ebp - 0x930]
push eax
lea eax, [ebp - 0x92c]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlA]
test eax, eax
je 0x2e03ffc6
lea eax, [ebp - 0x96c]
push eax
push edi
push dword [ebp - 0x930]
lea eax, [ebp - 0x92c]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
je 0x2e03ffc6
cmp dword [ebp - 0x960], 3
je 0x2e03fee5
cmp dword [ebp - 0x960], 4
jne 0x2e03ffc6
push dword [ebp - 0x95c]
call fcn.2e027282
mov esi, 0x2e004c28
push esi
mov ebx, eax
call fcn.2e027282
push eax
lea eax, [ebp - 0x92c]
push esi
push eax
call fcn.2e06f220
add esp, 0xc
test eax, eax
je 0x2e03ff36
mov esi, 0x2e004c30
push esi
call fcn.2e027282
push eax
lea eax, [ebp - 0x92c]
push esi
push eax
call fcn.2e06f220
add esp, 0xc
test eax, eax
jne 0x2e03ffc6
push esi
call fcn.2e027282
lea eax, [ebp + eax - 0x92c]
jmp 0x2e03ff4a
test cl, cl
je 0x2e03ffc6
inc eax
mov cl, byte [eax]
cmp cl, 0x2f
jne 0x2e03ff45
test cl, cl
je 0x2e03ffc6
mov eax, dword [ebp - 0x95c]
mov edi, 0x2e004fdc
push edi
lea esi, [ebx + eax]
call fcn.2e027282
cmp ebx, eax
jl 0x2e03ff85
push eax
mov ecx, esi
sub ecx, eax
push edi
push ecx
call fcn.2e06f220
add esp, 0xc
test eax, eax
jne 0x2e03ff85
xor eax, eax
inc eax
jmp 0x2e03ffc8
mov edi, 0x2e004fd0
push edi
call fcn.2e027282
cmp ebx, eax
jl 0x2e03ffa5
push eax
sub esi, eax
push edi
push esi
call fcn.2e06f220
add esp, 0xc
test eax, eax
je 0x2e03ff80
mov esi, 0x2e004fc0
push esi
call fcn.2e027282
cmp ebx, eax
jne 0x2e03ffc6
push esi
push dword [ebp - 0x95c]
call fcn.2e06f014
pop ecx
pop ecx
test eax, eax
je 0x2e03ff80
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e06e7f2
leave
ret 4
Function at 0x2e0402cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
je 0x2e040379
cmp dword [ebp + 8], esi
je 0x2e040379
mov edi, 0x10000
push edi
call fcn.2e0441a3
mov ebx, eax
cmp ebx, esi
je 0x2e040379
push edi
push esi
push ebx
call fcn.2e06e640
add esp, 0xc
push 0x8000
push ebx
push dword [ebp + 8]
call fcn.2e03e281
test eax, eax
jne 0x2e040324
push ebx
call fcn.2e0441d7
mov eax, esi
jmp 0x2e04037b
push esi
push esi
push esi
push 1
push dword [ebp + 0x10]
push esi
push 0x40000000
push dword [ebp + 0xc]
call fcn.2e062071
mov edi, eax
cmp edi, 0xffffffff
jne 0x2e040382
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x20
je 0x2e040359
cmp eax, 0x21
je 0x2e040359
cmp eax, 0x36
jne 0x2e040373
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jge 0x2e04036d
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0x32
jl 0x2e040324
push ebx
call fcn.2e0441d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push esi
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 8]
push eax
push ebx
call fcn.2e025e0d
add eax, eax
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
inc esi
jmp 0x2e04031a

Function at 0x2e0403b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0xc], edi
je 0x2e04045e
cmp dword [ebp + 8], edi
je 0x2e04045e
mov esi, 0x8000
push esi
call fcn.2e0441a3
mov ebx, eax
cmp ebx, edi
je 0x2e04045e
push esi
push edi
push ebx
call fcn.2e06e640
add esp, 0xc
push esi
push ebx
push dword [ebp + 8]
call fcn.2e03e22e
test eax, eax
jne 0x2e04040b
push ebx
call fcn.2e0441d7
mov eax, edi
jmp 0x2e040460
push edi
push edi
push edi
push 1
push edi
push edi
push 0x40000000
push dword [ebp + 0xc]
call fcn.2e062071
mov esi, eax
cmp esi, 0xffffffff
jne 0x2e040467
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
cmp eax, 0x20
je 0x2e04043e
cmp eax, 0x21
je 0x2e04043e
cmp eax, 0x36
jne 0x2e040458
inc dword [ebp - 4]
cmp dword [ebp - 4], 5
jge 0x2e040452
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 4], 0x32
jl 0x2e04040b
push ebx
call fcn.2e0441d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
push edi
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
lea eax, [ebp - 8]
push eax
push ebx
call fcn.2e027282
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
inc edi
jmp 0x2e040401