joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464e84
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x465006
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.00464ad8
mov eax, ebx
call fcn.004189a4
dec al
je 0x464ec8
dec al
je 0x464ece
jmp 0x464ed4
mov byte [ebp - 0x77], 2
jmp 0x464ed8
mov byte [ebp - 0x77], 1
jmp 0x464ed8
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.00418930
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov eax, ebx
call fcn.0041896c
test al, 1
je 0x464f24
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.0041896c
test al, 2
je 0x464f36
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.0041896c
test al, 4
je 0x464f48
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.0041896c
test al, 8
je 0x464f5a
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.004188bc
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.0040980c
mov edi, dword [ebx + 0x18]
cmp edi, 0x80000008
je 0x464f8d
cmp edi, 0x20000000
jne 0x464f99
mov dword [ebp - 0x88], 0x40000000
jmp 0x464fa3
mov eax, edi
call fcn.004181ec
mov dword [ebp - 0x7c], eax
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.004189d4
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.004186c0
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x464fe0
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.00464b44
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46500d
lea eax, [ebp - 0x94]
call fcn.00403be4
ret
Function at 0x4781f8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x478226
mov eax, ebx
call fcn.00478c9c
cmp dword [ebx + 0x3c], 0
je 0x47821f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x478297
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x478289
cmp dword [ebx + 8], 0
je 0x478248
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x47825a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x478289
cmp dword [ebx + 8], 0
je 0x47823b
cmp eax, 3
je 0x47826d
dec eax
jne 0x47823b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47823b
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x47823b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4782b5
cmp dword [ebx + 0x10], 0xcc
je 0x4782b5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004782c0
pop ebx
ret

Function at 0x488dc0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404028
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x488dd9
test al, 0x10
jne 0x488ddd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x489488
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [0x4d09dc]
call fcn.00437f14
push eax
call sub.user32.dll_ShowWindow
push 5
mov eax, dword [0x4cf384]
mov eax, dword [eax]
call fcn.00437f14
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4cf384]
mov eax, dword [eax]
call fcn.00437f14
push eax
call sub.user32.dll_SetForegroundWindow
mov edx, 1
mov eax, ebx
call fcn.00431658
mov edx, 1
mov eax, ebx
call fcn.00431678
mov dword [ebx + 0x318], 1
pop ebx
ret

Function at 0x48a0c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x2e0], 1
jne 0x48a14f
cmp dword [ebx + 0x2e4], 0
jne 0x48a132
mov eax, dword [0x4cf384]
mov eax, dword [eax]
call fcn.0044d1dc
push 5
mov eax, dword [0x4cf384]
mov eax, dword [eax]
call fcn.00437f14
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
cmp dword [eax + 0x318], 0
jne 0x48a148
push 5
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
call fcn.00437f14
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [0x4cf02c]
mov eax, dword [eax]
xor edx, edx
mov dword [eax + 0x318], edx
jmp 0x48a148
mov eax, dword [0x4cf0fc]
cmp dword [eax], 0
je 0x48a148
mov eax, dword [0x4cf0fc]
mov eax, dword [eax]
call fcn.0044d1dc
mov eax, ebx
call fcn.0044d024
pop ebx
ret
Function at 0x49f870
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404018
xor eax, eax
push ebp
push 0x49f8fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x49f910
mov edx, dword [ebp - 4]
call fcn.00403eb0
mov eax, dword [ebp - 0x28]
call fcn.00404028
mov dword [ebp - 0x1a], eax
mov eax, 0x49f914
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x414
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f902
lea eax, [ebp - 0x28]
call fcn.00403be4
lea eax, [ebp - 4]
call fcn.00403be4
ret
Function at 0x4b02c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b03f3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x684]
mov eax, dword [eax + 0x254]
call fcn.0045d468
test eax, eax
jle 0x4b03d8
mov eax, dword [ebx + 0x684]
call fcn.0045f008
call fcn.0045ccc0
mov esi, dword [ebx + 0x4ffd8]
mov edx, esi
dec edx
cmp eax, edx
jle 0x4b03bb
cmp esi, 0x64
jge 0x4b03bb
mov dl, 1
mov eax, dword [ebx + 0x770]
call fcn.004532dc
mov byte [ebx + 0xa940], 8
push 9
lea edx, [ebp - 8]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507d8
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0040958c
mov eax, dword [ebp - 4]
call fcn.00404028
push eax
mov eax, dword [0x4d23b8]
mov edx, dword [eax + 0x4ffa8]
lea eax, [ebp - 0xc]
mov ecx, 0x4b0408
call fcn.00403eb0
mov eax, dword [ebp - 0xc]
call fcn.00404028
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507d8
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004095c0
mov eax, dword [ebp - 0x10]
call fcn.00404028
push eax
push 0x4b0424
mov eax, dword [0x4cf264]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b03d8
xor edx, edx
mov eax, dword [ebx + 0x684]
call fcn.0045ed90
mov eax, dword [ebx + 0x684]
call fcn.0045f008
call fcn.0045d0ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b03fa
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403c08
ret
Function at 0x4b042c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b05ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x684]
mov eax, dword [eax + 0x254]
call fcn.0045d468
test eax, eax
jle 0x4b0590
mov eax, dword [ebx + 0x684]
call fcn.0045f008
call fcn.0045ccc0
mov edx, dword [ebx + 0x4ffd8]
dec edx
cmp eax, edx
jle 0x4b054f
cmp byte [ebx + 0x4ffd4], 0xb
jne 0x4b054f
mov dl, 1
mov eax, dword [ebx + 0x770]
call fcn.004532dc
push 0x4b05c0
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x4ffd8]
call fcn.00409238
push dword [ebp - 4]
push 0x4b05dc
push 0x4b05ec
push 0x4b05f8
lea eax, [ebx + 0xa5cc]
mov edx, 5
call fcn.00403f24
push 9
lea edx, [ebp - 0xc]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507d8
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040958c
mov eax, dword [ebp - 8]
call fcn.00404028
push eax
mov eax, dword [0x4d23b8]
mov edx, dword [eax + 0x4ffa8]
lea eax, [ebp - 0x10]
mov ecx, 0x4b062c
call fcn.00403eb0
mov eax, dword [ebp - 0x10]
call fcn.00404028
push eax
lea edx, [ebp - 0x18]
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.004507d8
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.004095c0
mov eax, dword [ebp - 0x14]
call fcn.00404028
push eax
push 0x4b0648
mov eax, dword [0x4cf264]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b0590
push 1
mov ecx, 0x4b0650
mov edx, 0x4b0658
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.00450468
dec eax
jne 0x4b0590
mov eax, dword [ebx + 0x684]
call fcn.0045f008
call fcn.0045ccc0
mov edx, eax
mov eax, ebx
call fcn.004b0674
mov edx, dword [ebx + 0xb3b4]
mov eax, ebx
call fcn.004aaf38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b05b2
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00403c08
ret
Function at 0x4b4500
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4b4752
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x858], 1
jne 0x4b4542
push 0
mov ecx, 0x4b4760
mov edx, 0x4b4768
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.00450468
jmp 0x4b4727
mov eax, dword [ebx + 0x6e4]
cmp byte [eax + 0x47], 0
jne 0x4b456c
mov eax, dword [ebx + 0xb3b4]
mov edx, eax
shl eax, 3
sub eax, edx
cmp byte [ebx + eax*8 + 0xb576], 0
jbe 0x4b456c
mov byte [ebx + 0xa4c4], 0
mov eax, dword [ebx + 0x684]
call fcn.0045f008
call fcn.0045ccc0
mov edx, eax
shl eax, 3
sub eax, edx
cmp byte [ebx + eax*8 + 0xb576], 5
je 0x4b45ae
mov eax, dword [ebx + 0x684]
call fcn.0045f008
call fcn.0045ccc0
mov edx, eax
shl eax, 3
sub eax, edx
cmp byte [ebx + eax*8 + 0xb576], 6
jne 0x4b45b5
mov byte [ebx + 0xa4c4], 0
cmp byte [ebx + 0xa4c4], 1
jne 0x4b45ec
mov eax, dword [ebx + 0x684]
mov eax, dword [eax + 0x254]
call fcn.0045d468
test eax, eax
jle 0x4b45ec
mov eax, dword [ebx + 0x684]
call fcn.0045f008
call fcn.0045ccc0
mov edx, eax
mov eax, ebx
call fcn.004af9e0
cmp byte [ebx + 0x4ffb0], 0
jne 0x4b468d
mov eax, dword [ebx + 0x684]
mov eax, dword [eax + 0x254]
call fcn.0045d468
test eax, eax
jle 0x4b4675
mov eax, dword [ebx + 0x2d4]
add eax, 0x68
mov edx, 0x4b4790
call fcn.00403c38
mov eax, dword [ebx + 0x2d4]
add eax, 0x70
call fcn.00403be4
mov esi, dword [ebx + 0x2d4]
mov eax, dword [0x4b479c]
mov dword [esi + 0x54], eax
lea eax, [esi + 0x58]
mov edx, 0x4b47a8
call fcn.00403c38
mov eax, dword [ebx + 0x2d4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
je 0x4b468d
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x2d4]
call fcn.0045607c
mov edx, dword [ebp - 8]
xor ecx, ecx
mov eax, ebx
call fcn.004b2a2c
jmp 0x4b468d
push 0
mov ecx, 0x4b4760
mov edx, 0x4b47c4
mov eax, dword [0x4cf264]
mov eax, dword [eax]
call fcn.00450468
cmp byte [ebx + 0x4ffb0], 2
jne 0x4b4714
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x4fbe0]
call fcn.00409084
mov eax, dword [ebp - 0x10]
call fcn.00403e64
sub eax, 4
push eax
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x4fbe0]
call fcn.00409084
mov eax, dword [ebp - 0x14]
mov edx, 1
pop ecx
call fcn.0040406c
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, 0x4b47dc
call fcn.00403eb0
cmp byte [ebx + 0x510cc], 1
jne 0x4b4705
push 0
mov eax, dword [ebp - 4]
call fcn.00404028
push eax
mov eax, dword [ebx + 0x4fbe0]
call fcn.00404028
push eax
call sub.kernel32.dll_CopyFileA
xor ecx, ecx
mov edx, dword [ebx + 0x4fbe0]
mov eax, ebx
call fcn.004b2a2c
mov eax, dword [ebx + 0x6e4]
cmp byte [eax + 0x47], 1
jne 0x4b4727
mov byte [ebx + 0x4ffe0], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4759
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403c08
lea eax, [ebp - 8]
call fcn.00403be4
lea eax, [ebp - 4]
call fcn.00403be4
ret
Function at 0x4b9094
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b909c
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b923c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x4ffe4], 0
je 0x4b90ce
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x4ffe4]
call fcn.00409084
jmp 0x4b9125
call fcn.0042ce9c
lea edx, [ebp - 0x10]
call fcn.0042cabc
mov eax, dword [ebx + 0x6e4]
call fcn.00428ae0
call fcn.0042ce9c
lea edx, [ebp - 0x14]
call fcn.0042cabc
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
call fcn.00409084
call fcn.0042ce9c
mov edx, dword [ebp - 0x10]
call fcn.0042cb3c
mov eax, dword [ebx + 0x6e4]
mov edx, dword [eax]
call dword [edx + 0xb8]
test eax, eax
jne 0x4b9125
lea eax, [ebp - 4]
call fcn.00403be4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409084
cmp dword [ebp - 0x18], 0
jne 0x4b9143
lea eax, [ebp - 4]
mov edx, 0x4b9250
call fcn.00403c7c
lea eax, [ebp - 8]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040406c
lea eax, [ebp - 0xc]
push eax
mov ecx, 4
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040406c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00408ee8
mov eax, dword [ebp - 0x1c]
mov edx, 0x4b9278
call fcn.00403f74
jne 0x4b91ac
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404028
push eax
push 0
mov eax, dword [0x4d23b8]
call fcn.00437f14
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b9216
mov eax, dword [ebx + 0x3e8]
cmp byte [eax + 0x2c], 0
jne 0x4b920c
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.00408ee8
mov eax, dword [ebp - 0x20]
mov edx, 0x4b9288
call fcn.00403f74
je 0x4b91ec
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00408ee8
mov eax, dword [ebp - 0x24]
mov edx, 0x4b9298
call fcn.00403f74
jne 0x4b920c
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404028
push eax
push 0
mov eax, ebx
call fcn.00437f14
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b9216
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004b92a0
lea eax, [ebx + 0x4ffe4]
call fcn.00403be4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9243
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00403c08
ret
Function at 0x4b92a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b92a8
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404018
xor eax, eax
push ebp
push 0x4b9491
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00403be4
lea eax, [ebp - 0x10]
call fcn.00403be4
mov dl, 1
mov eax, dword [0x46113c]
call fcn.0046123c
mov ebx, eax
mov edx, 0x80000000
mov eax, ebx
call fcn.004612dc
xor ecx, ecx
mov edx, 0x4b94a8
mov eax, ebx
call fcn.00461344
test al, al
je 0x4b935a
lea ecx, [ebp - 8]
xor edx, edx
mov eax, ebx
call fcn.0046170c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00408ee8
mov edx, dword [ebp - 0x14]
mov eax, 0x4b94d0
call fcn.00404150
mov edi, eax
lea eax, [ebp - 8]
push eax
lea ecx, [edi + 2]
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0040406c
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.004095c0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040958c
mov eax, ebx
call fcn.004612ac
mov eax, ebx
call fcn.00402f5c
cmp dword [ebp - 0x10], 0
je 0x4b942c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00408ee8
mov edx, dword [ebp - 0x18]
mov eax, 0x4b94e0
call fcn.00404150
test eax, eax
jg 0x4b93aa
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00408ee8
mov edx, dword [ebp - 0x1c]
mov eax, 0x4b94f0
call fcn.00404150
test eax, eax
jle 0x4b93de
push 3
mov eax, dword [ebp - 0xc]
call fcn.00404028
push eax
mov eax, dword [ebp - 4]
call fcn.00404028
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404028
push eax
push 0x4b94f8
mov eax, esi
call fcn.00437f14
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b9476
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.004bc2c4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 0x4b9508
call fcn.00403eb0
push 3
mov eax, dword [ebp - 0xc]
call fcn.00404028
push eax
mov eax, dword [ebp - 4]
call fcn.00404028
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404028
push eax
push 0x4b94f8
mov eax, esi
call fcn.00437f14
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4b9476
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00408ee8
mov edx, dword [ebp - 0x24]
mov eax, 0x4b94e0
call fcn.00404150
test eax, eax
jne 0x4b9458
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4b94e0
call fcn.00403eb0
push 3
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404028
push eax
push 0
mov eax, esi
call fcn.00437f14
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9498
lea eax, [ebp - 0x24]
mov edx, 9
call fcn.00403c08
ret
Function at 0x4bc8f8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404018
xor eax, eax
push ebp
push 0x4bcafd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
shl eax, 8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + 1]
add eax, edx
cmp eax, 0xc2e8
jge 0x4bc9e7
cmp eax, 0xb7a2
jge 0x4bc98a
cmp eax, 0xb2c1
jge 0x4bc95f
add eax, 0xffff4f5f
sub eax, 0x24
jb 0x4bca89
sub eax, 0x1fc
jb 0x4bca8d
jmp 0x4bcae5
add eax, 0xffff4d3f
sub eax, 0x22d
jb 0x4bca91
sub eax, 0x1fc
jb 0x4bca95
sub eax, 0xb8
jb 0x4bca99
jmp 0x4bcae5
cmp eax, 0xbbf7
jge 0x4bc9bc
add eax, 0xffff485e
sub eax, 0x11f
jb 0x4bca9d
sub eax, 0x13d
jb 0x4bcaa1
sub eax, 0x1f9
jb 0x4bcaa5
jmp 0x4bcae5
add eax, 0xffff4409
sub eax, 0x3af
jb 0x4bcaa9
sub eax, 0x106
jb 0x4bcaad
sub eax, 0x23c
jb 0x4bcab1
jmp 0x4bcae5
cmp eax, 0xc8f6
jge 0x4bca47
cmp eax, 0xc5be
jge 0x4bca1e
add eax, 0xffff3d18
sub eax, 0x1db
jb 0x4bcab5
sub eax, 0xf3
jb 0x4bcab9
sub eax, 8
jb 0x4bcabd
jmp 0x4bcae5
add eax, 0xffff3a42
sub eax, 0x11c
jb 0x4bcac1
sub eax, 0x1e1
jb 0x4bcac5
sub eax, 0x3b
jb 0x4bcac9
jmp 0x4bcae5
cmp eax, 0xcef4
jge 0x4bca6a
add eax, 0xffff370a
sub eax, 0x304
jb 0x4bcacd
sub eax, 0x1e0
jb 0x4bcad1
sub eax, 0x11a
jb 0x4bcad5
jmp 0x4bcae5
add eax, 0xffff310c
sub eax, 0x295
jb 0x4bcad9
add eax, 0xffffffd0
sub eax, 0x318
jb 0x4bcadd
sub eax, 0x329
jb 0x4bcae1
jmp 0x4bcae5
mov bl, 0x41
jmp 0x4bcae7
mov bl, 0x42
jmp 0x4bcae7
mov bl, 0x43
jmp 0x4bcae7
mov bl, 0x44
jmp 0x4bcae7
mov bl, 0x45
jmp 0x4bcae7
mov bl, 0x46
jmp 0x4bcae7
mov bl, 0x47
jmp 0x4bcae7
mov bl, 0x48
jmp 0x4bcae7
mov bl, 0x4a
jmp 0x4bcae7
mov bl, 0x4b
jmp 0x4bcae7
mov bl, 0x4c
jmp 0x4bcae7
mov bl, 0x4d
jmp 0x4bcae7
mov bl, 0x4e
jmp 0x4bcae7
mov bl, 0x4f
jmp 0x4bcae7
mov bl, 0x50
jmp 0x4bcae7
mov bl, 0x51
jmp 0x4bcae7
mov bl, 0x52
jmp 0x4bcae7
mov bl, 0x53
jmp 0x4bcae7
mov bl, 0x54
jmp 0x4bcae7
mov bl, 0x57
jmp 0x4bcae7
mov bl, 0x58
jmp 0x4bcae7
mov bl, 0x59
jmp 0x4bcae7
mov bl, 0x5a
jmp 0x4bcae7
mov bl, 0x20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bcb04
lea eax, [ebp - 4]
call fcn.00403be4
ret
Function at 0x401280
Capabilities:
Delete directory

Disassembly:
mov al, byte [esp + 8]
test al, al
jne 0x401294
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
ret
mov ecx, dword [esp + 4]
push ecx
call fcn.00401a60
add esp, 4
mov eax, 1
ret

Function at 0x4012b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4012ca
test al, 0x10
jne 0x4012ca
mov eax, 1
ret
xor eax, eax
ret

Function at 0x4012e0
Capabilities:
Move file

Disassembly:
sub esp, 0x98
mov eax, dword [0x414110]
mov dword [esp + 0x94], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x401349
push esi
mov esi, dword [esp + 0xa4]
test esi, esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExA]
je 0x401327
push 5
push 0
push esi
call edi
mov ecx, dword [esp + 0xa4]
push 5
push esi
push ecx
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x94]
call fcn.004054c0
add esp, 0x98
ret
test eax, eax
push str.wininit.ini
jne 0x401364
mov edx, dword [esp + 0xa4]
mov eax, dword [esp + 0xa0]
push edx
push eax
jmp 0x401374
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
push ecx
push edx
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [esp + 0x94]
call fcn.004054c0
add esp, 0x98
ret

Function at 0x4013a0
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
mov eax, dword [esp + 0xc]
test eax, eax
push esi
mov esi, dword [esp + 0xc]
jne 0x4013c1
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4013c1
test al, 0x10
jne 0x4013c1
xor eax, eax
pop esi
ret
mov eax, dword [esp + 8]
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
pop esi
ret
Function at 0x4013e0
Capabilities:
Check if file exists
Create directory
Enumerate files on windows
Enumerate files recursively
Get file attributes
Move file

Disassembly:
push 0xffffffffffffffff
push 0x40f9bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd48
mov eax, dword [0x414110]
mov dword [esp + 0xd44], eax
mov eax, dword [esp + 0xd58]
push edi
push eax
lea ecx, [esp + 0x94c]
push str._s.
push ecx
call fcn.0040624e
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40155b
push ebp
push esi
mov dword [esp + 0xc], edi
mov esi, dword [esp + 0xd68]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esp + 0xd5c], 0
lea ecx, [esp + 0x3c]
push 0x410260
push ecx
call fcn.00405b33
add esp, 8
test eax, eax
je 0x40153a
lea edx, [esp + 0x3c]
push 0x41025c
push edx
call fcn.00405b33
add esp, 8
test eax, eax
je 0x40153a
mov ecx, dword [esp + 0xd64]
lea eax, [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x558]
push str._s_s
push edx
call fcn.0040624e
lea eax, [esp + 0x4c]
push eax
push esi
lea ecx, [esp + 0x168]
push str._s_s
push ecx
call fcn.0040624e
mov al, byte [esp + 0x30]
add esp, 0x20
test al, 0x10
lea edx, [esp + 0x550]
je 0x401529
push esi
push edx
call fcn.00405bc7
add esp, 8
test eax, eax
je 0x40153a
lea eax, [esp + 0x150]
push eax
call ebp
cmp eax, 0xffffffff
je 0x4014ff
test al, 0x10
jne 0x40150f
push 0
lea ecx, [esp + 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 0x150]
push edx
lea eax, [esp + 0x554]
push eax
call fcn.004013e0
add esp, 8
jmp 0x40153a
push 3
lea ecx, [esp + 0x154]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x401461
test edi, edi
pop esi
pop ebp
je 0x40155b
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0xd4c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xd48]
pop edi
call fcn.004054c0
add esp, 0xd54
ret