joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5dd3e0
Capabilities:
Open clipboard

Disassembly:
push 0xffffffffffffffff
push 0x81d784
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.005560e0
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xa0], 0
push eax
mov dword [esi], vtable.WWLib::CClipboard_1_.0
mov dword [esi + 0x18], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
setne al
test al, al
mov byte [esi + 0x1c], al
jne 0x5dd520
push ebp
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
mov dword [esi + 0x18], eax
je 0x5dd456
lea ebp, [edi + 4]
jmp 0x5dd458
xor ebp, ebp
push str.OpenClipboard__
call fcn.007ac4d2
add esp, 4
mov edi, eax
mov ecx, ebp
push 1
push edi
call fcn.00404d30
test al, al
je 0x5dd48f
mov eax, dword [ebp + 4]
push edi
push str.OpenClipboard__
push eax
call fcn.004069b0
add esp, 0xc
mov ecx, ebp
push edi
call fcn.00404c90
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
test al, al
pop ebp
jne 0x5dd520
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 0x18]
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 1
call fcn.005daec0
push 1
lea ecx, [esp + 0x14]
mov byte [esp + 0xa4], 3
call fcn.00404f20
mov edx, dword [esi]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call dword [edx + 0xc]
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0xa0], 4
call dword [edx + 0x10]
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x14]
lea edx, [esp + 0x20]
push 0x8c1d8c
push edx
mov byte [esp + 0xa8], 0
mov dword [esp + 0x28], 0x86a068
call fcn.007ac5c6
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
push eax
push ecx
push edx
mov ecx, esi
mov dword [esp + 0xac], 5
mov dword [esi], method.WWLib::CClipboard_1_.virtual_0
call fcn.005dd6b0
mov ecx, dword [esp + 0x98]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x9c
ret 0x10
Function at 0x5df0d0
Capabilities:
Get file size

Disassembly:
sub esp, 0x7c
push ebx
mov ebx, ecx
push ebp
mov eax, dword [ebx]
call dword [eax + 8]
test al, al
jne 0x5df1e2
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x5df1ca
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 4]
test eax, eax
je 0x5df115
lea esi, [eax + 4]
jmp 0x5df117
xor esi, esi
push str.GetFileSize__
call fcn.007ac4d2
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004056a0
cmp eax, edi
jae 0x5df136
call fcn.007c4d19
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
test eax, eax
je 0x5df15a
mov cl, byte [eax - 1]
test cl, cl
je 0x5df15a
test edi, edi
mov ecx, esi
jne 0x5df180
push 1
call fcn.00404f20
jmp 0x5df1a4
test edi, edi
jne 0x5df169
push 1
mov ecx, esi
call fcn.00404f20
jmp 0x5df1a4
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x5df175
cmp eax, edi
jae 0x5df186
push 1
mov ecx, esi
call fcn.00404f20
mov ecx, esi
push edi
call fcn.004056b0
mov eax, dword [esi + 4]
push edi
push str.GetFileSize__
push eax
call fcn.004069b0
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [ecx + edi*2], 0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
pop edi
pop esi
test al, al
je 0x5df1ca
push ebx
lea ecx, [esp + 0x10]
call fcn.005de0a0
lea eax, [esp + 0xc]
push 0x8c1f58
push eax
call fcn.007ac5c6
mov edx, dword [esp + 8]
xor ecx, ecx
xor eax, eax
or ecx, ebp
or edx, eax
mov eax, dword [esp + 0x88]
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebp
pop ebx
add esp, 0x7c
ret 4
Function at 0x5df320
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x81dacc
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xb4
test al, al
push ebx
push ebp
push esi
mov ebp, ecx
jne 0x5df3b8
mov eax, dword [esp + 0xd4]
lea ecx, [esp + 0x98]
push eax
push ecx
call fcn.005de4d0
add esp, 8
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0xc8], 0
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea ecx, [esp + 0xb4]
mov esi, eax
mov dword [esp + 0xcc], 0xffffffff
call fcn.00404c40
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x5df3cd
mov cl, byte [eax - 1]
dec eax
test cl, cl
je 0x5df3ad
dec cl
mov byte [eax], cl
jmp 0x5df3cd
push eax
call fcn.007d7349
add esp, 4
jmp 0x5df3cd
mov ecx, dword [esp + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x5df52f
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp + 4]
mov dword [ebp + 0x18], eax
test edi, edi
je 0x5df3eb
add edi, 4
jmp 0x5df3ed
xor edi, edi
push str.DeleteFileW__
call fcn.007ac4d2
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.00404d30
test al, al
je 0x5df436
mov ecx, dword [edi + 4]
mov eax, str.DeleteFileW__
test esi, esi
jbe 0x5df427
sub ecx, eax
mov edx, esi
mov bx, word [eax]
mov word [ecx + eax], bx
add eax, 2
dec edx
jne 0x5df41a
mov ecx, dword [edi + 4]
mov dword [edi + 8], esi
mov word [ecx + esi*2], 0
lea esi, [ecx + esi*2]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 8]
test al, al
pop edi
je 0x5df52f
mov eax, dword [ebp]
lea ecx, [esp + 0xc]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
mov esi, eax
mov ebx, 1
lea ecx, [esp + 0x20]
mov dword [esp + 0xc8], ebx
call fcn.007ac4ef
push esi
lea ecx, [esp + 0x34]
mov byte [esp + 0xcc], 2
mov byte [esp + 0x30], bl
call fcn.00472290
mov byte [esp + 0xc8], 3
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea ecx, [esp + 0x48]
call fcn.00576390
mov dword [esp + 0x20], vtable.WWLib::BaseException.0
mov eax, dword [esp + 0x14]
xor esi, esi
cmp eax, esi
mov byte [esp + 0xc8], 5
je 0x5df4cd
mov cl, byte [eax - 1]
test cl, cl
je 0x5df4c1
dec cl
mov byte [eax - 1], cl
jmp 0x5df4cd
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov edx, dword [ebp]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [edx + 0xc]
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0xc8], 6
call dword [edx + 0x10]
lea ecx, [esp + 0x84]
mov dword [esp + 0x80], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x14]
lea edx, [esp + 0x20]
push 0x8c1f58
push edx
mov dword [esp + 0xd0], 0xffffffff
mov dword [esp + 0x28], 0x86a0c8
call fcn.007ac5c6
mov ecx, dword [esp + 0xc0]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret 8
Function at 0x5df6b0
Capabilities:
Get file size

Disassembly:
push ecx
push ebx
mov ebx, ecx
push ebp
mov eax, dword [ebx]
call dword [eax + 8]
test al, al
jne 0x5df7a4
mov edx, dword [ebx + 0x1c]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x5df78f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 4]
test eax, eax
je 0x5df6f3
lea esi, [eax + 4]
jmp 0x5df6f5
xor esi, esi
push str.GetFileSize__
call fcn.007ac4d2
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004056a0
cmp eax, edi
jae 0x5df714
call fcn.007c4d19
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
test eax, eax
je 0x5df738
mov cl, byte [eax - 1]
test cl, cl
je 0x5df738
test edi, edi
mov ecx, esi
jne 0x5df75e
push 1
call fcn.00404f20
jmp 0x5df782
test edi, edi
jne 0x5df747
push 1
mov ecx, esi
call fcn.00404f20
jmp 0x5df782
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x5df753
cmp eax, edi
jae 0x5df764
push 1
mov ecx, esi
call fcn.00404f20
mov ecx, esi
push edi
call fcn.004056b0
mov eax, dword [esi + 4]
push edi
push str.GetFileSize__
push eax
call fcn.004069b0
mov ecx, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [ecx + edi*2], 0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
pop edi
pop esi
test al, al
jne 0x5df7a4
mov edx, dword [esp + 8]
xor ecx, ecx
xor eax, eax
or ecx, ebp
or edx, eax
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x5df9b0
Capabilities:
Clear file content

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx]
call dword [eax + 4]
test al, al
je 0x5dfa82
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x5dfa82
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 4]
test eax, eax
je 0x5df9e9
lea esi, [eax + 4]
jmp 0x5df9eb
xor esi, esi
push str.SetEndOfFile__
call fcn.007ac4d2
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.004056a0
cmp eax, edi
jae 0x5dfa0a
call fcn.007c4d19
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
test eax, eax
je 0x5dfa2e
mov cl, byte [eax - 1]
test cl, cl
je 0x5dfa2e
test edi, edi
mov ecx, esi
jne 0x5dfa54
push 1
call fcn.00404f20
jmp 0x5dfa78
test edi, edi
jne 0x5dfa3d
push 1
mov ecx, esi
call fcn.00404f20
jmp 0x5dfa78
mov eax, dword [esi + 0xc]
cmp eax, 0x1f
ja 0x5dfa49
cmp eax, edi
jae 0x5dfa5a
push 1
mov ecx, esi
call fcn.00404f20
mov ecx, esi
push edi
call fcn.004056b0
mov edx, dword [esi + 4]
push edi
push str.SetEndOfFile__
push edx
call fcn.004069b0
mov eax, dword [esi + 4]
mov dword [esi + 8], edi
add esp, 0xc
mov word [eax + edi*2], 0
mov edx, dword [ebx]
pop edi
mov ecx, ebx
pop esi
pop ebx
jmp dword [edx + 8]
pop ebx
ret
Function at 0x5e03a0
Capabilities:
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x81dc34
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
xor ebx, ebx
push ebp
push esi
cmp al, bl
push edi
mov ebp, ecx
jne 0x5e048e
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0x4c]
push eax
push ecx
call fcn.005de4d0
mov esi, eax
mov edx, dword [esp + 0x108]
lea eax, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x104], ebx
call fcn.005de4d0
add esp, 0x10
mov edi, eax
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0xf4], 1
call dword [edx + 0x24]
push eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 1
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00404c40
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x5e044b
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x5e0442
dec cl
mov byte [eax], cl
jmp 0x5e044b
push eax
call fcn.007d7349
add esp, 4
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0xf8], 0xffffffff
call fcn.00404c40
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x5e04b0
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x5e0483
dec cl
mov byte [eax], cl
jmp 0x5e04b0
push eax
call fcn.007d7349
add esp, 4
jmp 0x5e04b0
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [esp + 0x100]
push eax
mov eax, dword [ecx]
call dword [eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov esi, eax
cmp esi, ebx
jne 0x5e05b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp + 4]
mov dword [ebp + 0x18], eax
cmp edi, ebx
je 0x5e04cd
add edi, 4
jmp 0x5e04cf
xor edi, edi
push str.MoveFileW__
call fcn.007ac4d2
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.00404d30
test al, al
je 0x5e050d
mov eax, dword [edi + 4]
push esi
push str.MoveFileW__
push eax
call fcn.004069b0
mov ecx, dword [edi + 4]
mov dword [edi + 8], esi
add esp, 0xc
mov word [ecx + esi*2], 0
lea eax, [ecx + esi*2]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 8]
test al, al
je 0x5e05b3
mov eax, dword [ebp]
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call dword [eax + 0x18]
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0xf8], 2
call fcn.005cec50
mov dword [esp + 0x74], vtable.WWLib::BaseException.0
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xf8], 4
call fcn.00404f20
mov edx, dword [ebp]
lea eax, [esp + 0xc0]
push eax
mov ecx, ebp
call dword [edx + 0xc]
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0xf4], 5
call dword [edx + 0x10]
lea ecx, [esp + 0xd8]
mov dword [esp + 0xd4], eax
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x14]
lea edx, [esp + 0x74]
push 0x8c2368
push edx
mov dword [esp + 0xfc], 0xffffffff
mov dword [esp + 0x7c], 0x86a1ac
call fcn.007ac5c6
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret 0xc
Function at 0x5e08d0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x81dc68
push eax
mov al, byte [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x28
test al, al
push ebx
push esi
mov ebx, ecx
jne 0x5e0952
mov eax, dword [esp + 0x44]
lea ecx, [esp + 8]
push eax
push ecx
call fcn.005de4d0
add esp, 8
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0x38], 0
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
lea ecx, [esp + 0x24]
mov esi, eax
mov dword [esp + 0x3c], 0xffffffff
call fcn.00404c40
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5e0964
mov cl, byte [eax - 1]
dec eax
test cl, cl
je 0x5e0947
dec cl
mov byte [eax], cl
jmp 0x5e0964
push eax
call fcn.007d7349
add esp, 4
jmp 0x5e0964
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx]
call dword [eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5e09e4
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
lea eax, [ebx + 4]
test eax, eax
je 0x5e097f
lea edi, [eax + 4]
jmp 0x5e0981
xor edi, edi
push str.GetFileAttributesW__
call fcn.007ac4d2
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.00404d30
test al, al
je 0x5e09c9
mov eax, dword [edi + 4]
mov ecx, str.GetFileAttributesW__
test esi, esi
jbe 0x5e09bd
mov edx, esi
push ebp
mov bp, word [ecx]
add ecx, 2
mov word [eax], bp
add eax, 2
dec edx
jne 0x5e09ad
pop ebp
mov ecx, dword [edi + 4]
mov dword [edi + 8], esi
mov word [ecx + esi*2], 0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x30]
mov dword [eax], esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
Function at 0x5e0d70
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x81dd60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov al, byte [esp + 0x15c]
push ebx
mov ebx, ecx
push esi
test al, al
mov dword [esp + 8], ebx
jne 0x5e0df9
mov eax, dword [esp + 0x168]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.005de4d0
add esp, 8
mov edx, dword [esp + 0x16c]
mov ecx, eax
push edx
mov edx, dword [eax]
mov dword [esp + 0x160], 0
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
lea ecx, [esp + 0x58]
mov esi, eax
mov dword [esp + 0x160], 0xffffffff
call fcn.00404c40
push 1
lea ecx, [esp + 0x44]
call fcn.00404c40
jmp 0x5e0e16
mov ecx, dword [esp + 0x168]
mov eax, dword [esp + 0x16c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x5e0fdd
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
add ebx, 4
test ebx, ebx
je 0x5e0e34
lea edi, [ebx + 4]
jmp 0x5e0e36
xor edi, edi
push str.CreateDirectoryW__
call fcn.007ac4d2
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.00404d30
test al, al
je 0x5e0e74
mov eax, dword [edi + 4]
push esi
push str.CreateDirectoryW__
push eax
call fcn.004069b0
mov eax, dword [edi + 4]
mov dword [edi + 8], esi
add esp, 0xc
mov word [eax + esi*2], 0
lea eax, [eax + esi*2]
mov esi, dword [esp + 0xc]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test al, al
pop edi
je 0x5e0fdd
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 8], eax
call fcn.004034a0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 1
mov dword [esp + 0x1c], vtable.ucs2string.0
call fcn.00419a20
mov ecx, dword [esi + 0x18]
mov dword [esp + 0xc], vtable.WWLib::CWinApiBase_1_.0
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x160], 2
call dword [0x85470c]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x160], 3
call fcn.005daec0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 5
call fcn.00404f20
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x10]
call dword [edx + 0xc]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 6
call dword [eax + 0x10]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc8], eax
call dword [edx + 0x14]
mov esi, 0x86a1e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x64], esi
call fcn.0050a300
lea eax, [esp + 0x64]
mov ebx, 7
push eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0x160], ebx
call fcn.00449460
lea ecx, [esp + 0xb0]
mov byte [esp + 0x15c], 8
push ecx
lea ecx, [esp + 0x12c]
call fcn.00472290
mov edx, dword [esp + 0xc4]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x160], 9
mov dword [esp + 0x140], edx
call fcn.00472290
lea ecx, [esp + 0xdc]
push 0x8c2528
push ecx
mov byte [esp + 0x164], bl
mov dword [esp + 0xe4], esi
call fcn.007ac5c6
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 0xc
Function at 0x5e1000
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x81ddd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov al, byte [esp + 0x15c]
push ebx
mov ebx, ecx
push esi
test al, al
mov dword [esp + 8], ebx
jne 0x5e1081
mov eax, dword [esp + 0x168]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.005de4d0
add esp, 8
mov edx, dword [eax]
mov ecx, eax
mov dword [esp + 0x15c], 0
call dword [edx + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 1
lea ecx, [esp + 0x58]
mov esi, eax
mov dword [esp + 0x160], 0xffffffff
call fcn.00404c40
push 1
lea ecx, [esp + 0x44]
call fcn.00404c40
jmp 0x5e1096
mov ecx, dword [esp + 0x168]
mov eax, dword [ecx]
call dword [eax + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
jne 0x5e125d
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x18], eax
add ebx, 4
test ebx, ebx
je 0x5e10b4
lea edi, [ebx + 4]
jmp 0x5e10b6
xor edi, edi
push str.RemoveDirectoryW__
call fcn.007ac4d2
add esp, 4
mov esi, eax
mov ecx, edi
push 1
push esi
call fcn.00404d30
test al, al
je 0x5e10f4
mov eax, dword [edi + 4]
push esi
push str.RemoveDirectoryW__
push eax
call fcn.004069b0
mov ecx, dword [edi + 4]
mov dword [edi + 8], esi
add esp, 0xc
mov word [ecx + esi*2], 0
lea eax, [ecx + esi*2]
mov esi, dword [esp + 0xc]
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test al, al
pop edi
je 0x5e125d
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 8], eax
call fcn.004034a0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x168], 1
mov dword [esp + 0x1c], vtable.ucs2string.0
call fcn.00419a20
mov ecx, dword [esi + 0x18]
mov dword [esp + 0xc], vtable.WWLib::CWinApiBase_1_.0
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc]
push edx
mov dword [esp + 0x160], 2
call dword [0x85470c]
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0x160], 3
call fcn.005daec0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x160], 5
call fcn.00404f20
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x10]
call dword [edx + 0xc]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0xc]
mov byte [esp + 0x15c], 6
call dword [eax + 0x10]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc8], eax
call dword [edx + 0x14]
mov esi, 0x86a1e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x64], esi
call fcn.0050a300
lea eax, [esp + 0x64]
mov ebx, 7
push eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0x160], ebx
call fcn.00449460
lea ecx, [esp + 0xb0]
mov byte [esp + 0x15c], 8
push ecx
lea ecx, [esp + 0x12c]
call fcn.00472290
mov edx, dword [esp + 0xc4]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x144]
mov byte [esp + 0x160], 9
mov dword [esp + 0x140], edx
call fcn.00472290
lea ecx, [esp + 0xdc]
push 0x8c2528
push ecx
mov byte [esp + 0x164], bl
mov dword [esp + 0xe4], esi
call fcn.007ac5c6
mov ecx, dword [esp + 0x154]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret 8
Function at 0x5e1280
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x81de16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], ebx
call dword [edx + 0x18]
mov edi, eax
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.007ac4ef
push edi
lea ecx, [esi + 0x10]
mov byte [esp + 0x30], 2
mov byte [esi + 0xc], 1
call fcn.00472290
mov byte [esp + 0x2c], 3
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
lea ecx, [esi + 0x24]
call fcn.00576390
mov dword [esi], vtable.WWLib::BaseException.0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x2c], 5
cmp eax, ebx
je 0x5e1318
mov cl, byte [eax - 1]
cmp cl, bl
je 0x5e130c
dec cl
mov byte [eax - 1], cl
jmp 0x5e1318
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov edx, dword [esp + 0x34]
lea eax, [esi + 0x4c]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [edx + 0xc]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 6
call dword [eax + 0x10]
mov edx, dword [esp + 0x34]
lea ecx, [esi + 0x64]
push ecx
lea ecx, [esp + 0x38]
mov dword [esi + 0x60], eax
call dword [edx + 0x14]
mov eax, dword [esp + 0x40]
mov dword [esi], 0x86a1e0
cmp eax, ebx
mov dword [esp + 0x34], vtable.WWLib::CBase_unsigned_long_int__1_.0
je 0x5e1385
mov cl, byte [eax - 1]
cmp cl, bl
je 0x5e1379
dec cl
mov byte [eax - 1], cl
jmp 0x5e1385
add eax, 0xfffffffe
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x1c