joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c860
Capabilities:
Get file size

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b013
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x80
mov byte [eax], 0
push ebx
mov ebx, dword [esp + 0x94]
push ebp
xor ebp, ebp
push esi
cmp ebx, ebp
push edi
jne 0x41c89a
xor eax, eax
jmp 0x41ca07
cmp word [ebx], bp
jne 0x41c8a6
xor eax, eax
jmp 0x41ca07
lea ecx, [esp + 0x30]
call fcn.00419d20
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x9c], ebp
call fcn.0041a050
push 0x5c
push 0x2f
lea ecx, [esp + 0x38]
call fcn.0041abb0
mov esi, dword [esp + 0xa4]
lea ecx, [esp + 0x30]
push esi
push ecx
call fcn.0041ba20
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
jne 0x41c900
lea ecx, [esp + 0x30]
mov dword [esp + 0x98], eax
call fcn.00419de0
xor eax, eax
jmp 0x41ca07
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x41c993
test esi, esi
je 0x41c970
lea ecx, [esp + 0x14]
call fcn.00416ed0
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 1
call fcn.00418200
mov ebp, dword [esi]
lea ecx, [esp + 0x14]
call fcn.00422700
push eax
mov ecx, esi
call dword [ebp + 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__Unicode_
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 0
call fcn.004171c0
push 0
push edi
call fcn.0043cf40
add esp, 8
lea ecx, [esp + 0x30]
mov dword [esp + 0x98], 0xffffffff
call fcn.00419de0
xor eax, eax
jmp 0x41ca07
push 0
push edi
call fcn.0043cf40
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x41c9e7
test esi, esi
je 0x41c9cf
mov eax, dword [esi]
push str.File_too_large_for_32_bits
mov ecx, esi
call dword [eax + 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
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 0x30]
mov dword [esp + 0x98], 0xffffffff
call fcn.00419de0
xor eax, eax
jmp 0x41ca07
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x98], 0xffffffff
mov byte [ecx], 1
lea ecx, [esp + 0x30]
call fcn.00419de0
mov eax, ebp
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret
Function at 0x41d2d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x46b150
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x48]
push esi
push edi
push eax
lea ecx, [esp + 0xc]
call fcn.00416de0
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], 0
call fcn.004162e0
lea ecx, [esp + 8]
call fcn.00422700
mov edi, eax
test edi, edi
je 0x41d413
cmp byte [edi], 0
je 0x41d413
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0
push ecx
push edi
call fcn.0041cb10
add esp, 8
test al, al
jne 0x41d379
mov esi, dword [esp + 0x54]
test esi, esi
je 0x41d425
mov eax, dword [esp + 0x50]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov edx, dword [esi]
push edi
push str.delete_filename
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esi]
push str.Cannot_delete_file__file_does_not_exist
mov ecx, esi
call dword [eax + 0x14]
jmp 0x41d425
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41d3ef
mov esi, dword [esp + 0x54]
test esi, esi
je 0x41d425
lea ecx, [esp + 0x24]
call fcn.00416ed0
push str.DeleteFile:
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 1
call fcn.00416a20
lea ecx, [esp + 0x24]
call fcn.00418200
mov edx, dword [esi]
push str.Cannot_delete_file
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi]
push edi
push str.delete_filename
mov ecx, esi
call dword [eax + 0x28]
mov edi, dword [esi]
lea ecx, [esp + 0x24]
call fcn.00422700
push eax
mov ecx, esi
call dword [edi + 0x14]
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 0
call fcn.004171c0
jmp 0x41d425
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.004171c0
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x41d425
mov edx, dword [ecx]
push str.Cannot_delete_file__filename_is_null_or_empty
call dword [edx + 0x10]
lea ecx, [esp + 8]
mov dword [esp + 0x48], 0xffffffff
call fcn.004171c0
mov ecx, dword [esp + 0x40]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x44
ret
Function at 0x41db30
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b263
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
mov ebx, dword [esp + 0x94]
push ebp
push esi
test ebx, ebx
push edi
jne 0x41db61
xor al, al
jmp 0x41dcba
cmp byte [ebx], 0
jne 0x41db6d
xor al, al
jmp 0x41dcba
lea ecx, [esp + 0x30]
call fcn.00419d20
push ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x9c], 0
call fcn.00419f30
mov esi, dword [esp + 0xac]
lea eax, [esp + 0x30]
push esi
push eax
push 0x33
call fcn.0041b540
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x41dbe1
test esi, esi
je 0x41dbc6
push ebx
push str.ansiFilename
mov ecx, esi
call fcn.0043f680
mov edx, dword [esi]
push str.Failed_to_write_complete_file__7_
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0x30]
mov dword [esp + 0x98], 0xffffffff
call fcn.00419de0
xor al, al
jmp 0x41dcba
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x41dc99
mov ebp, dword [esp + 0xa8]
test ebp, ebp
je 0x41dc99
lea ecx, [esp + 0x10]
push 0
push ecx
push ebp
push eax
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], ebp
je 0x41dc99
test esi, esi
je 0x41dc76
lea ecx, [esp + 0x14]
call fcn.00416ed0
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 1
call fcn.00418200
push ebx
push str.ansiFilename2
mov ecx, esi
call fcn.0043f680
mov ebx, dword [esi]
lea ecx, [esp + 0x14]
call fcn.00422700
push eax
mov ecx, esi
call dword [ebx + 0x10]
mov edx, dword [esi]
push str.Failed_to_write_complete_file__1_
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0x98], 0
call fcn.004171c0
push 0
push edi
call fcn.0043cf40
add esp, 8
lea ecx, [esp + 0x30]
mov dword [esp + 0x98], 0xffffffff
call fcn.00419de0
xor al, al
jmp 0x41dcba
push 0
push edi
call fcn.0043cf40
add esp, 8
lea ecx, [esp + 0x30]
mov dword [esp + 0x98], 0xffffffff
call fcn.00419de0
mov al, 1
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret
Function at 0x41dce0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b28e
push eax
mov dword fs:[0], esp
sub esp, 0xe0
push ebx
push ebp
mov ebp, dword [esp + 0xf8]
xor ebx, ebx
push esi
cmp ebp, ebx
push edi
jne 0x41dd13
xor al, al
jmp 0x41de87
lea ecx, [esp + 0x30]
call fcn.00419d20
push ebp
lea ecx, [esp + 0x34]
mov dword [esp + 0xfc], ebx
call fcn.0041a050
mov esi, dword [esp + 0x10c]
lea eax, [esp + 0x30]
push esi
push eax
push 0x34
call fcn.0041b540
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
jne 0x41ddc3
cmp esi, ebx
je 0x41dda8
lea ecx, [esp + 0x90]
call fcn.00419d20
push ebp
lea ecx, [esp + 0x94]
mov byte [esp + 0xfc], 1
call fcn.0041a050
lea ecx, [esp + 0x90]
call fcn.0041a7a0
push eax
push str.utf8Filename
mov ecx, esi
call fcn.0043f680
mov edx, dword [esi]
push str.Failed_to_write_complete_file__6_
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0x90]
mov byte [esp + 0xf8], bl
call fcn.00419de0
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00419de0
xor al, al
jmp 0x41de87
mov eax, dword [esp + 0x104]
cmp eax, ebx
je 0x41de67
mov ebp, dword [esp + 0x108]
cmp ebp, ebx
je 0x41de67
lea ecx, [esp + 0x10]
push ebx
push ecx
push ebp
push eax
push edi
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], ebp
je 0x41de67
cmp esi, ebx
je 0x41de45
lea ecx, [esp + 0x14]
call fcn.00416ed0
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], 2
call fcn.00418200
mov ebp, dword [esi]
lea ecx, [esp + 0x14]
call fcn.00422700
push eax
mov ecx, esi
call dword [ebp + 0x10]
mov edx, dword [esi]
push str.Failed_to_write_complete_file__3_
mov ecx, esi
call dword [edx + 0x10]
lea ecx, [esp + 0x14]
mov byte [esp + 0xf8], bl
call fcn.004171c0
push ebx
push edi
call fcn.0043cf40
add esp, 8
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00419de0
xor al, al
jmp 0x41de87
push ebx
push edi
call fcn.0043cf40
add esp, 8
lea ecx, [esp + 0x30]
mov dword [esp + 0xf8], 0xffffffff
call fcn.00419de0
mov al, 1
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xec
ret
Function at 0x41fb00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46b4b4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 8], esi
lea ecx, [esi + 0xc]
mov byte [esi + 8], bl
call fcn.00416ed0
lea ecx, [esi + 0x38]
mov dword [esp + 0x14], ebx
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x34], bl
mov byte [esi + 0x35], bl
call fcn.00421c90
lea ecx, [esi + 0xa8]
mov byte [esp + 0x14], 1
call fcn.00416ed0
lea ecx, [esi + 0xc4]
mov byte [esp + 0x14], 2
call fcn.00416ed0
mov ecx, dword [esp + 0xc]
mov dword [esi], vtable.HttpResult.0
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x420050
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46b718
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
push 5
push str.https
mov edi, ecx
push eax
mov esi, str.http
call fcn.0045d8f0
add esp, 0xc
test eax, eax
jne 0x42008f
mov esi, str.https
xor ebx, ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.00416ed0
mov al, byte [edi + 8]
mov dword [esp + 0x30], ebx
cmp al, bl
je 0x42018c
lea ecx, [esp + 0x38]
lea edx, [esp + 0xc]
push ecx
push edx
push esi
call fcn.00447620
add esp, 0xc
lea ecx, [esp + 0xc]
call fcn.004226f0
test eax, eax
je 0x420100
mov esi, dword [esp + 0x44]
push ebp
lea ecx, [esp + 0x10]
mov ebp, dword [esi]
call fcn.00422700
push eax
push str.IE_Proxy
mov ecx, esi
call dword [ebp + 0x28]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
and ecx, 0xff
push ecx
push str.IE_ProxyEnabled
mov ecx, esi
call dword [eax + 0x2c]
pop ebp
cmp byte [esp + 0x38], bl
jne 0x42010f
lea ecx, [esp + 0xc]
call fcn.00416380
cmp byte [edi + 8], bl
je 0x42018c
cmp byte [esp + 0x38], bl
je 0x42018c
lea ecx, [esp + 0xc]
call fcn.004226f0
test eax, eax
je 0x42018c
lea ecx, [esp + 0xc]
call fcn.00422700
mov edi, eax
push 0x3a
push edi
call fcn.0045d9b0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x420176
mov eax, dword [esp + 0x40]
inc esi
push eax
push 0x47fcc8
push esi
mov dword [eax], 0x50
call fcn.0045d8ac
mov ebx, dword [esp + 0x48]
add esp, 0xc
mov ecx, ebx
call fcn.00416380
sub esi, edi
mov ecx, ebx
dec esi
push esi
push edi
call fcn.00416c60
jmp 0x4201a2
mov ecx, dword [esp + 0x3c]
push edi
call fcn.00417e70
mov edx, dword [esp + 0x40]
mov dword [edx], 0x50
jmp 0x4201a2
mov ecx, dword [esp + 0x3c]
lea eax, [edi + 0x10]
push eax
call fcn.00417f00
mov edx, dword [esp + 0x40]
mov ecx, dword [edi + 0xc]
mov dword [edx], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0x10
Function at 0x4244d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46bc40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0043bdd0
lea edi, [esi + 8]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x1c], ebx
call fcn.0044eed0
lea ebp, [esi + 0xc]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call fcn.0043fce0
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call fcn.00416ed0
lea ecx, [esi + 0x38]
mov byte [esp + 0x1c], 3
mov dword [esi + 0x2c], 0x50
mov byte [esi + 0x30], bl
call fcn.00447770
lea ecx, [esi + 0x140]
mov byte [esp + 0x1c], 4
call fcn.0044d0a0
lea ecx, [esi + 0x340]
mov byte [esp + 0x1c], 5
call fcn.00416ed0
lea ecx, [esi + 0x374]
mov byte [esp + 0x1c], 6
mov dword [esi + 0x35c], ebx
mov dword [esi + 0x360], ebx
mov dword [esi + 0x364], ebx
mov dword [esi + 0x368], ebx
mov byte [esi + 0x36c], bl
mov dword [esi + 0x370], ebx
call fcn.00422840
mov ecx, dword [esp + 0x14]
mov dword [edi], vtable.HttpClient.1.0
mov dword [esi + 0x38c], ebx
mov dword [esi + 0x390], 0x1e
mov dword [esi], vtable.HttpClient.0
mov eax, esi
pop edi
mov dword [ebp], 0x47099c
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42a580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004441d0
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x40], 0
call fcn.00444210
lea ecx, [esp + 8]
call fcn.004435f0
push 0
lea edx, [esp + 0x14]
push 0x10
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 1
call fcn.00443720
xor edx, edx
lea ecx, [esp + 8]
div dword [esi + 4]
mov byte [esp + 0x38], 0
mov esi, edx
call fcn.004435c0
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.00444200
mov ecx, dword [esp + 0x30]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 4

Function at 0x42a8e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c278
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.00416de0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
push ecx
mov ecx, esi
call fcn.0042a580
lea edx, [eax + eax*4]
mov eax, dword [esi + 8]
lea ecx, [eax + edx*4]
call fcn.00422700
mov ebp, eax
test ebp, ebp
je 0x42a988
mov ecx, ebp
call fcn.004403c0
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.00422700
mov ecx, edi
mov esi, eax
call fcn.0044fcb0
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42a972
test cl, cl
je 0x42a96e
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42a972
add eax, 2
add esi, 2
test cl, cl
jne 0x42a94e
xor eax, eax
jmp 0x42a977
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42a9af
mov ecx, ebp
call fcn.00421dc0
mov ebp, eax
test ebp, ebp
jne 0x42a933
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x42bbe0
Capabilities:
Encode data using base64

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
test ebx, ebx
push edi
je 0x42bd89
mov ebp, dword [esp + 0x18]
test ebp, ebp
je 0x42bd89
push ebx
call fcn.0042bbb0
mov edi, dword [esp + 0x20]
push eax
mov ecx, edi
call fcn.00416850
mov eax, 0x55555556
xor esi, esi
imul ebx
mov eax, edx
shr eax, 0x1f
add edx, eax
test edx, edx
jle 0x42bcd8
mov dword [esp + 0x20], edx
jmp 0x42bc31
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x18]
xor ebx, ebx
mov bl, byte [esi + ebp]
inc esi
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + ebp]
mov dl, byte [esi + eax + 1]
inc esi
mov ebp, ecx
mov ecx, ebx
mov dword [esp + 0x10], edx
mov edx, dword [0x484780]
inc esi
sar ecx, 2
and ecx, 0x3f
mov al, byte [ecx + edx]
mov ecx, edi
push eax
call fcn.004163f0
mov edx, dword [0x484780]
mov ecx, ebp
sar ecx, 4
and ebx, 3
and ecx, 0xf
shl ebx, 4
or ecx, ebx
mov al, byte [ecx + edx]
mov ecx, edi
push eax
call fcn.004163f0
mov ebx, dword [esp + 0x10]
mov edx, dword [0x484780]
mov ecx, ebx
and ebp, 0xf
sar ecx, 6
and ecx, 3
shl ebp, 2
or ecx, ebp
mov al, byte [ecx + edx]
mov ecx, edi
push eax
call fcn.004163f0
mov ecx, dword [0x484780]
and ebx, 0x3f
mov dl, byte [ebx + ecx]
mov ecx, edi
push edx
call fcn.004163f0
mov eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x20], eax
jne 0x42bc2d
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov eax, ebx
mov ecx, 3
cdq
idiv ecx
dec edx
je 0x42bd41
dec edx
jne 0x42bd89
xor ebx, ebx
mov ecx, dword [0x484780]
mov bl, byte [esi + ebp]
xor edx, edx
mov dl, byte [esi + ebp + 1]
mov eax, ebx
sar eax, 2
and eax, 0x3f
mov esi, edx
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.004163f0
mov ecx, dword [0x484780]
mov eax, esi
sar eax, 4
and ebx, 3
and eax, 0xf
shl ebx, 4
or eax, ebx
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.004163f0
mov eax, dword [0x484780]
and esi, 0xf
mov cl, byte [eax + esi*4]
push ecx
jmp 0x42bd79
xor edx, edx
mov ecx, dword [0x484780]
mov dl, byte [esi + ebp]
mov esi, edx
mov eax, esi
sar eax, 2
and eax, 0x3f
mov dl, byte [eax + ecx]
mov ecx, edi
push edx
call fcn.004163f0
mov eax, dword [0x484780]
and esi, 3
shl esi, 4
mov cl, byte [esi + eax]
push ecx
mov ecx, edi
call fcn.004163f0
push 0x3d
mov ecx, edi
call fcn.004163f0
push 0x3d
mov ecx, edi
call fcn.004163f0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x42c070
Capabilities:
Encode data using base64

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x42c22d
mov ebp, dword [esp + 0x1c]
mov dword [esi], 0
test ebp, ebp
je 0x42c22d
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x42c22d
lea ecx, [ebp + ebp*4]
mov eax, 0x55555556
imul ecx
mov eax, edx
push edi
shr eax, 0x1f
lea eax, [edx + eax + 4]
push eax
mov dword [esi], eax
call fcn.0045d8e0
mov esi, eax
mov eax, 0x55555556
imul ebp
mov eax, edx
add esp, 4
shr eax, 0x1f
add edx, eax
xor edi, edi
xor ecx, ecx
test edx, edx
jle 0x42c17b
mov dword [esp + 0x10], edx
jmp 0x42c0e6
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 [0x4847a0]
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 [0x4847a0]
and ebp, 0xf
inc ecx
mov dl, byte [edx + eax]
mov eax, dword [esp + 0x14]
mov byte [ecx + esi - 1], dl
mov ebx, dword [0x4847a0]
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 [0x4847a0]
mov al, byte [eax + edx]
mov byte [ecx + esi - 1], al
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
jne 0x42c0e2
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov eax, ebp
mov ebp, 3
cdq
idiv ebp
dec edx
je 0x42c1de
dec edx
jne 0x42c217
xor edx, edx
xor eax, eax
mov dl, byte [edi + ebx]
mov al, byte [edi + ebx + 1]
mov edi, dword [0x4847a0]
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 [0x4847a0]
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 [0x4847a0]
mov al, byte [edx + eax*4]
mov byte [ecx + esi], al
jmp 0x42c211
xor eax, eax
mov al, byte [edi + ebx]
mov edi, dword [0x4847a0]
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 [0x4847a0]
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
Function at 0x42d870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46c588
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.0043bdd0
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], edi
mov byte [esi + 8], 0xce
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.0041e230
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi], vtable.TreeInfo.0
mov eax, dword [0x484844]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x2c], eax
mov eax, dword [0x484844]
inc eax
pop edi
mov dword [0x484844], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x46c633
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.0043bdd0
mov eax, dword [esp + 0x20]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov byte [esi + 0x1c], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 0xce
mov dword [esi], vtable.TreeNode.0
je 0x42e896
cmp byte [eax], bl
je 0x42e896
push eax
mov ecx, esi
call fcn.0042f4a0
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x42e8c8
cmp byte [edi], bl
je 0x42e8c8
push 0x1c
call fcn.0045d8e0
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov byte [esp + 0x18], 1
je 0x42e8c3
push edi
mov ecx, eax
call fcn.00416de0
jmp 0x42e8c5
xor eax, eax
mov dword [esi + 0x14], 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 0x43bf09
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
lea ecx, [esp + 8]
call fcn.00416ed0
lea eax, [esp + 8]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x30], 0
call fcn.00452140
push 0
lea ecx, [esp + 0xc]
call fcn.004226f0
push eax
lea ecx, [esp + 0x10]
call fcn.00422700
mov ecx, dword [esp + 0x40]
push eax
push ecx
call fcn.0041db30
add esp, 0x10
lea ecx, [esp + 8]
mov bl, al
mov dword [esp + 0x2c], 0xffffffff
call fcn.004171c0
mov ecx, dword [esp + 0x24]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x43c8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46d9a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
mov ebx, ecx
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.00416de0
lea edi, [ebx + 0x24]
mov dword [esp + 0x30], 0
mov ecx, edi
call fcn.00422700
lea ecx, [esp + 0xc]
mov esi, eax
call fcn.00422700
cmp byte [esi], 0x2e
jne 0x43c91e
inc esi
push eax
push esi
call fcn.0045d820
add esp, 8
test eax, eax
je 0x43c945
mov ecx, edi
call fcn.00422700
push eax
lea ecx, [esp + 0x10]
call fcn.00416b30
test al, al
je 0x43ca24
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x43c974
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
lea esi, [ebx + 0x40]
mov ecx, esi
call fcn.004226f0
test eax, eax
jne 0x43c9a9
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
push 0x47f450
mov ecx, esi
call fcn.00418320
test al, al
je 0x43c9e0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
mov ecx, esi
call fcn.004226f0
push eax
mov ecx, esi
call fcn.00422700
push eax
push edi
call fcn.0045db70
add esp, 0xc
test eax, eax
jne 0x43ca24
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004171c0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc