joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4bb4c4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffe08
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x11f4], ebx
mov dword [ebp - 0x11f8], ebx
mov dword [ebp - 0x11ec], ebx
mov dword [ebp - 0x11f0], ebx
mov dword [ebp - 0x11e8], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x11cc], edx
mov dword [ebp - 0x11d0], eax
lea esi, [ebp - 0x11de]
lea edi, [ebp - 0x11d0]
xor eax, eax
push ebp
push 0x4bb6c0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x11d4], eax
xor eax, eax
mov dword [ebp - 0x11c8], eax
mov eax, dword [edi]
add eax, 0x10
push eax
lea ecx, [ebp - 0x11c4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x11cc]
call fcn.004b88c4
cmp dword [ebp - 0x1084], 0x30
jle 0x4bb57a
lea ecx, [ebp - 0x11e8]
mov edx, dword [ebp - 4]
mov al, 0xb7
call fcn.004b10a8
mov ecx, dword [ebp - 0x11e8]
mov dl, 1
mov eax, dword [0x4087b8]
call fcn.0040dac4
call fcn.0040489c
lea eax, [ebp - 0x11f0]
lea edx, [ebp - 0x1184]
mov ecx, 0x80
call fcn.004050e0
mov edx, dword [ebp - 0x11f0]
lea ecx, [ebp - 0x11ec]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.004baed4
mov edx, dword [ebp - 0x11ec]
mov eax, dword [edi]
add eax, 0x14
call fcn.00404ec4
lea eax, [ebp - 0x11f8]
lea edx, [ebp - 0x1104]
mov ecx, 0x80
call fcn.004050e0
mov edx, dword [ebp - 0x11f8]
lea ecx, [ebp - 0x11f4]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.004baed4
mov edx, dword [ebp - 0x11f4]
mov eax, dword [edi]
add eax, 0x18
call fcn.00404ec4
lea eax, [ebp - 0x1078]
movzx eax, byte [eax]
mov edx, dword [edi]
mov byte [edx + 0x1d], al
mov ebx, dword [ebp - 0x1080]
test ebx, ebx
jle 0x4bb6a2
push ebp
mov eax, esi
mov edx, 0xa
call fcn.004bb44c
pop ecx
mov eax, dword [esi + 6]
push eax
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [esi + 2]
movzx edx, word [esi]
call fcn.004b8ef8
mov dword [ebp - 0x11e4], eax
cmp dword [ebp - 0x11e4], 0
jne 0x4bb643
push ebp
call fcn.004bb2a8
pop ecx
xor eax, eax
push ebp
push 0x4bb674
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x11e4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x11e4]
add eax, 0x12
call fcn.004bb44c
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bb68e
mov edx, dword [ebp - 0x11e4]
mov eax, dword [edi]
call fcn.004b8f34
dec ebx
jne 0x4bb60c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb6c7
lea eax, [ebp - 0x11f8]
mov edx, 5
call fcn.00404e94
ret
Function at 0x4bfdbc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
xor edx, edx
mov dword [ebp - 0x14c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bfe8e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x148]
push eax
lea edx, [ebp - 0x14c]
mov eax, ebx
call fcn.0046ee20
lea eax, [ebp - 0x14c]
mov edx, 0x4bfea8
call fcn.0040513c
mov eax, dword [ebp - 0x14c]
call fcn.00405300
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4bfe75
xor eax, eax
push ebp
push 0x4bfe6e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x148]
call fcn.004bfd70
test al, al
je 0x4bfe43
mov byte [ebp - 1], 1
jmp 0x4bfe57
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4bfe2e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfe75
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfe95
lea eax, [ebp - 0x14c]
call fcn.00404e70
ret

Function at 0x4bfeac
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, edx
mov esi, eax
push 0x200
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.00405300
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4bfeec
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.004050e0
jmp 0x4bfef3
mov eax, ebx
call fcn.00404e70
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x4bfefc
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffea0
mov ebx, edx
mov esi, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x4ff684]
or eax, 0x4001
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.00405300
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4bff3b
mov eax, dword [esp + 4]
jmp 0x4bff3d
xor eax, eax
add esp, 0x160
pop esi
pop ebx
ret

Function at 0x4bff48
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x4ff68c]
or eax, 0x4011
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
push 0x4bff8c
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4bff81
mov eax, dword [esp + 4]
jmp 0x4bff83
xor eax, eax
add esp, 0x160
pop ebx
ret

Function at 0x4bff6b
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffea0
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x4ff68c]
or eax, 0x4011
push eax
push 0x160
lea eax, [esp + 8]
push eax
push 0x10
push 0x4bff8c
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4bff81
mov eax, dword [esp + 4]
jmp 0x4bff83
xor eax, eax
add esp, 0x160
pop ebx
ret
Function at 0x4c0358
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
test dl, dl
je 0x4c036c
add esp, 0xfffffff0
call fcn.0040434c
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.0045133c
mov eax, dword [0x4c0410]
not eax
and eax, dword [esi + 0x50]
mov dword [esi + 0x50], eax
mov edx, 0x79
mov eax, esi
call fcn.0044db78
mov edx, 0x61
mov eax, esi
call fcn.0044dbac
xor edx, edx
mov eax, esi
call fcn.0044e67c
mov dl, 1
mov eax, esi
call fcn.00456854
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jae 0x4c03cb
mov dx, 0xfffe
mov eax, esi
call fcn.0044e6c4
push 0
lea eax, [ebp - 0x3c]
push eax
push 0x3c
push 0x1f
call sub.user32.dll_SystemParametersInfoA
test eax, eax
je 0x4c03f1
lea eax, [ebp - 0x3c]
push eax
call sub.gdi32.dll_CreateFontIndirectA
mov edx, eax
mov eax, dword [esi + 0x68]
call fcn.00428d78
mov eax, esi
test bl, bl
je 0x4c0406
call fcn.004043a4
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4c1368
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x4c142d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
mov bl, 0x41
test esi, 1
jne 0x4c139e
mov eax, ebx
call fcn.004bff9c
test al, al
je 0x4c1406
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405058
lea eax, [ebp - 8]
mov edx, 0x4c1444
call fcn.0040513c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004bfeac
mov eax, dword [ebp - 4]
push eax
push 0
lea eax, [ebp - 0x10]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x14]
call fcn.00403428
mov edx, 0x4c1448
lea eax, [ebp - 0x14]
mov cl, 2
call fcn.004033f8
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.004050d4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.004c0e74
shr esi, 1
inc ebx
cmp bl, 0x5b
jne 0x4c138b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1434
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e94
ret
Function at 0x4c144c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c1618
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4c15eb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x4c14a9
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x4c14e7
mov eax, ebx
call fcn.004c01a4
test al, al
jne 0x4c14c7
mov byte [ebp - 5], 0
call fcn.00404948
jmp 0x4c15f2
lea edx, [ebp - 0x154]
mov eax, ebx
call fcn.004bfeac
mov ecx, dword [ebp - 0x154]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004c186c
mov byte [ebp - 5], 1
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x158]
mov eax, ebx
call fcn.0046ee20
lea eax, [ebp - 0x158]
mov edx, 0x4c1634
call fcn.0040513c
mov eax, dword [ebp - 0x158]
call fcn.00405300
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4c15d4
xor eax, eax
push ebp
push 0x4c15cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
call fcn.004bfd70
test al, al
je 0x4c15a2
lea eax, [ebp - 4]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.004050e0
lea edx, [ebp - 0x160]
mov eax, ebx
call fcn.0046ee20
lea eax, [ebp - 0x160]
mov edx, dword [ebp - 4]
call fcn.0040513c
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.004bfeac
mov eax, dword [ebp - 0x15c]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.004c0e74
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4c153b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c15d4
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c15f2
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c161f
lea eax, [ebp - 0x160]
mov edx, 4
call fcn.00404e94
lea eax, [ebp - 4]
call fcn.00404e70
ret
Function at 0x4c18fc
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x160], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x154], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4c1af2
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x4c1981
lea edx, [ebp - 0x154]
mov eax, edi
call fcn.0046f31c
mov eax, dword [ebp - 0x154]
push eax
lea edx, [ebp - 0x158]
mov eax, ebx
call fcn.0046ee20
mov eax, dword [ebp - 0x158]
pop edx
call fcn.0046f000
test eax, eax
jne 0x4c1981
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046f2f4
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c1ac0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
push eax
lea edx, [ebp - 0x15c]
mov eax, ebx
call fcn.0046ee20
lea eax, [ebp - 0x15c]
mov edx, 0x4c1b08
call fcn.0040513c
mov eax, dword [ebp - 0x15c]
call fcn.00405300
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4c1aa9
xor eax, eax
push ebp
push 0x4c1aa2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
call fcn.004bfd70
test al, al
je 0x4c1a73
lea eax, [ebp - 8]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.004050e0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0046f000
test eax, eax
je 0x4c1a73
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.004c0f68
test eax, eax
jne 0x4c1a73
lea edx, [ebp - 0x164]
mov eax, ebx
call fcn.0046ee20
lea eax, [ebp - 0x164]
mov edx, dword [ebp - 8]
call fcn.0040513c
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.004bfeac
mov eax, dword [ebp - 0x160]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.004c0e74
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4c19e9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1aa9
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1ac7
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4c4da4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c4f29
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x498]
mov edx, 0x20
call fcn.0044db78
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x498]
mov edx, 0x20
call fcn.0044dbac
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x49c]
mov edx, 0x20
call fcn.0044db78
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x49c]
mov edx, 0x20
call fcn.0044dbac
xor eax, eax
push ebp
push 0x4c4f09
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x1010
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0x10
push 0x4c4f38
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4c4e7d
cmp byte [ebp - 0x158], 0
je 0x4c4e7d
mov eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [0x5037f8]
push eax
call sub.shell32.dll_ExtractIconA
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x498]
call fcn.004c4ce4
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
xor eax, eax
call fcn.004dcde0
cmp dword [ebp - 4], 0
jne 0x4c4ea1
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov dl, 2
mov al, 1
call fcn.004dcde0
cmp dword [ebp - 4], 0
je 0x4c4eff
push 0x1000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00405300
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4c4eff
cmp byte [ebp - 0x158], 0
je 0x4c4eff
mov eax, dword [ebp - 0x160]
push eax
lea eax, [ebp - 0x158]
push eax
mov eax, dword [0x5037f8]
push eax
call sub.shell32.dll_ExtractIconA
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x49c]
call fcn.004c4ce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c4f13
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4f30
lea eax, [ebp - 4]
call fcn.00404e70
ret

Function at 0x4cbd90
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffbc
mov esi, eax
xor ebx, ebx
xor edx, edx
mov eax, esi
call fcn.004b02c4
lea edx, [esp + 4]
mov ecx, 0x40
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
cmp eax, 0x40
jne 0x4cbdf6
cmp byte [esp + 4], 0x4d
jne 0x4cbdf6
cmp byte [esp + 5], 0x5a
jne 0x4cbdf6
cmp dword [esp + 0x40], 0
je 0x4cbdf6
mov edx, dword [esp + 0x40]
mov eax, esi
call fcn.004b02c4
mov edx, esp
mov ecx, 4
mov eax, esi
mov esi, dword [eax]
call dword [esi + 8]
cmp eax, 4
jne 0x4cbdf6
cmp dword [esp], 0x4550
jne 0x4cbdf6
mov bl, 1
mov eax, ebx
add esp, 0x44
pop edi
pop esi
pop ebx
ret
Function at 0x4ce3cc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ce4dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
lea eax, [ebp - 8]
push eax
mov eax, dword [0x500110]
movzx eax, byte [eax]
mov ecx, dword [eax*4 + 0x4ff6fc]
mov edx, 0x80000002
xor eax, eax
call fcn.00470770
test eax, eax
jne 0x4ce45f
mov esi, edi
test esi, esi
je 0x4ce424
sub esi, 4
mov esi, dword [esi]
inc esi
mov eax, esi
push eax
mov eax, edi
call fcn.00405300
push eax
push 1
push 0
mov eax, dword [ebp - 4]
call fcn.00405300
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4ce454
mov eax, 0x4ce4f4
call fcn.004b6478
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4ce469
mov eax, 0x4ce528
call fcn.004b6478
test bl, bl
je 0x4ce4c2
mov eax, edi
call fcn.00405300
push eax
call sub.gdi32.dll_AddFontResourceA
test eax, eax
je 0x4ce490
push 0
push 0
push 0x1d
push 0xffff
call sub.user32.dll_SendNotifyMessageA
jmp 0x4ce4c2
lea ecx, [ebp - 0x10]
mov edx, 0x4ce554
mov al, 0x33
call fcn.004b10a8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00470f8c
mov eax, dword [ebp - 0xc]
mov edx, dword [0x5002dc]
mov edx, dword [edx + 0xb0]
call fcn.004cc508
test al, al
je 0x4ce46d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce4e4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404e94
ret
Function at 0x4d16e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov edi, edx
mov byte [ebp - 1], al
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4d17c3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
je 0x4d17ad
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.004b26a0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0xb
lea edx, [ebp - 0x18]
mov ecx, 1
mov eax, 0x4d17dc
call fcn.004b66a4
mov eax, dword [0x4fff44]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.0041c108
mov esi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x4d175c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
push eax
mov eax, ebx
mov ecx, 0x14
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
movzx eax, byte [ebp - 1]
call fcn.004bbddc
test al, al
jne 0x4d17ad
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x4d1792
mov eax, 0x4d1810
call fcn.004b6478
jmp 0x4d17ad
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x4d186c
call fcn.004b66a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d17ca
lea eax, [ebp - 0x1c]
call fcn.00404e70
ret
Function at 0x4d324c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
xor eax, eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d33dd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x144]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0046ee20
lea eax, [ebp - 0x148]
mov edx, 0x4d33f4
call fcn.0040513c
mov eax, dword [ebp - 0x148]
call fcn.00405300
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4d33b7
lea eax, [ebp - 4]
lea edx, [ebp - 0x118]
mov ecx, 0x104
call fcn.004050e0
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d32de
sub eax, 4
mov eax, dword [eax]
cmp eax, 9
jl 0x4d3313
lea eax, [ebp - 0x14c]
push eax
mov ecx, 5
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405368
mov eax, dword [ebp - 0x14c]
mov edx, 0x4d3408
call fcn.00409670
test eax, eax
sete al
jmp 0x4d3315
xor eax, eax
test al, al
je 0x4d332c
mov edx, 0x4d3410
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 5]
call fcn.004712a8
jmp 0x4d332e
xor eax, eax
test al, al
je 0x4d3345
mov edx, 0x4d3410
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 6]
call fcn.004712a8
jmp 0x4d3347
xor eax, eax
test al, al
je 0x4d335e
mov edx, 0x4d3410
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 7]
call fcn.004712a8
jmp 0x4d3360
xor eax, eax
test al, al
je 0x4d339c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0x2e
jne 0x4d339c
lea eax, [ebp - 0x150]
push eax
mov ecx, 3
mov edx, 6
mov eax, dword [ebp - 4]
call fcn.00405368
mov eax, dword [ebp - 0x150]
call fcn.00409efc
mov edx, dword [ebp + 8]
mov byte [edx + eax - 0x3ec], 1
lea eax, [ebp - 0x144]
push eax
push ebx
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4d32bf
push ebx
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d33e4
lea eax, [ebp - 0x150]
mov edx, 3
call fcn.00404e94
lea eax, [ebp - 4]
call fcn.00404e70
ret

Function at 0x4d3a18
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [0x4ffe54]
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
cmp dword [esi], 0
je 0x4d3a87
jmp 0x4d3a45
mov edx, 0x4d3a94
mov al, 0x41
call fcn.004d38c0
test al, al
jne 0x4d3a45
call fcn.0040da98
mov eax, dword [ebx]
call fcn.0040a314
test al, al
je 0x4d3a30
jmp 0x4d3a67
mov edx, 0x4d3aa8
mov al, 0x40
call fcn.004d38c0
test al, al
jne 0x4d3a67
call fcn.0040da98
mov eax, dword [ebx]
call fcn.00405300
push eax
mov eax, dword [esi]
call fcn.00405300
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
je 0x4d3a52
mov eax, esi
call fcn.00404e70
pop esi
pop ebx
pop ebp
ret
Function at 0x4d5dfc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov dword [ebp - 0x12], eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0xe], eax
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa], eax
call fcn.004d5d24
lea eax, [ebp - 0x12]
push eax
push 0
push 0x4a
mov eax, dword [0x506d34]
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
mov eax, esi
call fcn.0040f6cc
cmp ebx, 0x6c840001
jne 0x4d5e4b
call fcn.0040dab8
mov eax, ebx
and eax, 0xffff0000
cmp eax, 0x6c830000
je 0x4d5e6f
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4d5f20
call fcn.004b2498
mov word [ebp - 6], bx
xor esi, esi
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
call dword [ebp - 4]
call sub.kernel32.dll_GetTickCount_1
mov edx, eax
sub edx, ebx
cmp edx, 0xa
jb 0x4d5ec7
mov ebx, eax
mov edx, 1
movzx eax, word [ebp - 6]
call fcn.004d5d80
mov esi, eax
mov eax, esi
sub ax, 2
je 0x4d5ec7
dec eax
sub ax, 2
jb 0x4d5edb
movzx eax, si
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
mov eax, 0x4d5f54
call fcn.004b2498
push 0xff
push 0xa
push 0
push 0
push 0
call sub.user32.dll_MsgWaitForMultipleObjects
jmp 0x4d5e7c
mov edx, 2
movzx eax, word [ebp - 6]
call fcn.004d5d80
movzx ebx, ax
mov edx, 3
movzx eax, word [ebp - 6]
call fcn.004d5d80
movzx eax, ax
shl eax, 0x10
or ebx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp si, 3
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4d6444
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x40]
xor ecx, ecx
mov edx, 0x3c
call fcn.00403544
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x800540
mov eax, 0x4d654c
mov dword [ebp - 0x34], eax
mov eax, ebx
call fcn.00405300
mov dword [ebp - 0x30], eax
mov eax, esi
call fcn.00405300
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], 1
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
test eax, eax
jne 0x4d64bb
call sub.kernel32.dll_GetLastError
cmp eax, 0x4c7
jne 0x4d64b1
call fcn.0040da98
mov eax, 0x4d655c
call fcn.004b2594
cmp dword [ebp - 8], 0
jne 0x4d64cb
mov eax, 0x4d6574
call fcn.004b2440
xor edx, edx
push ebp
push 0x4d653d
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.004d6238
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 8]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4d64d9
cmp eax, 0xffffffff
jne 0x4d6506
mov eax, 0x4d65a0
call fcn.004b2594
call fcn.004d6238
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
jne 0x4d6526
mov eax, 0x4d65c4
call fcn.004b2594
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6544
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
ret