joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9ff0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
push esi
push edi
test ebx, ebx
je 0x4aa0d6
cmp word [ebx], 0x5c
jne 0x4aa0d6
cmp word [ebx + 2], 0x5c
jne 0x4aa0d6
mov eax, dword [0x5c49a4]
mov edi, 0x43
mov dword [ebp - 0xc], eax
mov ax, word [0x5c49a8]
mov word [ebp - 8], ax
lea eax, [ebp - 0xc]
mov word [ebp - 0xc], di
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x4aa0cb
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x104
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x4aa0cb
lea esi, [ebp - 0x214]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4aa087
sub esi, ecx
mov ecx, ebx
sar esi, 1
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa0a0
sub ecx, edx
sar ecx, 1
cmp ecx, esi
jbe 0x4aa0cb
push esi
lea eax, [ebp - 0x214]
push eax
push ebx
lfence
call fcn.0042228c
add esp, 0xc
test eax, eax
je 0x4aa0e9
inc edi
cmp di, 0x5a
jbe 0x4aa046
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0xc]
push eax
lfence
call fcn.0040bef0
mov ecx, dword [ebp - 0x21c]
lea eax, [ebx + esi*2]
push eax
call fcn.00439a10
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x4aa1b0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x218], eax
lea eax, [ebp - 0x214]
push eax
push esi
mov dword [ebp - 0x214], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x4aa2a4
test eax, eax
jne 0x4aa204
cmp dword [ebp - 0x214], eax
je 0x4aa2a4
push 0
push 1
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x4aa2a4
push edi
push 1
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x4aa29c
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetMappedFileNameW
test eax, eax
je 0x4aa295
lea edx, [ebp - 0x210]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4aa271
sub edx, ecx
lea eax, [ebp - 0x210]
mov ecx, dword [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.00409db0
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4abf80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor bl, bl
mov dword [ebp - 0x234], eax
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x4abfad
mov dword [eax], 0
cmp dword [esi + 0x10], 0
je 0x4ac085
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4ac072
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4ac06b
nop dword [eax]
xor eax, eax
cmp dword [esi + 0x14], 8
mov word [ebp - 6], ax
mov eax, esi
jb 0x4ac010
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0040d741
add esp, 8
test eax, eax
je 0x4ac057
push 0x228
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4ac000
jmp 0x4ac06b
mov eax, dword [ebp - 0x234]
mov bl, 1
test eax, eax
je 0x4ac06b
mov ecx, dword [ebp - 0x228]
mov dword [eax], ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4b1e50
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x24], eax
xor bl, bl
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
push eax
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], ebx
push eax
push 0
push 0
push 4
push 6
push ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_GetSecurityInfo]
test eax, eax
jne 0x4b1fab
push edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x28], edi
test edi, edi
je 0x4b1faa
push 2
mov dword [ebp - 8], eax
xorps xmm0, xmm0
push 0xc
lea eax, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
je 0x4b1faa
push esi
mov esi, dword [ebp - 0xc]
add esi, 8
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4b1fa6
push 2
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
je 0x4b1f9f
mov eax, dword [ebp - 0x10]
xor esi, esi
test eax, eax
je 0x4b1f74
nop word [eax + eax]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
je 0x4b1f71
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4b1f71
cmp byte [ecx], 0
mov edi, ecx
jne 0x4b1f4f
mov ecx, dword [ebp - 0x24]
call fcn.004090f0
push eax
lea eax, [edi + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x4b1f64
mov ecx, dword [ebp - 0x14]
movzx eax, word [edi + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push ebx
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
je 0x4b1f71
mov eax, dword [ebp - 0x10]
inc esi
mov edi, dword [ebp - 0x28]
cmp esi, eax
jb 0x4b1f10
jmp 0x4b1f74
mov eax, dword [ebp - 0x10]
cmp esi, eax
jne 0x4b1f9f
push 0
push ebx
push 0
push 0
push 4
push 6
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_SetSecurityInfo]
mov ecx, dword [ebp - 0x20]
test eax, eax
movzx ecx, cl
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x20], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [ebp - 0x20]
pop esi
pop edi
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4b1fb9
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4b4b00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x20]
push edi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x18]
mov dword [esi], 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
jne 0x4b4b37
pop edi
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push 3
push 0
push 0
push esi
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
neg eax
pop edi
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
pop esi
pop ebp
ret
Function at 0x4b7400
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4d0b
mov eax, dword fs:[0]
push eax
mov eax, 0x10bc
call fcn.00552d20
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x10]
cmp edi, 0x824
jb 0x4b7447
xor al, al
jmp 0x4b7610
push esi
lea ecx, [ebp - 0x1070]
call fcn.0040b170
mov dword [ebp - 4], 0
cmp edi, 2
jb 0x4b74b0
mov ecx, dword [esi + 0x14]
mov eax, esi
cmp ecx, 8
jb 0x4b746b
mov eax, dword [esi]
cmp word [eax], 0x22
jne 0x4b74b0
mov eax, esi
cmp ecx, 8
jb 0x4b747a
mov eax, dword [esi]
cmp word [eax + edi*2 - 2], 0x22
jne 0x4b74b0
lea eax, [edi - 2]
mov ecx, esi
push eax
push 1
lea eax, [ebp - 0x10c8]
push eax
lfence
call fcn.00410b80
push eax
lea ecx, [ebp - 0x1070]
call fcn.00410e40
lea ecx, [ebp - 0x10c8]
call fcn.0040a580
cmp dword [ebp - 0x1060], 0
mov dword [ebp - 0x1074], 0x824
je 0x4b75e7
cmp dword [ebp - 0x105c], 8
lea eax, [ebp - 0x1070]
cmovae eax, dword [ebp - 0x1070]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsURLW]
test eax, eax
je 0x4b75e7
cmp dword [ebp - 0x105c], 8
lea ecx, [ebp - 0x10b0]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x10ac], 0
push 0
push dword [ebp - 0x1060]
lea eax, [ebp - 0x1070]
movlpd qword [ebp - 0x10a4], xmm0
cmovae eax, dword [ebp - 0x1070]
push eax
movlpd qword [ebp - 0x109c], xmm0
movlpd qword [ebp - 0x1094], xmm0
movlpd qword [ebp - 0x108c], xmm0
movlpd qword [ebp - 0x1084], xmm0
movlpd qword [ebp - 0x107c], xmm0
mov dword [ebp - 0x10b0], 0x3c
mov dword [ebp - 0x10a8], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4b75e7
mov eax, dword [ebp - 0x10a4]
cmp eax, 3
je 0x4b7579
cmp eax, 4
jne 0x4b75e7
cmp dword [ebp - 0x105c], 8
lea ecx, [ebp - 0x1074]
push 0
push 2
push ecx
lea ecx, [ebp - 0x1058]
lea eax, [ebp - 0x1070]
cmovae eax, dword [ebp - 0x1070]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_UrlGetPartW]
test eax, eax
jne 0x4b75e7
lea eax, [ebp - 0x1058]
push str.help.adobe.com
push eax
call fcn.0040d741
add esp, 8
test eax, eax
je 0x4b75e3
lea eax, [ebp - 0x1058]
push str.adobehelp.corp.adobe.com
push eax
call fcn.0040d741
add esp, 8
test eax, eax
jne 0x4b75e7
call fcn.004f3250
test al, al
je 0x4b75e7
mov bl, 1
jmp 0x4b75e9
xor bl, bl
mov ecx, dword [ebp - 0x105c]
mov dword [ebp - 4], 1
cmp ecx, 8
jb 0x4b760e
inc ecx
push ecx
push dword [ebp - 0x1070]
lea ecx, [ebp - 0x1070]
call fcn.0040a5e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret
Function at 0x4c0360
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4f6b
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
call fcn.00401a00
mov edi, eax
mov ecx, dword [edi]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
mov ecx, eax
call fcn.00401c60
test al, al
je 0x4c0587
call fcn.0040ec40
mov esi, eax
test esi, esi
je 0x4c0587
test ebx, ebx
je 0x4c0587
cmp word [ebx], 0
je 0x4c0587
push ebx
lea ecx, [ebp - 0x240]
call fcn.004102c0
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
je 0x4c0452
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x102
ja 0x4c0452
push ebx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x4c0452
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c0430
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x240]
call fcn.00409db0
mov ebx, dword [ebp + 0x10]
lea ecx, [ebp - 0x224]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x21c], 0
push esi
movq qword [ebp - 0x224], xmm0
call fcn.004c92c0
push 0x34
lea eax, [ebp - 0x274]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea edi, [ebp - 0x240]
cmp dword [ebp - 0x22c], 8
lea ecx, [ebp - 0x224]
cmovae edi, dword [ebp - 0x240]
call fcn.004c94b0
mov esi, eax
test esi, esi
je 0x4c057c
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x228]
push 4
push 0
push 4
mov dword [esi], 0x110
mov dword [esi + 4], 0
mov dword [esi + 0x3c], 3
mov dword [esi + 0x44], 0x70
push eax
mov dword [ebp - 0x228], ecx
mov ecx, esi
push 0
call fcn.00420fc0
test al, al
je 0x4c057c
push 1
push 0
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x278], edi
call fcn.0040f090
push eax
push edi
push 1
mov ecx, esi
call fcn.00420fc0
test al, al
je 0x4c057c
push 6
push 1
push 0x208
push ebx
push 2
mov ecx, esi
mov dword [ebp - 0x27c], 0x208
mov dword [ebp - 0x278], ebx
call fcn.00420fc0
test al, al
je 0x4c057c
lea eax, [ebp - 0x274]
push eax
push esi
lea ecx, [ebp - 0x224]
call fcn.004c92e0
mov edi, eax
cmp edi, 0xa
je 0x4c05ac
mov ecx, dword [esi + 0x5c]
add ecx, esi
push ecx
lea ecx, [ebp - 0x27c]
call fcn.0041d770
lea ecx, [ebp - 0x224]
push esi
test al, al
jne 0x4c05a7
call fcn.004101e0
lea ecx, [ebp - 0x240]
call fcn.0040a580
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 0xc
call fcn.004101e0
test edi, edi
jne 0x4c057c
lea ecx, [ebp - 0x240]
call fcn.0040a580
lea eax, [edi + 1]
jmp 0x4c0589
Function at 0x4c3850
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
mov dword [esi + 0x24], 0
test eax, eax
je 0x4c3886
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4c389b
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x4c38cc
cmp dword [esi + 0x20], 8
lea eax, [esi + 0xc]
jb 0x4c38ad
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esi + 0x1c], 0
lea eax, [esi + 0xc]
cmp dword [esi + 0x20], 8
jb 0x4c38c7
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x414]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x4c3971
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x5dcb70
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4c3971
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
movaps xmm0, xmmword [0x5dcbf0]
lea eax, [ebp - 0x424]
push 0
push eax
push 0
push 0
movups xmmword [ebp - 0x424], xmm0
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
lea edx, [ebp - 0x20c]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4c3946
sub edx, ecx
lea eax, [ebp - 0x20c]
sar edx, 1
lea ecx, [esi + 0xc]
push edx
push eax
call fcn.00409db0
push dword [esi + 0x44]
push dword [esi + 4]
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x28], 0
xor ecx, ebp
pop esi
call fcn.004016cd
mov esp, ebp
pop ebp
ret

Function at 0x4c3d20
Capabilities:
Delete file

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4c3d3b
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
mov dword [esi + 8], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 8]
test eax, eax
je 0x4c3d50
push eax
call dword [sym.imp.GDI32.dll_DeleteEnhMetaFile]
mov dword [esi + 8], 0
cmp dword [esi + 0x1c], 0
je 0x4c3d87
cmp dword [esi + 0x20], 8
push edi
lea edi, [esi + 0xc]
mov eax, edi
jb 0x4c3d64
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x4c3d7a
mov edi, dword [edi]
xor eax, eax
mov word [edi], ax
pop edi
mov dword [esi + 0x24], eax
mov dword [esi], eax
pop esi
ret
mov dword [esi + 0x24], 0
mov dword [esi], 0
pop esi
ret
Function at 0x4ca4e0
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5310
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 0x18]
push esi
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi + 0x14]
mov dword [ebp - 4], 0
test ebx, ebx
jne 0x4ca5b9
nop dword [eax]
push 0
push 0x5dcd70
push 0x5dcd70
push 0
push 0x5dcd70
inc ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4ca5a9
mov eax, dword [edi + 0x10]
add edi, 0x10
mov dword [ebp - 0x18], eax
cmp dword [edi + 4], 0x15555555
je 0x4ca607
mov dword [ebp - 0x20], edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
push 0xc
lfence
call fcn.00406b5e
mov edx, dword [ebp - 0x18]
add esp, 4
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0
mov dword [eax + 8], ecx
inc dword [edi + 4]
mov ecx, dword [edx + 4]
mov edi, dword [ebp - 0x10]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ebp - 0x1c], 0
mov dword [ecx], eax
cmp ebx, 3
jl 0x4ca530
mov ebx, dword [edi + 0x14]
test ebx, ebx
jne 0x4ca5b9
xor edi, edi
jmp 0x4ca5e5
mov eax, dword [edi + 0x10]
mov edx, dword [eax]
mov eax, dword [edx + 8]
mov ecx, dword [edx]
mov dword [ebp - 0x10], eax
lea eax, [ebx - 1]
mov dword [edi + 0x14], eax
mov eax, dword [edx + 4]
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
push 0xc
push edx
call fcn.0040a1a2
mov edi, dword [ebp - 0x10]
add esp, 8
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.list_too_long
call fcn.00550857
int3

Function at 0x4d0470
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a563b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x62cf50]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
lea esi, [edi + 0xc]
mov dword [edi], vtable.acrobat_broker::WininetCallbackReceiver.0
mov word [edi + 4], 0
mov byte [edi + 6], 0
mov dword [edi + 8], 0
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x18
mov dword [ebp - 0x10], esi
lfence
call fcn.00406b5e
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea ecx, [edi + 0x14]
mov dword [ebp - 4], 0
push ecx
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4eb950
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
mov dword [eax], 0
push eax
push 0
push esi
push 0x4eba00
push 0
push 0
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 1
push 0
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x6352f8], eax
mov eax, esi
pop esi
ret
Function at 0x4f2870
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a856b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x238], edi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
jne 0x4f28b6
mov al, 1
jmp 0x4f2a0f
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4f28c2
mov eax, dword [esi]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4f28e1
cmp eax, 0x50
je 0x4f28e1
cmp eax, 0xb7
jne 0x4f2a0d
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0x234]
push esi
call fcn.0040b170
mov edi, dword [edi]
lea edx, [ebp - 0x234]
cmp dword [ebp - 0x220], 8
mov dword [ebp - 4], 0
cmovae edx, dword [ebp - 0x234]
mov eax, dword [edi]
push edx
push 0
push 0
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
test eax, eax
jne 0x4f29e6
mov edi, dword [ebp - 0x220]
lea esi, [ebp - 0x234]
cmp edi, 8
lea ecx, [ebp - 0x21c]
mov eax, ecx
mov edx, 0x105
cmovae esi, dword [ebp - 0x234]
sub esi, eax
lea eax, [edx + 0x7ffffef9]
test eax, eax
je 0x4f2981
movzx eax, word [esi + ecx]
test ax, ax
je 0x4f2981
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4f2963
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edx, edx
je 0x4f29ec
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
test eax, eax
je 0x4f29e6
push 0x5c0e34
push 0x105
lea eax, [ebp - 0x21c]
push eax
call fcn.004471d0
test eax, eax
js 0x4f29e6
mov edi, dword [ebp - 0x238]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push 0
mov edi, dword [edi]
mov eax, dword [edi]
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
test eax, eax
sete bl
mov edi, dword [ebp - 0x220]
mov dword [ebp - 4], 1
cmp edi, 8
jb 0x4f2a0d
lea ecx, [edi + 1]
push ecx
push dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call fcn.0040a5e0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004016cd
mov esp, ebp
pop ebp
ret 4

Function at 0x4f2a30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [esi + 0x10], 0
je 0x4f2a80
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4f2a4a
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4f2a80
cmp dword [esi + 0x14], 8
mov edi, dword [edi]
jb 0x4f2a5f
mov esi, dword [esi]
mov eax, dword [edi]
push esi
push 5
push 2
mov esi, dword [eax + 0x60]
mov ecx, esi
call dword [0x5b1854]
mov ecx, edi
call esi
test eax, eax
pop edi
sete al
pop esi
pop ebp
ret 4
pop edi
mov al, 1
pop esi
pop ebp
ret 4