joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e4a4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 0xc]
mov eax, ebx
xor ecx, ecx
mov edx, 0x160
call fcn.00403030
mov eax, dword [ebp + 8]
push eax
push 0x160
push ebx
push edi
mov eax, esi
call fcn.00404a58
push eax
call sub.shell32.dll_SHGetFileInfoA
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x48ef6c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0048ef28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48efe0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x4b2240], eax
mov ebx, 0x48eeb4
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x48efe0
xor eax, eax
push ebp
push 0x48efd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48efe0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48efe8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0048ef28
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48f053
mov ebx, dword [0x4b2240]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x48f053
xor eax, eax
push ebp
push 0x48f04c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f053
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a98c8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a98d0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9b14
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xc8]
dec eax
test eax, eax
jl 0x4a9aec
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x10]
call fcn.004a76fc
lea eax, [ebp - 0x24]
mov ecx, 0x4a9b2c
mov edx, dword [ebp - 8]
call fcn.004048a4
mov eax, dword [ebp - 0x24]
call fcn.00404a58
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x4a9ae0
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ac1a4
mov eax, dword [ebp - 0xc]
call fcn.00404858
cmp eax, 2
jle 0x4a9ae0
xor eax, eax
push ebp
push 0x4a99b7
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4b0284]
mov eax, dword [eax]
call fcn.004602ec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a9e40
test al, al
jne 0x4a99ad
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x1c]
add edx, 0x3e8
cmp eax, edx
jne 0x4a9980
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a99c1
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a9a9c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040a954
fstp qword [ebp - 0x18]
wait
lea eax, [ebp - 0x28]
mov ecx, 0x4a9b38
mov edx, dword [ebp - 8]
call fcn.004048a4
mov eax, dword [ebp - 0x28]
mov edx, 0x20
call fcn.0040926c
lea eax, [ebp - 0x2c]
mov ecx, 0x4a9b38
mov edx, dword [ebp - 8]
call fcn.004048a4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004a9748
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040a954
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
call fcn.004ac314
dec eax
jle 0x4a9a4a
push 0
mov cx, word [0x4a9b48]
xor edx, edx
mov eax, 0x4a9b54
call fcn.00432870
push dword [ebp - 8]
push 0x4a9b2c
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404918
mov eax, dword [ebp - 0x30]
mov edx, 0x20
call fcn.0040926c
push dword [ebp - 8]
push 0x4a9b2c
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404918
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004a9748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9aa6
push dword [ebp - 8]
push 0x4a9b2c
push dword [ebp - 0xc]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404918
mov eax, dword [ebp - 0x38]
call fcn.0040925c
test al, al
je 0x4a9ae0
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x1c]
add edx, 0x7d0
cmp eax, edx
jne 0x4a99c9
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x4a9910
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9b1b
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.004045bc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004045bc
ret
Function at 0x4a9b84
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4a9b8c
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9dd0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xc8]
dec eax
test eax, eax
jl 0x4a9da8
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2fc]
mov edx, dword [ebp - 0x10]
call fcn.004a76fc
lea eax, [ebp - 0x24]
mov ecx, 0x4a9de8
mov edx, dword [ebp - 8]
call fcn.004048a4
mov eax, dword [ebp - 0x24]
call fcn.00404a58
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4a9d9c
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004ac1a4
mov eax, dword [ebp - 0xc]
call fcn.00404858
cmp eax, 2
jle 0x4a9d9c
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a9c73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b0284]
mov eax, dword [eax]
call fcn.004602ec
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004a9e40
test al, al
jne 0x4a9c69
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x1c]
add edx, 0x3e8
cmp eax, edx
jne 0x4a9c3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9c7d
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4a9d58
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040a954
fstp qword [ebp - 0x18]
wait
lea eax, [ebp - 0x28]
mov ecx, 0x4a9df4
mov edx, dword [ebp - 8]
call fcn.004048a4
mov eax, dword [ebp - 0x28]
mov edx, 0x20
call fcn.0040926c
lea eax, [ebp - 0x2c]
mov ecx, 0x4a9df4
mov edx, dword [ebp - 8]
call fcn.004048a4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004a9748
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0040a954
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp - 4]
call fcn.004ac314
dec eax
jle 0x4a9d06
push 0
mov cx, word [0x4a9e04]
xor edx, edx
mov eax, 0x4a9e10
call fcn.00432870
push dword [ebp - 8]
push 0x4a9de8
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404918
mov eax, dword [ebp - 0x30]
mov edx, 0x20
call fcn.0040926c
push dword [ebp - 8]
push 0x4a9de8
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404918
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004a9748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a9d62
push dword [ebp - 8]
push 0x4a9de8
push dword [ebp - 0xc]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404918
mov eax, dword [ebp - 0x38]
call fcn.0040925c
test al, al
je 0x4a9d9c
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x1c]
add edx, 0x7d0
cmp eax, edx
jne 0x4a9c85
inc dword [ebp - 0x10]
dec dword [ebp - 0x20]
jne 0x4a9bcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9dd7
lea eax, [ebp - 0x38]
mov edx, 6
call fcn.004045bc
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004045bc
ret
Function at 0x4a9e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a48
lea edi, [ebp - 0x130]
xor eax, eax
push ebp
push 0x4a9f1e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.00461cb4
mov dword [edi], 0x128
xor edx, edx
mov eax, 0xf
call fcn.00461c1c
mov esi, eax
mov edx, edi
mov eax, esi
call fcn.00461c3c
lea eax, [ebp - 0x134]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.00404808
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.00408a70
test eax, eax
jne 0x4a9eea
mov eax, dword [edi + 8]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_TerminateProcess
push ebx
call sub.kernel32.dll_CloseHandle_1
mov bl, 1
mov edx, edi
mov eax, esi
call fcn.00461c5c
test eax, eax
jne 0x4a9e97
push esi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9f25
lea eax, [ebp - 0x134]
call fcn.00404598
lea eax, [ebp - 4]
call fcn.00404598
ret

Function at 0x4aa11c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4aa236
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x2fc]
mov eax, dword [eax + 0x218]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x4aa21b
inc esi
xor edi, edi
lea ecx, [ebp - 4]
mov edx, edi
mov eax, dword [ebx + 0x2fc]
call fcn.004a76fc
lea eax, [ebp - 8]
mov ecx, 0x4aa24c
mov edx, dword [ebp - 4]
call fcn.004048a4
mov eax, dword [ebp - 8]
call fcn.00404a58
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
jne 0x4aa1d8
mov eax, dword [ebx + 0x32c]
call fcn.004a8f3c
test al, al
je 0x4aa213
mov eax, ebx
call fcn.004a9b84
lea eax, [ebp - 0xc]
mov ecx, 0x4aa258
mov edx, dword [ebp - 4]
call fcn.004048a4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004a9748
lea eax, [ebp - 0x10]
mov ecx, 0x4aa270
mov edx, dword [ebp - 4]
call fcn.004048a4
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004a9748
jmp 0x4aa213
mov eax, ebx
call fcn.004a98c8
lea eax, [ebp - 0x14]
mov ecx, 0x4aa258
mov edx, dword [ebp - 4]
call fcn.004048a4
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.004a9748
lea eax, [ebp - 0x18]
mov ecx, 0x4aa270
mov edx, dword [ebp - 4]
call fcn.004048a4
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004a9748
inc edi
dec esi
jne 0x4aa159
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa23d
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004045bc
ret
Function at 0x4031a0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
mov eax, dword [0x4e437c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x3c]
push 1
push eax
call fcn.00462150
lea eax, [ebp - 0x3c]
push eax
call fcn.00402b70
add esp, 0xc
test al, al
jne 0x4031e0
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push ebx
lea ecx, [ebp - 0xd4]
call fcn.004035a0
xor eax, eax
mov dword [ebp - 0xa8], 0
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0xd4]
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xa0], 0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
call fcn.004039e0
mov edx, dword [ebp - 8]
mov ebx, eax
cmp edx, 8
jb 0x403270
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033eb
push edx
push ecx
call fcn.0046e36f
add esp, 8
push esi
mov esi, dword [ebp - 0xa8]
xor eax, eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
test esi, esi
je 0x403341
push edi
mov edi, dword [ebp - 0xa4]
cmp esi, edi
je 0x4032f9
mov edi, edi
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4032d9
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4032cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033eb
mov eax, edx
push ecx
push eax
call fcn.0046e36f
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4032a0
mov esi, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa0]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
pop edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x403337
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033eb
push ecx
push esi
call fcn.0046e36f
add esp, 8
pop esi
cmp ebx, 0xffffffff
je 0x40334d
cmp bx, 1
jne 0x403397
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00429c70
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0042ac10
lea ecx, [ebp - 0x24]
call fcn.0042b3e0
test al, al
je 0x403384
lea ecx, [ebp - 0x24]
call fcn.0042ad40
mov ebx, eax
lea ecx, [ebp - 0x24]
call fcn.0042ac50
lea ecx, [ebp - 0x9c]
call fcn.00429de0
lea ecx, [ebp - 0xd4]
call fcn.00403920
mov edx, dword [ebp - 0x28]
cmp edx, 8
jb 0x4033d8
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4033ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4033f0
push edx
push ecx
call fcn.0046e36f
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0046e5dc
mov esp, ebp
pop ebp
ret 0x10
call fcn.0048f279
call fcn.0048f279
int3
Function at 0x404eb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad122
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4e437c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call fcn.00486380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
jne 0x404f71
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x404f7f
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x404f7f
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00405010
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5dc
mov esp, ebp
pop ebp
ret
Function at 0x405bf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad218
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4e437c]
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, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
lea eax, [edi + 4]
push eax
call fcn.00401960
cmp dword [ebp - 0x18], 0
je 0x405c3f
cmp dword [edi + 0x34], 0xffffffff
je 0x405c3f
mov esi, 1
jmp 0x405c41
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00402420
test esi, esi
jne 0x405c84
test edi, edi
je 0x405d44
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x405c65
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_UnregisterWaitEx]
lea ecx, [edi + 4]
mov dword [edi + 0x4c], 0
call fcn.00405790
push 0x50
push edi
call fcn.0046e36f
add esp, 8
jmp 0x405d44
lea esi, [ebx + 8]
push esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 4], 0x15555555
mov eax, dword [ebx]
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], eax
je 0x405d62
mov dword [ebp - 0x34], ebx
push 0xc
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
call fcn.0046e33f
mov edx, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 0
mov dword [ebp - 0x2c], 0
mov dword [eax + 8], edi
inc dword [ebx + 4]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
lea eax, [ebp - 0x2c]
push eax
push 0
push edi
push 0x406420
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x405d3d
mov edi, dword [ebx + 0x20]
add ebx, 0x20
cmp dword [ebx + 4], 0x15555555
je 0x405d6c
mov dword [ebp - 0x40], ebx
push 0xc
mov byte [ebp - 4], 2
mov dword [ebp - 0x3c], 0
call fcn.0046e33f
mov ecx, dword [ebp - 0x30]
add esp, 4
mov dword [eax + 8], ecx
inc dword [ebx + 4]
mov ecx, dword [edi + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [edi + 4], eax
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
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.0046e5dc
mov esp, ebp
pop ebp
ret 4
push str.list_too_long
call fcn.0046c2ce
push str.list_too_long
call fcn.0046c2ce
int3
Function at 0x406140
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad2f6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x4e437c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x406242
mov edi, dword [esi + 0x34]
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00401960
mov dword [ebp - 4], 0
test edi, edi
je 0x406235
cmp dword [ebp - 0x48], 0
je 0x406235
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0xb0]
call fcn.004132e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x40620b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x406201
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40639d
push edx
push ecx
call fcn.0046e36f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00414ce0
lea ecx, [ebp - 0xb0]
call fcn.00413530
lea ecx, [ebp - 0x58]
call fcn.00402420
jmp 0x406382
cmp dword [esi + 0x3c], 0
je 0x406382
lea ecx, [ebp - 0xd4]
call fcn.004071f0
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x70]
call fcn.00401960
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00408670
lea ecx, [ebp - 0x70]
call fcn.00402420
mov esi, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test esi, esi
je 0x40634e
mov edi, dword [ebp - 0x18]
cmp esi, edi
je 0x40630e
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4062f1
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4062e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063a2
mov eax, edx
push ecx
push eax
call fcn.0046e36f
add esp, 8
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x4062b8
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x406344
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4063a2
push ecx
push esi
call fcn.0046e36f
add esp, 8
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xd4]
call fcn.004075b0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x40]
call fcn.00402420
lea ecx, [ebp - 0xd4]
call fcn.00407310
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e5dc
mov esp, ebp
pop ebp
ret
call fcn.0048f279
call fcn.0048f279
int3
Function at 0x40de90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4add0b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4e437c]
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]
lea eax, [ebp - 0x21c]
mov ebx, dword [ebp + 0xc]
push 0x20a
push 0
mov dword [ebp - 0x220], esi
push eax
mov dword [ebp - 0x220], ebx
call fcn.00486380
add esp, 0xc
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x40def0
mov eax, dword [ebx]
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, eax
mov dword [ebp - 0x238], ecx
test ecx, ecx
je 0x40e047
cmp ecx, 0x104
ja 0x40df53
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x21c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40df37
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
jmp 0x40e060
lea eax, [ecx + 1]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
test eax, eax
je 0x40dfc7
cmp eax, 0x7fffffff
ja 0x40e085
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402d30
mov ecx, dword [ebp - 0x230]
mov edi, eax
xor eax, eax
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x22c], edi
lea ebx, [edi + ecx*2]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
mov dword [ebp - 0x224], ebx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x234]
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x228], ebx
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
jb 0x40dfdc
mov eax, dword [eax]
push ecx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, edi
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e000
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00402f10
test edi, edi
je 0x40e067
sub ebx, edi
mov eax, edi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x40e03b
mov edi, dword [edi - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e08a
push ebx
push edi
call fcn.0046e36f
add esp, 8
jmp 0x40e067
xor eax, eax
mov dword [esi + 0x10], 0
push eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x4b7708
mov ecx, esi
call fcn.00402f10
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 - 0x10]
xor ecx, ebp
call fcn.0046e5dc
mov esp, ebp
pop ebp
ret
call fcn.00402b60
call fcn.0048f279
int3