joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422b20
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x48d3e1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
lea ecx, [esp + 4]
call fcn.00420f80
lea ecx, [esp + 0x8c]
mov dword [esp + 0x1b4], 0
call fcn.00420f80
mov eax, dword [esp + 0x1bc]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x1b8], 1
call fcn.00422050
mov ecx, dword [esp + 0x1c0]
push ecx
lea ecx, [esp + 0x90]
call fcn.00422050
push 0x5c
push 0x2f
lea ecx, [esp + 0xc]
call fcn.00422290
push 0x5c
push 0x2f
lea ecx, [esp + 0x94]
call fcn.00422290
lea ecx, [esp + 0x114]
call fcn.004604d0
lea ecx, [esp + 0x114]
mov byte [esp + 0x1b4], 2
call fcn.00460520
test al, al
je 0x422bfa
mov al, byte [esp + 0x1c4]
xor edx, edx
test al, al
setne dl
push edx
lea ecx, [esp + 0x90]
call fcn.00421970
push eax
lea ecx, [esp + 0xc]
call fcn.00421970
push eax
call fcn.00453010
add esp, 0xc
jmp 0x422c26
mov dl, byte [esp + 0x1c4]
xor eax, eax
test dl, dl
setne al
push eax
lea ecx, [esp + 0x90]
call fcn.00421370
push eax
lea ecx, [esp + 0xc]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
lea ecx, [esp + 0x114]
mov byte [esp + 0x1b4], 1
setne bl
call fcn.00460510
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1b4], 0
call fcn.00421050
lea ecx, [esp + 4]
mov dword [esp + 0x1b4], 0xffffffff
call fcn.00421050
mov ecx, dword [esp + 0x1ac]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret
Function at 0x422d70
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x48d43c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push esi
lea ecx, [esp + 8]
call fcn.00420f80
mov eax, dword [esp + 0x248]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x244], 0
call fcn.00422050
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00422290
lea ecx, [esp + 0x118]
call fcn.004604d0
lea ecx, [esp + 0x118]
mov byte [esp + 0x240], 1
call fcn.00460520
test al, al
lea ecx, [esp + 8]
je 0x422dff
call fcn.00421970
push eax
call fcn.00452f60
add esp, 4
test eax, eax
setne bl
jmp 0x422ecc
call fcn.004210c0
cmp eax, 0x104
jle 0x422f0d
lea ecx, [esp + 0x1b0]
call fcn.00420f80
lea ecx, [esp + 0x1b0]
lea edx, [esp + 8]
push ecx
push edx
mov byte [esp + 0x248], 2
call fcn.00422460
add esp, 8
lea ecx, [esp + 0x90]
call fcn.00420f80
push 0x4a7894
lea ecx, [esp + 0x94]
mov byte [esp + 0x244], 3
call fcn.00421df0
lea ecx, [esp + 0x1b0]
call fcn.00421e20
push eax
lea ecx, [esp + 0x94]
call fcn.00421df0
lea ecx, [esp + 0x90]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, eax
test esi, esi
jne 0x422ea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x422e9f
mov esi, 1
test esi, esi
lea ecx, [esp + 0x90]
mov byte [esp + 0x240], 2
setne bl
call fcn.00421050
lea ecx, [esp + 0x1b0]
mov byte [esp + 0x240], 1
call fcn.00421050
lea ecx, [esp + 0x118]
mov byte [esp + 0x240], 0
call fcn.00460510
lea ecx, [esp + 8]
mov dword [esp + 0x240], 0xffffffff
call fcn.00421050
mov al, bl
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
add esp, 0x23c
ret
push edi
lea ecx, [esp + 0xc]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, eax
test edi, edi
jne 0x422f63
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x250]
mov ebx, eax
test esi, esi
je 0x422f57
mov eax, dword [esi]
push ebp
push ebx
mov ecx, esi
call dword [eax + 0x38]
mov ebp, dword [esi]
lea ecx, [esp + 0x10]
call fcn.00421e20
push eax
push str.failedToDeleteFilepath
mov ecx, esi
call dword [ebp + 0x28]
pop ebp
cmp ebx, 2
jne 0x422f61
mov edi, 1
test edi, edi
lea ecx, [esp + 0x11c]
mov byte [esp + 0x244], 0
setne bl
call fcn.00460510
lea ecx, [esp + 0xc]
mov dword [esp + 0x244], 0xffffffff
call fcn.00421050
mov ecx, dword [esp + 0x23c]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret
Function at 0x4235d0
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d4d1
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebp
mov ebp, dword [esp + 0x1c4]
push esi
mov esi, dword [esp + 0x1c4]
push edi
mov edi, dword [esp + 0x1c4]
mov dword [ebp], 0
mov ecx, edi
mov dword [esi], 0xffffffff
call fcn.004210c0
test eax, eax
jne 0x423637
mov ecx, dword [esp + 0x1d0]
test ecx, ecx
je 0x423630
mov eax, dword [ecx]
push str.GetAttributes:_filename_is_empty
call dword [eax + 0x10]
xor al, al
jmp 0x42376b
push ebx
lea ecx, [esp + 0x10]
call fcn.00420f80
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c4], 0
call fcn.00422050
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.00422290
lea ecx, [esp + 0x10]
call fcn.004210c0
lea ecx, [esp + 0x120]
mov edi, eax
call fcn.004604d0
mov bl, 1
cmp edi, 0x104
mov byte [esp + 0x1c0], bl
jge 0x4236c3
lea ecx, [esp + 0x10]
call fcn.00421760
test al, al
jne 0x4236a8
lea ecx, [esp + 0x120]
call fcn.00460520
test al, al
je 0x4236c3
lea ecx, [esp + 0x10]
call fcn.00421970
push eax
call fcn.00453030
add esp, 4
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x42373a
jmp 0x423731
test edi, edi
jle 0x42371a
lea ecx, [esp + 0x98]
call fcn.00420f80
lea ecx, [esp + 0x98]
lea edx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x1c8], 2
call fcn.00422c80
add esp, 8
lea ecx, [esp + 0x98]
call fcn.00421380
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x98]
mov dword [esi], eax
mov byte [esp + 0x1c0], bl
call fcn.00421050
jmp 0x42372c
lea ecx, [esp + 0x10]
call fcn.00421380
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x42373d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp], eax
cmp dword [esi], 0xffffffff
lea ecx, [esp + 0x120]
mov byte [esp + 0x1c0], 0
setne bl
call fcn.00460510
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00421050
mov al, bl
pop ebx
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1b4
ret
Function at 0x424230
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x48d5fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d0
push ebx
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.00420f80
mov eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x1e8], 0
call fcn.00422050
push 0x5c
push 0x2f
lea ecx, [esp + 0x3c]
call fcn.00422290
lea ecx, [esp + 0x144]
call fcn.004604d0
mov bl, 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e4], bl
call fcn.00460520
test al, al
je 0x4242bb
push 0
lea ecx, [esp + 0x38]
call fcn.00421970
push eax
call fcn.004530b0
add esp, 8
jmp 0x42432f
lea ecx, [esp + 0x34]
call fcn.004210c0
test eax, eax
jle 0x42431d
lea ecx, [esp + 0xbc]
call fcn.00420f80
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x1ec], 2
call fcn.00422c80
add esp, 8
lea ecx, [esp + 0xbc]
push 0
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0xbc]
mov esi, eax
mov byte [esp + 0x1e4], bl
call fcn.00421050
jmp 0x424331
push 0
lea ecx, [esp + 0x38]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x424384
mov edi, dword [esp + 0x1f0]
test edi, edi
je 0x424382
push ebp
lea ecx, [esp + 0x10]
call fcn.0041d9e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], 3
call fcn.0041ef70
mov ebp, dword [edi]
lea ecx, [esp + 0x10]
call fcn.0041c940
push eax
push str.errorMsg
mov ecx, edi
call dword [ebp + 0x28]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], bl
call fcn.0041dcd0
pop ebp
test esi, esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e4], 0
setne bl
call fcn.00460510
lea ecx, [esp + 0x34]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.00421050
mov ecx, dword [esp + 0x1dc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1dc
ret
Function at 0x4243d0
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x48d631
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
lea ecx, [esp + 8]
call fcn.00420f80
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x1bc], 0
call fcn.00422050
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00422290
lea ecx, [esp + 0x118]
call fcn.004604d0
mov bl, 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], bl
call fcn.00460520
test al, al
lea ecx, [esp + 8]
je 0x424456
call fcn.00421970
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x4244c2
call fcn.004210c0
test eax, eax
jle 0x4244b2
lea ecx, [esp + 0x90]
call fcn.00420f80
lea ecx, [esp + 0x90]
lea edx, [esp + 8]
push ecx
push edx
mov byte [esp + 0x1c0], 2
call fcn.00422c80
add esp, 8
lea ecx, [esp + 0x90]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0x1b8], bl
call fcn.00421050
jmp 0x4244c4
lea ecx, [esp + 8]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
test esi, esi
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], 0
setne bl
call fcn.00460510
lea ecx, [esp + 8]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.00421050
mov ecx, dword [esp + 0x1b0]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret

Function at 0x424510
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48d661
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
lea ecx, [esp + 8]
call fcn.00420f80
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x1bc], 0
call fcn.00422050
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.00422290
lea ecx, [esp + 0x118]
call fcn.004604d0
mov bl, 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], bl
call fcn.00460520
test al, al
je 0x4245a3
mov ecx, dword [esp + 0x1c4]
push ecx
lea ecx, [esp + 0xc]
call fcn.00421970
push eax
call fcn.004530d0
add esp, 8
jmp 0x424623
lea ecx, [esp + 8]
call fcn.004210c0
test eax, eax
jle 0x42460b
lea ecx, [esp + 0x90]
call fcn.00420f80
lea edx, [esp + 0x90]
lea eax, [esp + 8]
push edx
push eax
mov byte [esp + 0x1c0], 2
call fcn.00422c80
mov ecx, dword [esp + 0x1cc]
add esp, 8
push ecx
lea ecx, [esp + 0x94]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0x1b8], bl
call fcn.00421050
jmp 0x424625
mov edx, dword [esp + 0x1c4]
lea ecx, [esp + 8]
push edx
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
test esi, esi
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], 0
setne bl
call fcn.00460510
lea ecx, [esp + 8]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.00421050
mov ecx, dword [esp + 0x1b0]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret
Function at 0x424670
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x48d678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov ecx, dword [esp + 0x3c]
lea eax, [esp]
push edi
xor edi, edi
push eax
push ecx
mov dword [esp + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x424708
push esi
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x4246f1
lea ecx, [esp + 0xc]
call fcn.0041d9e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.0041ef70
mov edi, dword [esi]
lea ecx, [esp + 0xc]
call fcn.0041c940
push eax
mov ecx, esi
call dword [edi + 0x10]
mov edx, dword [esi]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0041dcd0
or eax, 0xffffffff
pop esi
or edx, 0xffffffff
pop edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov ecx, dword [esp + 4]
push ecx
push eax
call fcn.00457390
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword fs:[0], ecx
pop edi
add esp, 0x38
ret
Function at 0x424730
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d6a6
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0xb8
mov byte [eax], 0
push ebx
mov ebx, dword [esp + 0xcc]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
jne 0x42476a
xor eax, eax
jmp 0x4248dc
cmp byte [ebx], 0
jne 0x424776
xor eax, eax
jmp 0x4248dc
lea ecx, [esp + 0x40]
call fcn.00420f80
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], ebp
call fcn.004211d0
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.00422290
mov esi, dword [esp + 0xdc]
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.00423790
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x4247d5
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], eax
call fcn.00421050
xor eax, eax
jmp 0x4248dc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x424868
test esi, esi
je 0x424845
lea ecx, [esp + 0x18]
call fcn.0041d9e0
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 1
call fcn.0041ef70
mov ebp, dword [esi]
lea ecx, [esp + 0x18]
call fcn.0041c940
push eax
mov ecx, esi
call dword [ebp + 0x10]
mov edx, dword [esi]
push ebx
push str.filename
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esi]
push str.Failed_to_get_file_size__ANSI_
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 0
call fcn.0041dcd0
push 0
push edi
call fcn.004563b0
add esp, 8
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00421050
xor eax, eax
jmp 0x4248dc
push 0
push edi
call fcn.004563b0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4248bc
test esi, esi
je 0x4248a4
mov edx, dword [esi]
push str.File_too_large_for_32_bits
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi]
push ebx
push str.filename
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
push str.Failed_to_get_file_size.
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00421050
xor eax, eax
jmp 0x4248dc
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
mov byte [eax], 1
call fcn.00421050
mov eax, ebp
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret
Function at 0x424900
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d6c6
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0xb8
mov byte [eax], 0
push ebx
mov ebx, dword [esp + 0xcc]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
jne 0x42493a
xor eax, eax
jmp 0x424aac
cmp word [ebx], bp
jne 0x424946
xor eax, eax
jmp 0x424aac
lea ecx, [esp + 0x40]
call fcn.00420f80
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], ebp
call fcn.004212f0
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.00422290
mov esi, dword [esp + 0xdc]
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.00423790
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x4249a5
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], eax
call fcn.00421050
xor eax, eax
jmp 0x424aac
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x424a38
test esi, esi
je 0x424a15
lea ecx, [esp + 0x18]
call fcn.0041d9e0
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 1
call fcn.0041ef70
mov ebp, dword [esi]
lea ecx, [esp + 0x18]
call fcn.0041c940
push eax
mov ecx, esi
call dword [ebp + 0x10]
mov edx, dword [esi]
push ebx
push str.filename
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esi]
push str.Failed_to_get_file_size__Unicode_
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 0
call fcn.0041dcd0
push 0
push edi
call fcn.004563b0
add esp, 8
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00421050
xor eax, eax
jmp 0x424aac
push 0
push edi
call fcn.004563b0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x424a8c
test esi, esi
je 0x424a74
mov edx, dword [esi]
push str.File_too_large_for_32_bits
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esi]
push ebx
push str.filename
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
push str.Failed_to_get_file_size
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
call fcn.00421050
xor eax, eax
jmp 0x424aac
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
mov byte [eax], 1
call fcn.00421050
mov eax, ebp
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret
Function at 0x425410
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x48d801
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push esi
lea ecx, [esp + 0x2c]
call fcn.00420f80
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x148], 0
call fcn.00422050
push 0x5c
push 0x2f
lea ecx, [esp + 0x34]
call fcn.00422290
lea ecx, [esp + 0x2c]
call fcn.004210c0
test eax, eax
jle 0x4254bf
lea ecx, [esp + 0xb4]
call fcn.00420f80
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x14c], 1
call fcn.00422c80
add esp, 8
lea ecx, [esp + 0xb4]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0xb4]
mov esi, eax
mov byte [esp + 0x144], 0
call fcn.00421050
jmp 0x4254d1
lea ecx, [esp + 0x2c]
call fcn.00421370
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
jne 0x42554f
mov esi, dword [esp + 0x150]
test esi, esi
je 0x425523
push edi
lea ecx, [esp + 8]
call fcn.0041d9e0
lea ecx, [esp + 8]
mov byte [esp + 0x148], 2
call fcn.0041ef70
mov edi, dword [esi]
lea ecx, [esp + 8]
call fcn.0041c940
push eax
push str.errorMsg
mov ecx, esi
call dword [edi + 0x28]
lea ecx, [esp + 8]
mov byte [esp + 0x148], 0
call fcn.0041dcd0
pop edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x144], 0xffffffff
call fcn.00421050
xor al, al
pop esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
add esp, 0x144
ret
lea ecx, [esp + 0x2c]
mov dword [esp + 0x144], 0xffffffff
call fcn.00421050
mov ecx, dword [esp + 0x13c]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x428989
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48db58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call fcn.0041d9e0
lea eax, [esp + 8]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x3c], 0
call fcn.00460bf0
push 0
lea ecx, [esp + 0xc]
call fcn.0041c950
push eax
lea ecx, [esp + 0x10]
call fcn.0041c940
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.00425e90
add esp, 0x10
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
call fcn.0041dcd0
mov ecx, dword [esp + 0x30]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x42fe10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48e79b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea edi, [esi + 8]
mov ecx, edi
call fcn.0041d9e0
xor eax, eax
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esi + 0x30], eax
mov dword [esi], vtable.Charset.0
call fcn.0041d870
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4322f0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret
Function at 0x441130
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48f938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00452ed0
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
mov byte [esi + 0x10], 0xce
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
call fcn.00426870
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi], vtable.TreeInfo.0
mov eax, dword [0x4afb88]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [0x4afb88]
pop edi
inc eax
mov dword fs:[0], ecx
mov dword [0x4afb88], eax
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x442220
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x48fa03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00452ed0
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov byte [esi + 0x24], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], 0xce
mov dword [esi], vtable.TreeNode.0
je 0x442286
cmp byte [eax], bl
je 0x442286
push eax
mov ecx, esi
call fcn.00442f00
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x4422b8
cmp byte [edi], bl
je 0x4422b8
push 0x28
call fcn.0047dc6a
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x4422b3
push edi
mov ecx, eax
call fcn.0041d8e0
jmp 0x4422b5
xor eax, eax
mov dword [esi + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x450a60
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x118]
push ebp
push esi
test ebx, ebx
push edi
je 0x450c43
mov ebp, dword [esp + 0x120]
test ebp, ebp
je 0x450c43
push ebx
push ebx
call fcn.00450a30
mov edi, dword [esp + 0x130]
add esp, 8
mov ecx, edi
push eax
call fcn.0041d300
mov eax, 0x55555556
xor esi, esi
imul ebx
mov eax, edx
xor ecx, ecx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x450bf9
mov ebx, dword [0x4b36e4]
mov dword [esp + 0x10], edx
jmp 0x450ace
mov ebp, dword [esp + 0x120]
xor eax, eax
xor edx, edx
mov al, byte [esi + ebp]
mov dl, byte [esi + ebp + 1]
inc esi
mov edi, edx
inc esi
xor edx, edx
mov dl, byte [esi + ebp]
inc esi
mov ebp, edx
mov edx, eax
sar edx, 2
and edx, 0x3f
and eax, 3
shl eax, 4
mov dl, byte [edx + ebx]
mov byte [esp + ecx + 0x14], dl
mov edx, edi
sar edx, 4
and edx, 0xf
and edi, 0xf
or edx, eax
inc ecx
shl edi, 2
mov al, byte [edx + ebx]
mov edx, ebp
sar edx, 6
and edx, 3
mov byte [esp + ecx + 0x14], al
or edx, edi
inc ecx
and ebp, 0x3f
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + ecx + 0x13], al
mov dl, byte [ebx + ebp]
mov byte [esp + ecx + 0x14], dl
inc ecx
cmp ecx, 0x100
jl 0x450b56
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.0041d760
mov ebx, dword [0x4b36e4]
xor ecx, ecx
jmp 0x450b5d
mov edi, dword [esp + 0x128]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x450ac7
test ecx, ecx
je 0x450b83
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.0041d760
mov ebx, dword [0x4b36e4]
mov ebp, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x450c01
dec edx
jne 0x450c43
xor eax, eax
xor edx, edx
mov al, byte [esi + ebp]
mov dl, byte [esi + ebp + 1]
mov dword [esp + 0x10], eax
mov ecx, edi
sar eax, 2
and eax, 0x3f
mov esi, edx
mov al, byte [eax + ebx]
push eax
call fcn.0041cd20
mov eax, dword [esp + 0x10]
mov edx, dword [0x4b36e4]
mov ecx, esi
and eax, 3
sar ecx, 4
and ecx, 0xf
shl eax, 4
or ecx, eax
mov al, byte [ecx + edx]
mov ecx, edi
push eax
call fcn.0041cd20
mov ecx, dword [0x4b36e4]
and esi, 0xf
mov dl, byte [ecx + esi*4]
push edx
jmp 0x450c33
mov ebx, dword [0x4b36e4]
jmp 0x450b8a
xor eax, eax
mov al, byte [esi + ebp]
mov esi, eax
mov ecx, esi
sar ecx, 2
and ecx, 0x3f
mov dl, byte [ecx + ebx]
mov ecx, edi
push edx
call fcn.0041cd20
mov eax, dword [0x4b36e4]
and esi, 3
shl esi, 4
mov cl, byte [esi + eax]
push ecx
mov ecx, edi
call fcn.0041cd20
push 0x3d
mov ecx, edi
call fcn.0041cd20
push 0x3d
mov ecx, edi
call fcn.0041cd20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret