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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527a16
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x573054]
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, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x650]
mov ebx, dword [ebp + 0xc]
call fcn.00403340
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x654]
push 4
call fcn.00403fa0
push 0x577218
lea ecx, [ebp - 0x654]
call fcn.00409160
mov byte [ebp - 4], 1
mov ecx, 0x57721c
call fcn.004058f0
test al, al
jne 0x4c761f
push 0x57721c
call fcn.004036c0
lea ecx, [ebp - 0x650]
add esp, 4
cmp ecx, eax
je 0x4c76e3
mov ecx, 0x57721c
call fcn.00403360
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4c7616
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
jmp 0x4c76d8
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x4c7776
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x638]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x638]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x4c76c1
test eax, eax
je 0x4c76c1
add eax, eax
cmp eax, 0x412
jae 0x4c77b9
xor ecx, ecx
mov word [ebp + eax - 0x638], cx
lea eax, [ebp - 0x638]
push eax
call fcn.004035e0
add esp, 4
push eax
lea eax, [ebp - 0x638]
jmp 0x4c76d7
lea eax, [ebp - 0x220]
push eax
call fcn.004035e0
add esp, 4
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x650]
call fcn.004033d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x654]
call fcn.00409190
push ebx
push edi
lea eax, [ebp - 0x650]
mov ecx, esi
push eax
call fcn.004c7500
test al, al
je 0x4c770a
mov bl, 1
jmp 0x4c7787
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x4c7785
xor eax, eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x220]
push eax
call fcn.004035e0
add esp, 4
lea ecx, [ebp - 0x650]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.004033d0
push ebx
push edi
lea eax, [ebp - 0x650]
mov ecx, esi
push eax
call fcn.004c7500
mov bl, al
jmp 0x4c7787
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x654]
call fcn.00409190
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.004032a0
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.0050f48d
mov esp, ebp
pop ebp
ret 8
call fcn.0050f9fe
int3
Function at 0x4c90b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527e6f
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x573054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov edx, dword [edi + 4]
push eax
lea ecx, [eax + 0x94]
call fcn.004c97e0
mov esi, dword [edi + 4]
add esp, 4
sub esi, 0x94
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004032a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004032a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004032a0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004032a0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004032a0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004032a0
mov eax, dword [ebp + 8]
add dword [edi + 4], 0xffffff6c
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4c9de0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52805f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x573054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 4
lea ecx, [esi + 0x7c]
call fcn.004032a0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x64]
call fcn.004032a0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
call fcn.004032a0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
call fcn.004032a0
mov byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.004032a0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.004032a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4cb0d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5281ff
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x573054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov esi, dword [ebp + 8]
push esi
call fcn.00405950
mov dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [edi + 0x18]
call fcn.00405950
mov byte [ebp - 4], 1
lea eax, [esi + 0x30]
push eax
lea ecx, [edi + 0x30]
call fcn.00405950
mov byte [ebp - 4], 2
lea eax, [esi + 0x48]
push eax
lea ecx, [edi + 0x48]
call fcn.00405950
mov byte [ebp - 4], 3
lea ecx, [edi + 0x64]
mov al, byte [esi + 0x60]
mov byte [edi + 0x60], al
lea eax, [esi + 0x64]
push eax
call fcn.00405950
mov byte [ebp - 4], 4
lea eax, [esi + 0x7c]
push eax
lea ecx, [edi + 0x7c]
call fcn.00405950
mov dword [ebp - 4], 0xffffffff
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 4
Function at 0x4cc220
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebx, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
lea ecx, [eax - 1]
push esi
mov ebp, ecx
mov dword [esp + 0x14], ecx
push edi
mov edi, edx
sar ebp, 1
mov dword [esp + 0x14], edi
mov esi, edi
cmp edi, ebp
jge 0x4cc291
add esi, esi
lea eax, [esi + 2]
lea eax, [eax + eax*2]
lea ecx, [ebx + eax*8]
lea edx, [ecx - 0x18]
call fcn.00452910
movzx eax, al
xor eax, 1
inc eax
add esi, eax
lea eax, [esi + esi*2]
lea eax, [ebx + eax*8]
push eax
call fcn.004036c0
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.004032b0
mov edi, esi
cmp esi, ebp
jl 0x4cc250
mov eax, dword [esp + 0x10]
cmp esi, ebp
jne 0x4cc2bb
test al, 1
jne 0x4cc2bb
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [ebx + eax*8]
push eax
call fcn.004036c0
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.004032b0
mov edi, dword [esp + 0x18]
push dword [esp + 0x1c]
call fcn.004036c0
add esp, 4
mov ecx, eax
mov dword [esp + 0x10], ecx
cmp dword [esp + 0x14], edi
jge 0x4cc310
lea esi, [edi - 1]
mov edx, ecx
sar esi, 1
lea eax, [esi + esi*2]
lea ebp, [ebx + eax*8]
mov ecx, ebp
call fcn.00452910
test al, al
je 0x4cc30c
push ebp
call fcn.004036c0
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.004032b0
mov edi, esi
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x14], esi
jl 0x4cc2d3
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004036c0
add esp, 4
push eax
lea eax, [edi + edi*2]
lea ecx, [ebx + eax*8]
call fcn.004032b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4ce690
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [0x573054]
xor eax, esp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x18]
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 8], eax
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
push edi
cmp dword [ebp + 0x10], 0xffffffff
mov edi, dword [esp + 0x20]
je 0x4ce712
mov ecx, 0x100000
nop dword [eax]
nop word [eax + eax]
cmp esi, 0x100000
mov dword [esp + 0x14], 0
push 0
mov eax, esi
cmova eax, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x14]
add ebx, ecx
test eax, eax
je 0x4ce712
test ecx, ecx
je 0x4ce70e
add edi, ecx
sub esi, ecx
mov ecx, 0x100000
jne 0x4ce6d0
xor eax, eax
jmp 0x4ce717
mov eax, 1
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4ce721
mov dword [ecx], ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050f48d
add esp, 0xc
ret 0xc

Function at 0x4cfa60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528c78
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x573054]
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, ecx
mov eax, dword [esi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x4cfaa3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
lea ecx, [ebp - 0x14]
mov word [esi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.004d56d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x4cfacc
lea edi, [eax + 8]
jmp 0x4cface
xor edi, edi
mov ecx, ebx
call fcn.004058f0
test al, al
jne 0x4cfae2
mov ecx, ebx
call fcn.00405910
jmp 0x4cfae4
xor eax, eax
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x4cfb05
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4cfb05
mov byte [esi + 5], 1
cmp dword [esi], 0
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d5850
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.0050f48d
mov esp, ebp
pop ebp
ret 4
Function at 0x4cfb40
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528c78
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x573054]
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, ecx
mov eax, dword [esi]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4cfb83
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push ecx
lea ecx, [ebp - 0x14]
mov word [esi + 4], 0
mov dword [ebp - 0x14], 0
call fcn.004d5790
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x4cfbad
lea ebx, [eax + 8]
jmp 0x4cfbaf
xor ebx, ebx
mov ecx, edi
call fcn.004058f0
test al, al
jne 0x4cfbc3
mov ecx, edi
call fcn.00405910
jmp 0x4cfbc5
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
test eax, eax
jne 0x4cfc12
call ecx
cmp eax, 5
jne 0x4cfc0c
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, edi
call fcn.004058f0
test al, al
jne 0x4cfbfe
mov ecx, edi
call fcn.00405910
jmp 0x4cfc00
xor eax, eax
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi]
test eax, eax
je 0x4cfc30
call ecx
cmp eax, 0xb7
jne 0x4cfc25
mov byte [esi + 5], 1
mov ecx, dword [esi]
call fcn.004be6c0
mov eax, dword [esi]
test eax, eax
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004d5850
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.0050f48d
mov esp, ebp
pop ebp
ret 4
Function at 0x4cfc70
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528cb6
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x573054]
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 dword [ebp - 0x820], ecx
lea eax, [ebp - 0x810]
push eax
push 0x3fe
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
mov dword [ebp - 0x818], ebx
test ebx, ebx
je 0x4cfd4e
lea edi, [ebp - 0x810]
mov dword [ebp - 0x814], 0
xor esi, esi
mov dword [ebp - 0x81c], edi
mov dword [ebp - 0x814], esi
mov dword [ebp - 4], esi
cmp ebx, 0x3fe
jbe 0x4cfd6c
xor ecx, ecx
lea eax, [ebx + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0050fb00
add esp, 4
mov dword [ebp - 0x81c], eax
mov edi, eax
mov esi, edi
mov dword [ebp - 0x814], esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x4cfd3a
cmp eax, ebx
ja 0x4cfd3a
xor ecx, ecx
mov ebx, eax
mov dword [edi + eax*2], ecx
mov dword [ebp - 0x818], ebx
jmp 0x4cfd9a
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4cfd4e
push edi
call fcn.0050fafb
add esp, 4
xor al, al
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.0050f48d
mov esp, ebp
pop ebp
ret
lea eax, [ebx + ebx]
cmp eax, 0x800
jae 0x4cfe25
xor ecx, ecx
mov word [ebp + eax - 0x810], cx
add eax, 2
cmp eax, 0x800
jae 0x4cfe25
mov word [ebp + eax - 0x810], cx
xor ecx, ecx
xor edi, edi
test ebx, ebx
je 0x4cfe0a
mov esi, dword [ebp - 0x81c]
mov ebx, 2
mov eax, dword [ebp - 0x818]
cmp word [esi + ebx - 2], 0
jne 0x4cfdfc
cmp ecx, edi
je 0x4cfdfc
lea eax, [esi + ecx*2]
push eax
lea ecx, [ebp - 0x838]
call fcn.004032f0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x838]
mov ecx, dword [ebp - 0x820]
push eax
call fcn.00405830
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x838]
call fcn.004032a0
mov eax, dword [ebp - 0x818]
lea ecx, [edi + 1]
inc edi
add ebx, 2
cmp edi, eax
jb 0x4cfdb3
mov esi, dword [ebp - 0x814]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4cfe1e
push esi
call fcn.0050fafb
add esp, 4
mov al, 1
jmp 0x4cfd50
call fcn.0050f9fe
int3
Function at 0x4d0210
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x573054]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4d028e
cmp dword [esp + 0x14], 6
jb 0x4d028e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, SysReAllocString
call fcn.004d0080
add esp, 0xc
test al, al
je 0x4d028e
cmp word [esi], 0
jne 0x4d02e6
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, SysReAllocString
call fcn.004d0080
add esp, 0xc
test al, al
je 0x4d02ba
cmp word [esi], 0
jne 0x4d02e6
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, SysReAllocString
call fcn.004d0080
add esp, 0xc
test al, al
je 0x4d02fb
cmp word [esi], 0
je 0x4d02fb
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret
Function at 0x4d0860
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528d5b
mov eax, dword fs:[0]
push eax
mov eax, 0x285c
call fcn.0050fde0
mov eax, dword [0x573054]
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, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp - 0x2218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x22
mov word [ebp - 0x2218], ax
test esi, esi
je 0x4d0a74
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x4d0a74
push esi
call edi
cmp eax, 0xffa
jge 0x4d0a74
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x2218]
push eax
call esi
push 0x53b184
lea eax, [ebp - 0x2218]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2868]
call fcn.004032f0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2868]
push eax
call fcn.004c7df0
mov ecx, eax
call fcn.004c7eb0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2868]
call fcn.004032a0
test esi, esi
je 0x4d0a74
push 0x53ed44
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x284c], eax
test eax, eax
je 0x4d0a74
lea ecx, [ebp - 0x2848]
call fcn.004d0310
xor edi, edi
lea esi, [ebp - 0x2848]
nop dword [eax]
cmp word [esi], 0
je 0x4d0994
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x284c]
cmp eax, 0x20
ja 0x4d09a2
inc edi
add esi, 0x210
cmp edi, 3
jl 0x4d0970
jmp 0x4d09c4
imul ebx, edi, 0x210
cmp dword [ebp + ebx - 0x2640], 0
mov ebx, dword [ebp + ebx - 0x263c]
jne 0x4d09bc
add ebx, 0x10
test ebx, ebx
jne 0x4d0a70
mov edi, dword [ebp - 0x284c]
lea eax, [ebp - 0x2218]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4d0a6b
mov dword [ebp - 0x2850], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x284c], str._programfiles_Internet_Exploreriexplore.exe
nop
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x103
push eax
push dword [ebp + esi*4 - 0x2850]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4d0a61
push 1
push 0
lea eax, [ebp - 0x2218]
push eax
lea eax, [ebp - 0x218]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x4d0a6b
inc esi
cmp esi, 2
jb 0x4d0a00
mov eax, ebx
jmp 0x4d0a76
mov ebx, 0x10
mov eax, ebx
jmp 0x4d0a76
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.0050f48d
mov esp, ebp
pop ebp
ret
Function at 0x4d3be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529588
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x573054]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.004c49a0
test al, al
jne 0x4d3c40
mov eax, 1
jmp 0x4d3dbd
push 0x10000
call fcn.0050fb00
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x4d3d96
test ebx, ebx
je 0x4d3d96
cmp dword [eax], 0xffffffff
je 0x4d3d96
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d3d96
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x4d3d8c
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.0045f2f0
test al, al
je 0x4d3d7f
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x4d3d32
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4d3d21
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x4d3d8c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x4d3d3c
add ebx, eax
cmp ebx, 0x8000
je 0x4d3d4c
cmp dword [ebp - 0x28], 0xf
ja 0x4d3d75
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x4d3cd0
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4d3d6e
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4d3d56
mov esi, 4
jmp 0x4d3da7
mov esi, 5
jmp 0x4d3da7
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x4d3da7
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x4d3da1
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x4d3da7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4d3dbb
push ebx
call fcn.0050fafb
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050f48d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d3de0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5295c8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x573054]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0
call fcn.00405990
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x535498
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.0040bd50
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
mov ecx, dword [ebp - 0x3c]
push 0x80400000
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.0045de40
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405a70
test bl, bl
jne 0x4d3ea7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x4d3f62
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.0045da10
test al, al
jne 0x4d3ed4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x4d3f62
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x4d3f4f
cmp eax, 0xce
je 0x4d3f4f
cmp eax, 0x12e
jne 0x4d3f83
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x4d3f17
push 0x800
call fcn.0050fb00
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.0045da80
test al, al
je 0x4d3f83
push esi
call fcn.004035e0
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.004033d0
mov ebx, dword [ebp - 0x38]
jmp 0x4d3f73
cmp dword [ebp + 0x14], 0
ja 0x4d3f5b
cmp dword [ebp + 0x10], 0
jbe 0x4d3f87
cmp eax, 0xce
je 0x4d3f87
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x4d3f83
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x4d3e43
xor bl, bl
jmp 0x4d3f93
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x4d3fa4
push esi
call fcn.0050fafb
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.004032a0
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.0050f48d
mov esp, ebp
pop ebp
ret 0x10