joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4083ad
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423cfc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004054ba
and dword [ebp - 0x14], 0
cmp dword [0x4314b4], 0
mov dword [ebp - 0x18], eax
jne 0x408460
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408508
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408508
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4314b4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4314b8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4314bc], eax
call edi
push eax
call esi
mov dword [0x4314c4], eax
test eax, eax
je 0x408460
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4314c0], eax
mov eax, dword [0x4314c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4084b9
cmp dword [0x4314c4], ecx
je 0x4084b9
push eax
call esi
push dword [0x4314c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4084b9
test ebx, ebx
je 0x4084b9
call edi
test eax, eax
je 0x4084b0
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4084b0
test byte [ebp - 8], 1
jne 0x4084b9
or dword [ebp + 0x10], 0x200000
jmp 0x4084ec
mov eax, dword [0x4314b8]
cmp eax, dword [ebp - 0x18]
je 0x4084ec
push eax
call esi
test eax, eax
je 0x4084ec
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084ec
mov eax, dword [0x4314bc]
cmp eax, dword [ebp - 0x18]
je 0x4084ec
push eax
call esi
test eax, eax
je 0x4084ec
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4314b4]
call esi
test eax, eax
je 0x408508
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40850a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040709a
leave
ret
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x12fe3570
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
mov ecx, 0x1c3c6eef
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401488
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x423cb0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x40151d
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
jmp 0x4014da
cmp dword [ebp + 0x10], ebx
jne 0x401511
push ebx
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 4]
call fcn.00401488
test eax, eax
jne 0x4014ec
push edi
lea eax, [ebp - 0x10c]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014c1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.0040587c
cmp eax, ebx
je 0x401524
push ebx
push dword [0x423cb0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40151d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x423cb0], ebx
jne 0x40151a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40151a
jmp 0x40151d
Function at 0x402d77
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x41ed80]
sub esi, dword [0x41ed8c]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1f4
xor ebx, ebx
cmp esi, ebx
mov dword [0x423c20], eax
jle 0x402ed5
push dword [0x41ed88]
call fcn.00402d60
push ebx
push ebx
push dword [0x41ed8c]
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41ad7c], esi
mov dword [0x41ad78], ebx
mov ebp, 0x412d78
mov eax, dword [0x41ed84]
sub eax, dword [0x41ed88]
mov edi, 0x4000
cmp eax, edi
jg 0x402dec
mov edi, eax
push edi
mov esi, 0x41ad80
push esi
call fcn.00402d2e
test eax, eax
je 0x402ee7
add dword [0x41ed88], edi
mov dword [0x412d08], esi
mov dword [0x412d0c], edi
cmp dword [0x423bcc], ebx
je 0x402e43
cmp dword [0x423ca0], ebx
jne 0x402e43
mov eax, dword [0x41ad7c]
sub eax, dword [0x41ed80]
push ebx
sub eax, dword [esp + 0x1c]
add eax, dword [0x41ed8c]
mov dword [0x41ad78], eax
call fcn.00402c8f
pop ecx
mov ecx, 0x412cf0
mov dword [0x412d10], ebp
mov dword [0x412d14], 0x8000
call fcn.00406056
test eax, eax
jl 0x402ef0
mov esi, dword [0x412d10]
sub esi, ebp
je 0x402ea1
push ebx
lea eax, [esp + 0x14]
push eax
push esi
push ebp
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402eec
cmp esi, dword [esp + 0x10]
jne 0x402eec
add dword [0x41ed8c], esi
cmp dword [0x412d0c], ebx
jne 0x402e12
jmp 0x402ead
cmp dword [0x412d0c], ebx
jne 0x402ef0
cmp edi, ebx
je 0x402ef0
mov eax, dword [0x41ed80]
mov ecx, eax
sub ecx, dword [0x41ed8c]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x402dd6
push ebx
push ebx
push eax
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
call fcn.00402c8f
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
or eax, 0xffffffff
jmp 0x402edf
push 0xfffffffffffffffe
jmp 0x402ef2
push 0xfffffffffffffffd
pop eax
jmp 0x402edf
Function at 0x402ef5
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x402f21
mov ecx, dword [0x423c18]
push edi
add eax, ecx
push edi
push eax
push dword [0x409014]
mov dword [0x41ed80], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00402d77
cmp eax, edi
jl 0x40301a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push dword [0x409014]
call ebx
test eax, eax
je 0x403016
cmp dword [ebp - 4], esi
jne 0x403016
push dword [ebp + 8]
add dword [0x41ed80], esi
call fcn.00402d77
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403019
cmp dword [ebp + 0x10], edi
jne 0x402fe5
cmp dword [ebp + 8], edi
jle 0x403011
mov esi, 0x41ad80
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x402f95
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [0x409014]
call ebx
test eax, eax
je 0x403016
cmp edi, dword [ebp - 4]
jne 0x403016
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fe1
cmp dword [ebp + 0x14], edi
jne 0x402fe1
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x41ed80], eax
cmp dword [ebp + 8], 0
jg 0x402f88
jmp 0x403011
push 0xfffffffffffffffe
jmp 0x403018
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x402ff0
mov eax, dword [ebp + 0x14]
push edi
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x409014]
call ebx
test eax, eax
je 0x403016
mov eax, dword [ebp - 4]
add dword [0x41ed80], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403019
push 0xfffffffffffffffd
pop eax
pop ebx
pop edi
pop esi
leave
ret 0x10
Function at 0x405473
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x4211d0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [0x4211d0], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4054ae
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x4055e8
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405605
and eax, 0xfffffffe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x405608
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
inc ecx
push 0
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405637
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
pop ecx
xor edx, edx
div ecx
push esi
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40567b
test edi, edi
jne 0x405642
mov byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405675

Function at 0x40567f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
and eax, 0x100
or eax, 0x20019
push eax
push ebx
push dword [ebp + 0xc]
mov byte [esi], bl
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4056f0
lea eax, [ebp + 0xc]
push eax
push esi
lea eax, [ebp + 0x14]
push eax
push ebx
push dword [ebp + 0x10]
mov dword [ebp + 0xc], 0x400
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4056df
cmp dword [ebp + 0x14], 1
je 0x4056e1
cmp dword [ebp + 0x14], 2
je 0x4056e1
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x40593a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x421218
push esi
call fcn.00405798
push esi
call fcn.0040557b
mov edi, eax
test edi, edi
jne 0x40595b
xor eax, eax
jmp 0x4059b3
push edi
call fcn.004057ba
test byte [0x423c28], 0x80
je 0x405974
mov al, byte [edi]
test al, al
je 0x405957
cmp al, 0x5c
je 0x405957
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x405994
push esi
call fcn.00405855
test eax, eax
je 0x40598e
test byte [eax], 0x10
je 0x4059b8
push esi
call fcn.00405913
push esi
call ebx
cmp eax, edi
jg 0x40597f
push esi
call fcn.004058e6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x4059b2
Function at 0x405c68
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.0040587c
test eax, eax
mov esi, dword [esp + 0x18]
je 0x405c8c
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405dc5
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x421618], 0x4c554e
mov edi, 0x400
mov ebp, 0x421618
je 0x405cd0
push 1
push 0
push esi
call fcn.00405608
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405dcb
cmp eax, edi
jg 0x405dcb
push edi
mov esi, 0x421f58
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405dcb
cmp eax, edi
jg 0x405dcb
push esi
push ebp
push str._s_s_r_n
push 0x421a18
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x423bcc]
push dword [eax + 0x128]
push esi
call fcn.00405a12
push 4
push 0xc0000000
push esi
call fcn.00405608
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405dc5
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405dbe
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405dbe
cmp edi, dword [esp + 0x18]
jne 0x405dbe
push str._Rename__r_n
push esi
call fcn.004059bc
test eax, eax
jne 0x405dd2
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call fcn.00405798
add edi, 0xa
mov eax, edi
push ebx
push 0x421a18
add eax, esi
push eax
call fcn.004055c8
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x423c90]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x40762c
add eax, 0xa
push eax
call fcn.004059bc
test eax, eax
je 0x405d89
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405df9
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405dee
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x405d8b
Function at 0x405e01
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0040593a
mov ecx, dword [ebp + 0xc]
test cl, 8
mov dword [ebp - 8], eax
je 0x405e36
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423c88], eax
jmp 0x405fc8
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x405e51
test eax, eax
je 0x405f73
test cl, 2
je 0x405f73
push edi
push ebx
mov esi, 0x422358
push esi
call fcn.00405798
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x405e74
push str..
push esi
call edi
jmp 0x405e7a
push ebx
call fcn.00405913
cmp byte [ebx], 0
jne 0x405e88
cmp byte [0x422358], 0x5c
jne 0x405e90
push 0x407290
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [ebp - 0x148]
push eax
push esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x405f68
lea esi, [ebp - 0x11c]
push 0x3f
mov eax, esi
push eax
call fcn.00405538
cmp byte [eax], 0
je 0x405ed3
cmp byte [ebp - 0x18], 0
je 0x405ed3
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405ee9
mov al, byte [esi + 1]
test al, al
je 0x405f47
cmp al, 0x2e
jne 0x405ee9
cmp byte [esi + 2], 0
je 0x405f47
push esi
push edi
call fcn.00405798
test byte [ebp - 0x148], 0x10
je 0x405f0e
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405f47
push dword [ebp + 0xc]
push ebx
call fcn.00405e01
jmp 0x405f47
push ebx
call fcn.004055e8
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405f3f
test byte [ebp + 0xc], 4
je 0x405f37
push ebx
push 0xfffffffffffffff1
call fcn.0040483a
push 0
push ebx
call fcn.00405c68
jmp 0x405f47
inc dword [0x423c88]
jmp 0x405f47
push ebx
push 0xfffffffffffffff2
call fcn.0040483a
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405eb5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405f72
mov byte [edi - 1], 0
pop edi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405fc7
cmp dword [ebp - 8], esi
jne 0x405f87
inc dword [0x423c88]
jmp 0x405fc7
push ebx
call fcn.00405855
test eax, eax
je 0x405fc7
push ebx
call fcn.004058e6
push ebx
call fcn.004055e8
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405fbf
test byte [ebp + 0xc], 4
je 0x405f7f
push ebx
push 0xfffffffffffffff1
call fcn.0040483a
push esi
push ebx
call fcn.00405c68
jmp 0x405fc7
push ebx
push 0xffffffffffffffe5
call fcn.0040483a
pop esi
pop ebx
leave
ret 8
Function at 0x405fcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42275c], 0
push esi
jne 0x406004
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405fde
mov dword [ecx*4 + 0x422758], eax
inc ecx
cmp ecx, 0x100
jl 0x405fd9
mov esi, dword [esp + 0x10]
test esi, esi
mov eax, dword [esp + 8]
not eax
jbe 0x406030
mov ecx, dword [esp + 0xc]
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x422758]
inc ecx
dec esi
jne 0x406016
not eax
pop esi
ret 0xc
Function at 0x47c007
Capabilities:
Encode data using base64

Disassembly:
lea esi, [ebp + 0x151b8]
mov eax, 0x20202020
xchg esi, edi
mov ecx, 0x32
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x47c0c5
lea esi, [ebp + 0x1aa99]
cmp byte [esi], al
lea esi, [esi + 1]
jne 0x47c06b
cmp word [esi], ax
lea esi, [esi + 2]
jne 0x47c06b
xchg esi, edi
mov cl, 4
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x47c06b
cmp byte [esi], al
lea esi, [esi + 1]
jne 0x47c06b
mov esi, 0x496de8
lea edi, [ebp + 0x151b8]
mov cl, 8
rep movsd dword es:[edi], dword [esi]
mov cl, 0x2a
rep stosd dword es:[edi], eax
mov al, 0x43
mov byte [ebp + 0x151a8], al
call fcn.00452d80
jmp 0x47c0c5
lea esi, [ebp + 0x1aa99]
cmp byte [esi], 0x43
lea esi, [esi + 1]
jne 0x47c0c5
cmp word [esi], 0x6d6f
lea esi, [esi + 2]
jne 0x47c0c5
cmp dword [esi], 0x20617270
lea esi, [esi + 4]
jne 0x47c0c5
xchg esi, edi
mov cl, 3
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x47c0c5
cmp byte [esi], al
lea esi, [esi + 1]
jne 0x47c0c5
lea esi, [ebp + 0x1a8d6]
mov edi, 0x496ca2
cmpsw word [esi], word es:[edi]
jne 0x47c0c5
mov cl, 4
repe cmpsd dword [esi], dword es:[edi]
jne 0x47c0c5
xchg esi, edi
mov cl, 3
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x47c0c5
push 0xffffffffffffffae
call fcn.004834e1
cmp dword [esp + 4], 0xffffff88
jne fcn.0047c0cf
ret 4
Function at 0x47c32d
Capabilities:
Encode data using base64

Disassembly:
lea esi, [ebp + 0x151b8]
mov eax, 0x20202020
xchg esi, edi
mov ecx, 0x32
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x47c4b7
lea esi, [ebp + 0x1aa99]
cmp byte [esi], 0x45
lea esi, [esi + 1]
jne 0x47c381
cmp word [esi], 0x706d
lea esi, [esi + 2]
jne 0x47c381
cmp dword [esi], 0x61736572
lea esi, [esi + 4]
jne 0x47c381
xchg esi, edi
mov cl, 3
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x47c381
cmp byte [esi], al
lea esi, [esi + 1]
je 0x47c49a
lea edi, [ebp + 0x1aadf]
mov eax, 0x30303030
scasb al, byte es:[edi]
jne 0x47c3bf
scasd eax, dword es:[edi]
jne 0x47c3bf
scasb al, byte es:[edi]
jne 0x47c3bf
mov esi, 0x496e24
lea edi, [ebp + 0x151b8]
mov cl, 6
rep movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
mov cl, 0x2c
rep stosd dword es:[edi], eax
mov al, 0x43
mov byte [ebp + 0x151a8], al
call fcn.00452d80
jmp 0x47c4b7
mov eax, dword [ebp + 0x1aadf]
mov dword [ebp + 0xe838], eax
mov ax, word [ebp + 0x1aae3]
mov word [ebp + 0xe83c], ax
sub eax, eax
mov word [ebp + 0x2a60], ax
mov ax, 0xf6fa
mov word [ebp + 0xa], ax
lea eax, [ebp + 0x2a2c]
push eax
mov eax, 0x491242
push eax
lea esi, [eax - 0x6da]
mov dword [ebp - 0x14], esi
mov al, 2
call sub.cblrtss.dll_EXTFH
test edx, 0xd2ef
add esp, 8
mov ax, word [ebp + 0x2a2c]
mov word [ebp + 0x15428], ax
cmp byte [ebp + 0x2a2c], 0x32
ja 0x47c4b7
cmp byte [ebp + 0x2a2c], 0x32
jne 0x47c45f
mov esi, 0x496e3c
lea edi, [ebp + 0x151b8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
mov ecx, 0x2d
rep stosd dword es:[edi], eax
mov al, 0x43
mov byte [ebp + 0x151a8], al
call fcn.00452d80
jmp 0x47c4b7
cmp byte [ebp + 0x113f4], 0x31
jne 0x47c481
lea esi, [ebp + 0xe83e]
lea edi, [ebp + 0x1aae5]
movsw word es:[edi], word [esi]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x47c4b7
lea esi, [ebp + 0xe87a]
lea edi, [ebp + 0x1aae5]
movsw word es:[edi], word [esi]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp 0x47c4b7
lea edi, [ebp + 0x1aadf]
mov al, 0x30
stosb byte es:[edi], al
mov eax, 0x30303030
stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, 0x20202020
stosb byte es:[edi], al
stosw word es:[edi], ax
mov cl, 0xe
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov esi, 0x491b60
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1a594]
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0xa5]
or ebx, ebx
je 0x47c4e1
test byte [ebx + 0x17], 0x80
jne 0x47c4e1
mov ebx, dword [ebx + 0xc]
jmp 0x47c4fb
sub ebx, ebx
push ebx
add edx, 0xa5
push edx
push 0xc
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 1
call ebx
test edx, 0xd1f7
add esp, 4
bswap eax
mov dword [ebp + 0x1b3a4], eax
cmp dword [esp + 4], 0xffffff8a
jne fcn.0047c51a
ret 4
Function at 0x47f843
Capabilities:
Encode data using base64

Disassembly:
lea esi, [ebp + 0x151b8]
mov eax, 0x20202020
xchg esi, edi
mov ecx, 0x32
repe scasd eax, dword es:[edi]
xchg esi, edi
jne 0x47fa0c
mov eax, 0x30303030
cmp dword [ebp + 0x1a84d], eax
jne 0x47f87c
cmp word [ebp + 0x1a851], ax
jne 0x47f87c
push 0xffffffffffffffac
call fcn.00483013
mov eax, 0x30303030
cmp dword [ebp + 0x1a84d], eax
jne 0x47f8bf
cmp word [ebp + 0x1a851], ax
jne 0x47f8bf
mov esi, 0x496f58
lea edi, [ebp + 0x151b8]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
mov cl, 0x2a
rep stosd dword es:[edi], eax
mov al, 0x43
mov byte [ebp + 0x151a8], al
call fcn.00452d80
jmp 0x47fa0c
mov eax, dword [ebp + 0x1a84d]
mov dword [ebp + 0x13248], eax
mov ax, word [ebp + 0x1a851]
mov word [ebp + 0x1324c], ax
sub eax, eax
mov word [ebp + 0x91e4], ax
mov ax, 0xf6fa
mov word [ebp + 0xa], ax
lea eax, [ebp + 0x91b0]
push eax
mov eax, 0x491242
push eax
lea esi, [eax - 0x6da]
mov dword [ebp - 0x14], esi
mov al, 2
call sub.cblrtss.dll_EXTFH
test edx, 0x9def
add esp, 8
mov ax, word [ebp + 0x91b0]
mov word [ebp + 0x15578], ax
cmp byte [ebp + 0x91b0], 0x32
ja 0x47fa0c
cmp byte [ebp + 0x91b0], 0x32
jne 0x47f961
mov esi, 0x496f78
lea edi, [ebp + 0x151b8]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
mov cl, 0x2c
rep stosd dword es:[edi], eax
mov al, 0x49
mov byte [ebp + 0x151a8], al
call fcn.00452d80
jmp 0x47fa0c
cmp byte [ebp + 0x1329f], 0x32
jne 0x47f995
mov esi, 0x496f90
lea edi, [ebp + 0x151b8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, 0x20202020
mov ecx, 0x2d
rep stosd dword es:[edi], eax
mov al, 0x49
mov byte [ebp + 0x151a8], al
call fcn.00452d80
jmp 0x47fa0c
lea esi, [ebp + 0x1324e]
lea edi, [ebp + 0x1a853]
movsb byte es:[edi], byte [esi]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, 0x20202020
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov esi, 0x491b60
mov dword [ebp - 0x14], esi
lea eax, [ebp + 0x1a570]
push eax
mov edx, dword [0x4df644]
mov ebx, dword [edx + 0xa5]
or ebx, ebx
je 0x47f9dd
test byte [ebx + 0x17], 0x80
jne 0x47f9dd
mov ebx, dword [ebx + 0xc]
jmp 0x47f9f7
mov ebx, ecx
push ebx
add edx, 0xa5
push edx
push 0xc
add edx, 6
push edx
call sub.cblrtss.dll__mFfindp
add esp, 0x10
mov ebx, eax
mov al, 1
call ebx
test edx, 0x9cfb
add esp, 4
bswap eax
mov dword [ebp + 0x1b3a4], eax
cmp dword [esp + 4], 0xffffff97
jne fcn.0047fa16
ret 4