joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446177
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4dedc6
call fcn.004d0500
sub esp, 0x634
mov eax, dword [0x52d320]
push ebx
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x10], eax
jne 0x4461a3
xor al, al
jmp 0x446399
mov eax, dword [ebp + 0xc]
sub eax, ebx
push esi
je 0x4461ed
dec eax
je 0x4461c3
dec eax
je 0x4461b8
xor al, al
jmp 0x446398
lea eax, [ebp - 0x63c]
push eax
push 0x19
jmp 0x4461f5
lea eax, [ebp - 0x63c]
push eax
push 0x1a
push ebx
call dword [0x4eaa80]
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x63c]
call dword [0x4eaa68]
push str.MicrosoftInternet_ExplorerQuick_Launch_
jmp 0x446214
lea eax, [ebp - 0x63c]
push eax
push ebx
push ebx
call dword [0x4eaa80]
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x63c]
call dword [0x4eaa68]
push 0x4eb7e4
mov esi, dword [0x4ea2a8]
lea eax, [ebp - 0x410]
push eax
call esi
push edi
lea eax, [ebp - 0x410]
push eax
call esi
push 0x4f569c
lea eax, [ebp - 0x410]
push eax
call esi
lea eax, [ebp - 0x638]
push eax
push 0x503010
push 1
push ebx
push 0x503040
call dword [0x4eb088]
test eax, eax
jl 0x4461b1
mov eax, dword [ebp - 0x638]
mov ecx, dword [eax]
lea edx, [ebp - 0x640]
push edx
push 0x503090
push eax
call dword [ecx]
cmp eax, ebx
jge 0x446291
mov eax, dword [ebp - 0x638]
cmp eax, ebx
je 0x4461b1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4461b1
lea eax, [ebp - 0x634]
push eax
call fcn.00452649
pop ecx
mov eax, dword [ebp - 0x640]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x410]
push edx
push eax
mov dword [ebp - 4], ebx
call dword [ecx + 0x14]
cmp eax, ebx
jl 0x446366
mov eax, dword [ebp - 0x638]
mov ecx, dword [eax]
push 2
push ebx
mov esi, 0x104
push esi
lea edx, [ebp - 0x618]
push edx
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x446366
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x634]
call dword [0x4ea6a4]
push eax
call dword [0x4ea834]
test eax, eax
pop ecx
pop ecx
jne 0x446366
mov eax, dword [ebp - 0x638]
mov ecx, dword [eax]
push esi
lea edx, [ebp - 0x618]
push edx
push eax
call dword [ecx + 0x28]
cmp eax, ebx
jl 0x446366
lea eax, [ebp - 0x618]
push str.quicklaunch
push eax
call dword [0x4ea7f0]
test eax, eax
pop ecx
pop ecx
je 0x446366
lea eax, [ebp - 0x410]
push eax
call dword [0x4ea364]
test eax, eax
je 0x446366
mov eax, dword [ebp - 0x640]
cmp eax, ebx
je 0x446352
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x638]
cmp eax, ebx
je 0x446362
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov bl, 1
jmp 0x446386
mov eax, dword [ebp - 0x640]
cmp eax, ebx
je 0x446376
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x638]
cmp eax, ebx
je 0x446386
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call dword [0x4ea4f8]
mov al, bl
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret 8
Function at 0x44723a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4dee48
call fcn.004d0500
sub esp, 0x50
mov ecx, dword [ebp + 0x14]
mov eax, dword [0x52d320]
push ebx
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], ecx
je 0x44741d
test ebx, ebx
je 0x44741d
test eax, eax
je 0x44741d
mov esi, dword [0x4ea8d0]
push str.HKEY_CURRENT_USER
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x4472a5
mov esi, getpeername
jmp 0x4472e6
push str.HKEY_CLASSES_ROOT
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x4472ba
mov esi, closesocket
jmp 0x4472e6
push str.HKEY_LOCAL_MACHINE
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x4472cf
mov esi, reloc.libexpat.dll_Ordinal_2
jmp 0x4472e6
push str.HKEY_USERS
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x44741d
mov esi, reloc.WS2_32.dll_closesocket
lea ecx, [ebp - 0x48]
call dword [0x4ea6b0]
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
call dword [0x4ea6b0]
lea eax, [ebp - 0x48]
push eax
push ebx
mov byte [ebp - 4], 1
call fcn.004d05da
pop ecx
push eax
push ebx
call fcn.0044f5c2
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x4c]
call fcn.004d05da
pop ecx
push eax
push dword [ebp - 0x4c]
call fcn.0044f5c2
add esp, 0xc
mov dword [ebp - 0x50], edi
push 0x20019
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call dword [0x4ea6a4]
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00441e79
test eax, eax
jne 0x4473f4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x4c], edi
call dword [0x4ea6a4]
mov esi, dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
push ecx
push edi
push esi
push edi
push eax
push dword [ebp - 0x50]
call dword [0x4ea020]
test eax, eax
jne 0x4473f4
mov eax, dword [esi]
cmp eax, 4
jne 0x447398
push dword [ebp - 0x54]
lea ecx, [ebp - 0x2c]
call dword [0x4ea6a4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00441eae
jmp 0x4473f7
cmp eax, 1
je 0x4473a2
cmp eax, 2
jne 0x4473f4
mov eax, dword [ebp - 0x4c]
add eax, 2
push eax
call fcn.004d00df
mov esi, eax
mov eax, dword [ebp - 0x4c]
add eax, 2
push eax
push edi
push esi
call fcn.004d05b6
add esp, 0x10
lea eax, [ebp - 0x4c]
push eax
push esi
lea ecx, [ebp - 0x2c]
call dword [0x4ea6a4]
push eax
lea ecx, [ebp - 0x50]
call fcn.00441f15
push dword [ebp - 0x5c]
push esi
call dword [0x4ea310]
push eax
push esi
call fcn.0044f54c
push esi
call fcn.004d05e0
add esp, 0x10
jmp 0x4473f7
xor edi, edi
inc edi
lea ecx, [ebp - 0x50]
call fcn.00441e4e
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [0x4ea4f8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call dword [0x4ea4f8]
mov eax, edi
jmp 0x447420
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret 0x18
Function at 0x448bbe
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4df05d
call fcn.004d0500
sub esp, 0x4b8
mov eax, dword [0x52d320]
push esi
xor eax, ebp
push edi
mov edi, dword [ebp + 0x40]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 1
call dword [0x4ea6b0]
lea eax, [ebp - 0x48]
push eax
push dword [ebp + 0x1c]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [0x4ea4e0]
push eax
call fcn.0044f5c2
add esp, 0xc
lea ecx, [ebp - 0x48]
call dword [0x4ea6a4]
push 0x51
push eax
push 0
lea ecx, [ebp - 0x4a8]
call fcn.00448a67
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [0x4ea4d8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call dword [0x4ea4e0]
mov esi, dword [0x4eaa8c]
jmp 0x448ca2
mov eax, dword [0x4ea4b8]
push dword [eax]
lea ecx, [ebp - 0x2c]
push 0x4f5b74
call dword [0x4ea658]
mov ecx, dword [0x4ea4b8]
cmp eax, dword [ecx]
je 0x448ca9
push eax
push 0
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4ea3e4]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call dword [0x4ea720]
lea ecx, [ebp - 0x4c4]
mov byte [ebp - 4], 4
call dword [0x4ea4dc]
lea ecx, [ebp - 0x2c]
call dword [0x4ea4e0]
push eax
call esi
test eax, eax
je 0x448c49
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x448cc0
dec eax
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4ea728]
cmp byte [eax], 0x5c
je 0x448cce
push 0x4f5b74
lea ecx, [ebp - 0x2c]
call dword [0x4ea6f8]
lea ecx, [ebp - 0x64]
call dword [0x4ea6b0]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call dword [0x4ea4e0]
push eax
call fcn.004d05da
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call dword [0x4ea4e0]
push eax
call fcn.0044f5c2
add esp, 0xc
lea ecx, [ebp - 0x64]
call dword [0x4ea6a4]
mov dword [ebp - 0x488], eax
mov byte [ebp - 0x480], 1
call dword [0x4eab08]
push eax
lea ecx, [ebp - 0x4a8]
call fcn.00446cde
cmp eax, 1
jne 0x448d4d
push edi
lea eax, [ebp - 0x276]
push eax
call dword [0x4ea310]
push eax
lea eax, [ebp - 0x276]
push eax
call fcn.0044f54c
add esp, 0xc
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call dword [0x4ea4f8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [0x4ea4dc]
push dword [ebp - 0x6c]
call dword [0x4eb098]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call dword [0x4ea4f8]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call dword [0x4ea4dc]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x24]
call dword [0x4ea4dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d0557
leave
ret 0x3c
Function at 0x449ab8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4df189
call fcn.004d0500
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
inc ebx
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0xc], ebx
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [ebp - 4], edi
mov dword [esi], 0x4f5b88
call dword [0x4ea6b0]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], bl
call dword [0x4ea6b0]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 2
call dword [0x4ea6b0]
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
push dword [ebp + 8]
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 5
mov dword [esi + 8], ebx
call dword [0x4ea730]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x78], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x7c], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x44b5ae
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x4df31c
call fcn.004d0500
mov eax, 0x4010
call fcn.004d06c0
mov eax, dword [0x52d320]
push ebx
push esi
xor eax, ebp
push edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edi, ecx
push 0x4eb7f8
push eax
mov dword [ebp - 0x4018], edi
mov dword [ebp - 0x401c], eax
mov byte [ebp - 0x4011], 1
call dword [0x4ea814]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
pop ecx
jne 0x44b604
xor al, al
jmp 0x44b6b4
push ebx
add edi, 4
push ebx
mov ecx, edi
call fcn.0044b558
test byte [esi + 0xc], 0x10
jne 0x44b65a
cmp byte [ebp - 0x4011], bl
je 0x44b6a6
push esi
push 0x4000
lea eax, [ebp - 0x4010]
push 1
push eax
call dword [0x4ea818]
add esp, 0x10
push ebx
push eax
lea eax, [ebp - 0x4010]
push eax
mov ecx, edi
call fcn.0040dd7e
test byte [esi + 0xc], 0x10
mov byte [ebp - 0x4011], al
je 0x44b616
cmp al, bl
je 0x44b6a6
mov edi, dword [ebp - 0x4018]
cmp dword [edi + 0x18], ebx
je 0x44b6a6
push 0x48
call fcn.004d00ba
pop ecx
mov dword [ebp - 0x4018], eax
cmp eax, ebx
mov dword [ebp - 4], ebx
je 0x44b683
mov ecx, eax
call fcn.0040dc6f
mov ebx, eax
push dword [ebp - 0x401c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x10]
call dword [0x4ea730]
mov ecx, dword [edi + 0x18]
push ebx
call fcn.004494fb
mov ecx, ebx
call fcn.0040d957
push esi
call dword [0x4ea80c]
mov al, byte [ebp - 0x4011]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret 4
Function at 0x44c774
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x4df410
call fcn.004d0500
sub esp, 0x444
mov eax, dword [0x52d320]
mov ecx, dword [ebp + 0xc]
push ebx
xor eax, ebp
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x440], ecx
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x44c], ecx
call dword [0x4eaad4]
mov edx, eax
xor esi, esi
cmp edx, esi
je 0x44c901
cmp word [edx], si
je 0x44c901
push 0x7f
pop ecx
mov word [ebp - 0x210], si
xor eax, eax
lea edi, [ebp - 0x20e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x438]
push eax
mov edi, 0x20019
push edi
push esi
mov esi, dword [0x4ea024]
push edx
mov ebx, closesocket
push ebx
mov dword [ebp - 0x434], 0x100
mov dword [ebp - 0x43c], 1
call esi
test eax, eax
jne 0x44c901
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0
push 0x4eb254
push dword [ebp - 0x438]
call dword [0x4ea020]
test eax, eax
jne 0x44ca06
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x42c]
call dword [0x4ea6a8]
and dword [ebp - 4], 0
push str._shellopen
lea ecx, [ebp - 0x42c]
call dword [0x4ea734]
lea eax, [ebp - 0x430]
push eax
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x434], 0x100
call dword [0x4ea6a4]
push eax
push ebx
call esi
test eax, eax
jne 0x44c8e8
push 0x200
lea eax, [ebp - 0x210]
push edi
push eax
call fcn.004d05b6
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x43c]
push eax
push edi
push 0x4eb254
push dword [ebp - 0x430]
call dword [0x4ea020]
push dword [ebp - 0x430]
mov dword [ebp - 0x444], eax
call dword [0x4ea018]
cmp dword [ebp - 0x444], edi
jne 0x44c8f1
cmp word [ebp - 0x210], di
jne 0x44c91f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [0x4ea4f8]
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret 0xc
mov ecx, dword [ebp - 0x440]
lea eax, [ebp - 0x210]
push eax
call dword [0x4ea730]
mov word [ebp - 0x410], di
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x40e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
inc edi
push 0x4f5cd0
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x448], 0x100
mov dword [ebp - 0x450], edi
call dword [0x4ea734]
lea eax, [ebp - 0x430]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x42c]
call dword [0x4ea6a4]
push eax
push ebx
call esi
test eax, eax
jne 0x44c9c2
lea eax, [ebp - 0x448]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x450]
push eax
push 0
push 0x4eb254
push dword [ebp - 0x430]
call dword [0x4ea020]
push dword [ebp - 0x430]
call dword [0x4ea018]
cmp word [ebp - 0x410], 0
jne 0x44c9e3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [0x4ea4f8]
mov eax, edi
jmp 0x44c904
mov ecx, dword [ebp - 0x44c]
lea eax, [ebp - 0x410]
push eax
call dword [0x4ea730]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [0x4ea4f8]
push dword [ebp - 0x438]
call dword [0x4ea018]
xor eax, eax
jmp 0x44c904
Function at 0x44ef81
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x44efc8
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x44efc8
xor edx, edx
mov eax, esi
shl eax, 3
push 6
pop ecx
div ecx
lea ecx, [eax + eax*2]
shl ecx, 1
mov edx, ecx
mov ecx, esi
shl ecx, 3
sub ecx, edx
dec ecx
dec ecx
je 0x44efbb
dec ecx
dec ecx
jne 0x44efbe
inc eax
inc eax
jmp 0x44efbe
add eax, 3
mov ecx, dword [ebp + 0xc]
inc eax
cmp dword [ecx], eax
jae 0x44efcf
mov dword [ecx], eax
push 0xfffffffffffffff0
pop eax
pop edi
pop esi
leave
ret
push ebx
xor edx, edx
push 3
pop ecx
mov eax, esi
div ecx
mov ecx, dword [ebp + 8]
xor edx, edx
lea eax, [eax + eax*2]
test eax, eax
jbe 0x44f055
push 3
dec eax
pop esi
div esi
inc eax
lea edx, [eax + eax*2]
mov dword [ebp - 4], edx
movzx esi, byte [edi]
inc edi
movzx edx, byte [edi]
mov ebx, esi
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edi
mov dword [ebp + 0x10], edx
movzx edx, byte [edi]
mov byte [ecx], bl
mov ebx, dword [ebp + 0x10]
shr ebx, 4
shl esi, 4
add ebx, esi
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc edi
inc ecx
mov byte [ecx], bl
mov ebx, dword [ebp + 0x10]
mov esi, edx
shr esi, 6
lea esi, [esi + ebx*4]
and esi, 0x3f
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], bl
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], dl
inc ecx
dec eax
jne 0x44eff2
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp - 4]
cmp edx, esi
jae 0x44f0aa
movzx eax, byte [edi]
inc edx
cmp edx, esi
jae 0x44f067
movzx edi, byte [edi + 1]
jmp 0x44f069
xor edi, edi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], bl
shl eax, 4
mov ebx, edi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, esi
jae 0x44f0a2
and edi, 0xf
mov al, byte [edi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
jmp 0x44f0a5
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov edx, dword [ebp + 0xc]
mov eax, ecx
sub eax, dword [ebp + 8]
pop ebx
mov dword [edx], eax
mov byte [ecx], 0
xor eax, eax
jmp 0x44efcb
Function at 0x44f0bf
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
push ebx
push esi
push edi
je 0x44f1d5
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x44f1d5
xor esi, esi
xor ebx, ebx
xor edx, edx
test edi, edi
jbe 0x44f1d1
mov eax, edi
sub eax, edx
cmp eax, 2
jb 0x44f100
cmp byte [edx + ecx], 0xd
jne 0x44f100
cmp byte [edx + ecx + 1], 0xa
je 0x44f13b
mov al, byte [edx + ecx]
cmp al, 0xa
je 0x44f13b
cmp al, 0x3d
jne 0x44f115
inc ebx
cmp ebx, 2
ja 0x44f1d5
cmp al, 0x7f
ja 0x44f1d5
movzx eax, al
mov al, byte [eax + 0x4f5ea8]
cmp al, 0x7f
je 0x44f1d5
cmp al, 0x40
jae 0x44f13a
test ebx, ebx
jne 0x44f1d5
inc esi
inc edx
cmp edx, edi
jb 0x44f0ea
test esi, esi
je 0x44f1d1
mov ecx, dword [ebp + 0xc]
lea eax, [esi + esi*2]
lea eax, [eax + eax + 7]
shr eax, 3
cmp dword [ecx], eax
jae 0x44f15f
mov dword [ecx], eax
push 0xfffffffffffffff0
jmp 0x44f1d7
mov ecx, dword [ebp + 8]
push 3
xor ebx, ebx
xor esi, esi
test edx, edx
pop edi
jbe 0x44f1c9
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0xd
je 0x44f1c1
cmp al, 0xa
je 0x44f1c1
movzx eax, al
movzx eax, byte [eax + 0x4f5ea8]
xor edx, edx
cmp al, 0x40
sete dl
shl ebx, 6
and eax, 0x3f
or eax, ebx
mov ebx, eax
sub edi, edx
inc esi
cmp esi, 4
jne 0x44f1c1
xor esi, esi
test edi, edi
jbe 0x44f1ac
shr eax, 0x10
mov byte [ecx], al
inc ecx
cmp edi, 1
jbe 0x44f1b9
mov eax, ebx
shr eax, 8
mov byte [ecx], al
inc ecx
cmp edi, 2
jbe 0x44f1c1
mov byte [ecx], bl
inc ecx
inc dword [ebp + 0x10]
dec dword [ebp - 4]
jne 0x44f170
sub ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
jmp 0x44f1d8
push 0xffffffffffffffee
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x45208e
Capabilities:
Create directory

Disassembly:
mov eax, 0x4df976
call fcn.004d0500
sub esp, 0x20
mov eax, dword [0x52d320]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, ebp
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x10], eax
je 0x45211d
cmp word [edi], bx
je 0x45211d
push edi
call fcn.00451b4d
test al, al
pop ecx
je 0x4520c5
mov al, 1
jmp 0x45211f
mov esi, dword [0x4eaa60]
push ebx
push edi
push ebx
call esi
cmp eax, ebx
je 0x4520c1
lea eax, [ebp - 0x2c]
push edi
push eax
call fcn.0045252c
pop ecx
pop ecx
cmp dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
je 0x45210c
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x4520f4
lea eax, [ebp - 0x28]
push eax
call fcn.0045208e
cmp al, bl
pop ecx
je 0x45210c
push ebx
push edi
push ebx
call esi
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [0x4ea4f8]
mov al, bl
jmp 0x45211f
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d0557
leave
ret
Function at 0x452b3c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
je 0x452bde
cmp word [esi], bx
je 0x452bde
push ebx
push esi
call fcn.004d0d8a
cmp eax, ebx
mov dword [ebp + 8], eax
je 0x452bda
inc eax
push edi
push eax
call fcn.004d00df
mov edi, eax
cmp edi, ebx
pop ecx
je 0x452bd9
push edi
push dword [ebp + 8]
push ebx
push esi
call fcn.004d0d84
test eax, eax
je 0x452bd2
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x4eb7e4
push edi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call fcn.004d0d7e
test eax, eax
je 0x452bd2
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov cx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov bl, 1
push edi
call fcn.004d05e0
pop ecx
pop edi
mov al, bl
jmp 0x452beb
push 0x132b3a1
call fcn.0045988d
pop ecx
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x453210
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x52d320]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp byte [ebp + 0xc], al
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov word [ebp - 8], ax
mov word [ebp - 0x12], ax
mov word [ebp - 0x10], 0x74
mov word [ebp - 0xe], 0x72
mov word [ebp - 0xc], 0x75
mov word [ebp - 0xa], 0x65
mov word [ebp - 0x1c], 0x66
mov word [ebp - 0x1a], 0x61
mov word [ebp - 0x18], 0x6c
mov word [ebp - 0x16], 0x73
mov word [ebp - 0x14], 0x65
lea eax, [ebp - 0x10]
jne 0x453272
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call dword [0x4ea6a8]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004d0557
leave
ret
Function at 0x453560
Capabilities:
Write file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push 0x4eb7dc
push dword [esp + 0x20]
mov esi, ecx
mov dword [esp + 0x18], esi
call dword [0x4ea814]
mov ebp, eax
test ebp, ebp
pop ecx
pop ecx
je 0x45365e
push ebp
push 1
push 2
push 0x4f60f0
call dword [0x4ea810]
add esp, 0x10
cmp eax, 1
jne 0x453656
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 8]
cmp edi, eax
mov dword [esp + 0x14], eax
je 0x453646
cmp dword [edi + 0x18], 8
jb 0x4535c0
mov eax, dword [edi + 4]
jmp 0x4535c3
lea eax, [edi + 4]
push eax
push str.__s__r_n
push ebp
call dword [0x4ea900]
add esp, 0xc
test eax, eax
jl 0x453656
mov eax, dword [edi + 0x24]
mov ebx, dword [edi + 0x20]
cmp ebx, eax
mov dword [esp + 0x1c], eax
je 0x453627
lea esi, [ebx + 0x20]
cmp dword [esi + 0x14], 8
jb 0x4535f2
mov ecx, dword [esi]
jmp 0x4535f4
mov ecx, esi
cmp dword [esi - 8], 8
jb 0x4535ff
mov eax, dword [esi - 0x1c]
jmp 0x453602
lea eax, [esi - 0x1c]
push ecx
push eax
push str._s_s_r_n
push ebp
call dword [0x4ea900]
add esp, 0x10
test eax, eax
jl 0x453656
add ebx, 0x38
add esi, 0x38
cmp ebx, dword [esp + 0x1c]
jne 0x4535e8
mov esi, dword [esp + 0x10]
push 0x4f610c
push ebp
call dword [0x4ea900]
test eax, eax
pop ecx
pop ecx
jl 0x453656
add edi, 0x38
cmp edi, dword [esp + 0x14]
jne 0x4535b5
push ebp
call dword [0x4ea80c]
pop ecx
mov byte [esi + 0x20], 0
mov al, 1
jmp 0x453660
push ebp
call dword [0x4ea80c]
pop ecx
xor al, al
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret 4