joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ec30
Capabilities:
Get file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485d51
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.0041c830
test eax, eax
jne 0x41ec97
mov ecx, dword [esp + 0x1d0]
test ecx, ecx
je 0x41ec90
mov eax, dword [ecx]
push str.GetAttributes:_filename_is_empty
call dword [eax + 0x10]
xor al, al
jmp 0x41edcb
push ebx
lea ecx, [esp + 0x10]
call fcn.0041c6f0
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c4], 0
call fcn.0041d5b0
push 0x5c
push 0x2f
lea ecx, [esp + 0x18]
call fcn.0041d840
lea ecx, [esp + 0x10]
call fcn.0041c830
lea ecx, [esp + 0x120]
mov edi, eax
call fcn.00453f70
mov bl, 1
cmp edi, 0x104
mov byte [esp + 0x1c0], bl
jge 0x41ed23
lea ecx, [esp + 0x10]
call fcn.0041cde0
test al, al
jne 0x41ed08
lea ecx, [esp + 0x120]
call fcn.00453fc0
test al, al
je 0x41ed23
lea ecx, [esp + 0x10]
call fcn.0041cff0
push eax
call fcn.00447bc0
add esp, 4
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x41ed9a
jmp 0x41ed91
test edi, edi
jle 0x41ed7a
lea ecx, [esp + 0x98]
call fcn.0041c6f0
lea ecx, [esp + 0x98]
lea edx, [esp + 0x10]
push ecx
push edx
mov byte [esp + 0x1c8], 2
call fcn.0041e2e0
add esp, 8
lea ecx, [esp + 0x98]
call fcn.0041cb30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [esp + 0x98]
mov dword [esi], eax
mov byte [esp + 0x1c0], bl
call fcn.0041c7c0
jmp 0x41ed8c
lea ecx, [esp + 0x10]
call fcn.0041cb30
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esi], eax
cmp dword [esi], 0xffffffff
jne 0x41ed9d
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.00453fb0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.0041c7c0
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 0x41f890
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x485e7c
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.0041c6f0
mov eax, dword [esp + 0x1ec]
lea ecx, [esp + 0x34]
push eax
mov dword [esp + 0x1e8], 0
call fcn.0041d5b0
push 0x5c
push 0x2f
lea ecx, [esp + 0x3c]
call fcn.0041d840
lea ecx, [esp + 0x144]
call fcn.00453f70
mov bl, 1
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e4], bl
call fcn.00453fc0
test al, al
je 0x41f91b
push 0
lea ecx, [esp + 0x38]
call fcn.0041cff0
push eax
call fcn.00447c40
add esp, 8
jmp 0x41f98f
lea ecx, [esp + 0x34]
call fcn.0041c830
test eax, eax
jle 0x41f97d
lea ecx, [esp + 0xbc]
call fcn.0041c6f0
lea ecx, [esp + 0xbc]
lea edx, [esp + 0x34]
push ecx
push edx
mov byte [esp + 0x1ec], 2
call fcn.0041e2e0
add esp, 8
lea ecx, [esp + 0xbc]
push 0
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [esp + 0xbc]
mov esi, eax
mov byte [esp + 0x1e4], bl
call fcn.0041c7c0
jmp 0x41f991
push 0
lea ecx, [esp + 0x38]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, eax
test esi, esi
jne 0x41f9e4
mov edi, dword [esp + 0x1f0]
test edi, edi
je 0x41f9e2
push ebp
lea ecx, [esp + 0x10]
call fcn.00419150
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], 3
call fcn.0041a6e0
mov ebp, dword [edi]
lea ecx, [esp + 0x10]
call fcn.004220a0
push eax
push str.errorMsg
mov ecx, edi
call dword [ebp + 0x28]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e8], bl
call fcn.00419440
pop ebp
test esi, esi
lea ecx, [esp + 0x144]
mov byte [esp + 0x1e4], 0
setne bl
call fcn.00453fb0
lea ecx, [esp + 0x34]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.0041c7c0
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 0x41fa30
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x485eb1
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.0041c6f0
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x1bc], 0
call fcn.0041d5b0
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.0041d840
lea ecx, [esp + 0x118]
call fcn.00453f70
mov bl, 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], bl
call fcn.00453fc0
test al, al
lea ecx, [esp + 8]
je 0x41fab6
call fcn.0041cff0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x41fb22
call fcn.0041c830
test eax, eax
jle 0x41fb12
lea ecx, [esp + 0x90]
call fcn.0041c6f0
lea ecx, [esp + 0x90]
lea edx, [esp + 8]
push ecx
push edx
mov byte [esp + 0x1c0], 2
call fcn.0041e2e0
add esp, 8
lea ecx, [esp + 0x90]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0x1b8], bl
call fcn.0041c7c0
jmp 0x41fb24
lea ecx, [esp + 8]
call fcn.0041cb20
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.00453fb0
lea ecx, [esp + 8]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0041c7c0
mov ecx, dword [esp + 0x1b0]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret

Function at 0x41fb70
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x485ee1
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.0041c6f0
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 8]
push eax
mov dword [esp + 0x1bc], 0
call fcn.0041d5b0
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.0041d840
lea ecx, [esp + 0x118]
call fcn.00453f70
mov bl, 1
lea ecx, [esp + 0x118]
mov byte [esp + 0x1b8], bl
call fcn.00453fc0
test al, al
je 0x41fc03
mov ecx, dword [esp + 0x1c4]
push ecx
lea ecx, [esp + 0xc]
call fcn.0041cff0
push eax
call fcn.00447c60
add esp, 8
jmp 0x41fc83
lea ecx, [esp + 8]
call fcn.0041c830
test eax, eax
jle 0x41fc6b
lea ecx, [esp + 0x90]
call fcn.0041c6f0
lea edx, [esp + 0x90]
lea eax, [esp + 8]
push edx
push eax
mov byte [esp + 0x1c0], 2
call fcn.0041e2e0
mov ecx, dword [esp + 0x1cc]
add esp, 8
push ecx
lea ecx, [esp + 0x94]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [esp + 0x90]
mov esi, eax
mov byte [esp + 0x1b8], bl
call fcn.0041c7c0
jmp 0x41fc85
mov edx, dword [esp + 0x1c4]
lea ecx, [esp + 8]
push edx
call fcn.0041cb20
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.00453fb0
lea ecx, [esp + 8]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.0041c7c0
mov ecx, dword [esp + 0x1b0]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b4
ret
Function at 0x41fcd0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x485ef8
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 0x41fd68
push esi
mov esi, dword [esp + 0x48]
cmp esi, edi
je 0x41fd51
lea ecx, [esp + 0xc]
call fcn.00419150
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], edi
call fcn.0041a6e0
mov edi, dword [esi]
lea ecx, [esp + 0xc]
call fcn.004220a0
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.00419440
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.0044ae40
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword fs:[0], ecx
pop edi
add esp, 0x38
ret
Function at 0x41fd90
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485f26
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 0x41fdca
xor eax, eax
jmp 0x41ff3c
cmp byte [ebx], 0
jne 0x41fdd6
xor eax, eax
jmp 0x41ff3c
lea ecx, [esp + 0x40]
call fcn.0041c6f0
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], ebp
call fcn.0041c980
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.0041d840
mov esi, dword [esp + 0xdc]
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0041edf0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x41fe35
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], eax
call fcn.0041c7c0
xor eax, eax
jmp 0x41ff3c
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 0x41fec8
test esi, esi
je 0x41fea5
lea ecx, [esp + 0x18]
call fcn.00419150
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 1
call fcn.0041a6e0
mov ebp, dword [esi]
lea ecx, [esp + 0x18]
call fcn.004220a0
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.00419440
push 0
push edi
call fcn.00449e50
add esp, 8
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0041c7c0
xor eax, eax
jmp 0x41ff3c
push 0
push edi
call fcn.00449e50
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x41ff1c
test esi, esi
je 0x41ff04
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.0041c7c0
xor eax, eax
jmp 0x41ff3c
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
mov byte [eax], 1
call fcn.0041c7c0
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 0x41ff60
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x485f46
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 0x41ff9a
xor eax, eax
jmp 0x42010c
cmp word [ebx], bp
jne 0x41ffa6
xor eax, eax
jmp 0x42010c
lea ecx, [esp + 0x40]
call fcn.0041c6f0
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0xd4], ebp
call fcn.0041caa0
push 0x5c
push 0x2f
lea ecx, [esp + 0x48]
call fcn.0041d840
mov esi, dword [esp + 0xdc]
lea ecx, [esp + 0x14]
push esi
lea edx, [esp + 0x44]
push ecx
push edx
call fcn.0041edf0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x420005
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], eax
call fcn.0041c7c0
xor eax, eax
jmp 0x42010c
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 0x420098
test esi, esi
je 0x420075
lea ecx, [esp + 0x18]
call fcn.00419150
lea ecx, [esp + 0x18]
mov byte [esp + 0xd0], 1
call fcn.0041a6e0
mov ebp, dword [esi]
lea ecx, [esp + 0x18]
call fcn.004220a0
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.00419440
push 0
push edi
call fcn.00449e50
add esp, 8
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
call fcn.0041c7c0
xor eax, eax
jmp 0x42010c
push 0
push edi
call fcn.00449e50
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x4200ec
test esi, esi
je 0x4200d4
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.0041c7c0
xor eax, eax
jmp 0x42010c
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x40]
mov dword [esp + 0xd0], 0xffffffff
mov byte [eax], 1
call fcn.0041c7c0
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 0x420a70
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x486081
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push esi
lea ecx, [esp + 0x2c]
call fcn.0041c6f0
mov eax, dword [esp + 0x14c]
lea ecx, [esp + 0x2c]
push eax
mov dword [esp + 0x148], 0
call fcn.0041d5b0
push 0x5c
push 0x2f
lea ecx, [esp + 0x34]
call fcn.0041d840
lea ecx, [esp + 0x2c]
call fcn.0041c830
test eax, eax
jle 0x420b1f
lea ecx, [esp + 0xb4]
call fcn.0041c6f0
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x14c], 1
call fcn.0041e2e0
add esp, 8
lea ecx, [esp + 0xb4]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 0xb4]
mov esi, eax
mov byte [esp + 0x144], 0
call fcn.0041c7c0
jmp 0x420b31
lea ecx, [esp + 0x2c]
call fcn.0041cb20
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
jne 0x420baf
mov esi, dword [esp + 0x150]
test esi, esi
je 0x420b83
push edi
lea ecx, [esp + 8]
call fcn.00419150
lea ecx, [esp + 8]
mov byte [esp + 0x148], 2
call fcn.0041a6e0
mov edi, dword [esi]
lea ecx, [esp + 8]
call fcn.004220a0
push eax
push str.errorMsg
mov ecx, esi
call dword [edi + 0x28]
lea ecx, [esp + 8]
mov byte [esp + 0x148], 0
call fcn.00419440
pop edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x144], 0xffffffff
call fcn.0041c7c0
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.0041c7c0
mov ecx, dword [esp + 0x13c]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x4237e9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4863a8
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.00419150
lea eax, [esp + 8]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x3c], 0
call fcn.00454700
push 0
lea ecx, [esp + 0xc]
call fcn.00422090
push eax
lea ecx, [esp + 0x10]
call fcn.004220a0
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.004214f0
add esp, 0x10
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x38], 0xffffffff
call fcn.00419440
mov ecx, dword [esp + 0x30]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x4289a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x486d1b
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.00419150
xor eax, eax
mov ecx, edi
mov dword [esp + 0x14], eax
mov dword [esi + 0x30], eax
mov dword [esi], vtable.Charset.0
call fcn.00418fe0
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x42a420
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 0x435b00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4879e8
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.00447a60
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.00421d80
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 [0x4a575c]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [0x4a575c]
pop edi
inc eax
mov dword fs:[0], ecx
mov dword [0x4a575c], eax
mov eax, esi
pop esi
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x487ab3
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.00447a60
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 0x436c56
cmp byte [eax], bl
je 0x436c56
push eax
mov ecx, esi
call fcn.004378d0
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x436c88
cmp byte [edi], bl
je 0x436c88
push 0x28
call fcn.0046fd5a
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x436c83
push edi
mov ecx, eax
call fcn.00419050
jmp 0x436c85
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 0x445600
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 0x4457e3
mov ebp, dword [esp + 0x120]
test ebp, ebp
je 0x4457e3
push ebx
push ebx
call fcn.004451b0
mov edi, dword [esp + 0x130]
add esp, 8
mov ecx, edi
push eax
call fcn.00418a70
mov eax, 0x55555556
xor esi, esi
imul ebx
mov eax, edx
xor ecx, ecx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x445799
mov ebx, dword [0x4a8ec4]
mov dword [esp + 0x10], edx
jmp 0x44566e
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 0x4456f6
mov edi, dword [esp + 0x128]
lea eax, [esp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.00418ed0
mov ebx, dword [0x4a8ec4]
xor ecx, ecx
jmp 0x4456fd
mov edi, dword [esp + 0x128]
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x445667
test ecx, ecx
je 0x445723
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00418ed0
mov ebx, dword [0x4a8ec4]
mov ebp, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x4457a1
dec edx
jne 0x4457e3
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.00418340
mov eax, dword [esp + 0x10]
mov edx, dword [0x4a8ec4]
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.00418340
mov ecx, dword [0x4a8ec4]
and esi, 0xf
mov dl, byte [ecx + esi*4]
push edx
jmp 0x4457d3
mov ebx, dword [0x4a8ec4]
jmp 0x44572a
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.00418340
mov eax, dword [0x4a8ec4]
and esi, 3
shl esi, 4
mov cl, byte [esi + eax]
push ecx
mov ecx, edi
call fcn.00418340
push 0x3d
mov ecx, edi
call fcn.00418340
push 0x3d
mov ecx, edi
call fcn.00418340
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10c
ret
Function at 0x446290
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x446455
mov ebp, dword [esp + 0x1c]
mov dword [esi], 0
test ebp, ebp
je 0x446455
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x446455
lea ecx, [ebp + ebp*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
lea eax, [edx + eax + 4]
push eax
mov dword [esi], eax
call fcn.0046fd5a
mov esi, eax
add esp, 4
test esi, esi
je 0x446455
mov eax, 0x55555556
push edi
imul ebp
mov eax, edx
xor edi, edi
shr eax, 0x1f
add edx, eax
xor ecx, ecx
test edx, edx
jle 0x4463a3
mov dword [esp + 0x10], edx
jmp 0x44630e
mov ebx, dword [esp + 0x1c]
xor eax, eax
xor edx, edx
mov al, byte [edi + ebx]
mov dl, byte [edi + ebx + 1]
inc edi
mov ebp, edx
inc edi
xor edx, edx
mov dl, byte [edi + ebx]
mov ebx, dword [0x4a8ee4]
mov dword [esp + 0x14], edx
mov edx, eax
sar edx, 2
and edx, 0x3f
and eax, 3
shl eax, 4
mov dl, byte [edx + ebx]
inc edi
mov byte [ecx + esi], dl
mov edx, ebp
sar edx, 4
and edx, 0xf
inc ecx
or edx, eax
mov eax, dword [0x4a8ee4]
and ebp, 0xf
inc ecx
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x14]
mov byte [ecx + esi - 1], dl
mov ebx, dword [0x4a8ee4]
mov edx, eax
and eax, 0x3f
sar edx, 6
and edx, 3
shl ebp, 2
or edx, ebp
inc ecx
inc ecx
mov dl, byte [edx + ebx]
mov byte [ecx + esi - 2], dl
mov edx, dword [0x4a8ee4]
mov al, byte [eax + edx]
mov byte [ecx + esi - 1], al
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x44630a
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, ebp
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x446406
dec edx
jne 0x44643f
xor edx, edx
xor eax, eax
mov dl, byte [edi + ebx]
mov al, byte [edi + ebx + 1]
mov edi, dword [0x4a8ee4]
mov ebp, edx
sar edx, 2
and edx, 0x3f
and ebp, 3
shl ebp, 4
mov dl, byte [edx + edi]
mov byte [ecx + esi], dl
mov edi, dword [0x4a8ee4]
mov edx, eax
inc ecx
sar edx, 4
and edx, 0xf
or edx, ebp
inc ecx
and eax, 0xf
mov dl, byte [edx + edi]
mov byte [ecx + esi - 1], dl
mov edx, dword [0x4a8ee4]
mov al, byte [edx + eax*4]
mov byte [ecx + esi], al
jmp 0x446439
xor eax, eax
mov al, byte [edi + ebx]
mov edi, dword [0x4a8ee4]
mov edx, eax
and eax, 3
sar edx, 2
and edx, 0x3f
inc ecx
shl eax, 4
mov dl, byte [edx + edi]
mov byte [ecx + esi - 1], dl
mov edx, dword [0x4a8ee4]
inc ecx
mov al, byte [eax + edx]
mov byte [ecx + esi - 1], al
mov byte [ecx + esi], 0x3d
inc ecx
mov byte [ecx + esi], 0x3d
inc ecx
mov edx, dword [esp + 0x24]
mov byte [ecx + esi], 0
mov eax, esi
pop edi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 8
ret 0xc
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc