Function at 0x478dd0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using base64
Get ntdll base address
Get number of processors
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x581290
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x160
push ebx
push ebp
push esi
push 0x5fe7d8
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], 0
call 0x5a377a
mov eax, dword [0x5f9f88]
mov dword [esp + 0x174], 1
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x180]
mov dl, 0x30
mov byte [esp + 0x174], 2
mov byte [esp + 0xc], 0x41
mov ecx, dword [ecx]
mov byte [esp + 0xd], 0x42
mov byte [esp + 0xe], 0x43
mov byte [esp + 0xf], 0x44
mov byte [esp + 0x10], 0x45
mov byte [esp + 0x11], 0x46
mov byte [esp + 0x12], 0x47
mov byte [esp + 0x13], 0x48
mov byte [esp + 0x14], 0x49
mov byte [esp + 0x15], 0x4a
mov byte [esp + 0x16], 0x4b
mov byte [esp + 0x17], 0x4c
mov byte [esp + 0x18], 0x4d
mov byte [esp + 0x19], 0x4e
mov byte [esp + 0x1a], 0x4f
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x51
mov byte [esp + 0x1d], 0x52
mov byte [esp + 0x1e], 0x53
mov byte [esp + 0x1f], 0x54
mov byte [esp + 0x20], 0x55
mov byte [esp + 0x21], 0x56
mov byte [esp + 0x22], 0x57
mov byte [esp + 0x23], 0x58
mov byte [esp + 0x24], 0x59
mov byte [esp + 0x25], 0x5a
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], 0x62
mov byte [esp + 0x28], 0x63
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], 0x65
mov byte [esp + 0x2b], 0x66
mov byte [esp + 0x2c], 0x67
mov byte [esp + 0x2d], 0x68
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], 0x6a
mov byte [esp + 0x30], 0x6b
mov byte [esp + 0x31], 0x6c
mov byte [esp + 0x32], 0x6d
mov byte [esp + 0x33], 0x6e
mov byte [esp + 0x34], 0x6f
mov byte [esp + 0x35], 0x70
mov byte [esp + 0x36], 0x71
mov byte [esp + 0x37], 0x72
mov byte [esp + 0x38], 0x73
mov byte [esp + 0x39], 0x74
mov byte [esp + 0x3a], 0x75
mov byte [esp + 0x3b], 0x76
mov byte [esp + 0x3c], 0x77
mov byte [esp + 0x3d], 0x78
mov byte [esp + 0x3e], 0x79
mov byte [esp + 0x3f], 0x7a
mov byte [esp + 0x40], dl
mov byte [esp + 0x41], 0x31
mov byte [esp + 0x42], 0x32
mov byte [esp + 0x43], 0x33
mov byte [esp + 0x44], 0x34
mov byte [esp + 0x45], 0x35
mov byte [esp + 0x46], 0x36
mov byte [esp + 0x47], 0x37
mov byte [esp + 0x48], 0x38
mov byte [esp + 0x49], 0x39
mov byte [esp + 0x4a], 0x2b
mov byte [esp + 0x4b], 0x2f
mov byte [esp + 0x4c], 0x3d
mov ebp, dword [ecx - 8]
xor eax, eax
test ebp, ebp
jle 0x478f84
mov bl, byte [ecx + eax]
mov byte [esp + eax + 0x6c], bl
inc eax
cmp eax, ebp
jl 0x478f78
xor eax, eax
test ebp, ebp
mov dword [esp + 0x58], eax
jle 0x47906c
mov esi, 2
lea ecx, [esp + 0x6d]
mov ebx, 1
sub esi, ecx
push edi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], esi
jmp 0x478fb3
mov esi, dword [esp + 0x64]
mov dl, 0x30
cmp ebx, ebp
jl 0x478fbb
mov byte [esp + eax + 0x71], dl
lea ecx, [esp + eax + 0x71]
lea eax, [esi + ecx]
cmp eax, ebp
mov dword [esp + 0x68], eax
jl 0x478fcd
mov byte [ecx + 1], dl
xor edx, edx
xor eax, eax
mov dl, byte [ecx]
mov al, byte [ecx + 1]
mov esi, edx
mov edi, eax
and esi, 0xf
xor ebx, ebx
mov bl, byte [ecx - 1]
and edi, 0x3f
shr eax, 6
shl esi, 2
or eax, esi
mov esi, ebx
mov ebx, dword [esp + 0x60]
mov ecx, esi
and ecx, 3
shl ecx, 4
shr edx, 4
or ecx, edx
shr esi, 2
cmp ebx, ebp
jl 0x47900e
mov eax, 0x40
mov edi, eax
cmp dword [esp + 0x68], ebp
jl 0x479019
mov edi, 0x40
movsx edx, byte [esp + edi + 0x10]
movsx eax, byte [esp + eax + 0x10]
movsx ecx, byte [esp + ecx + 0x10]
push edx
push eax
movsx edx, byte [esp + esi + 0x18]
push ecx
push edx
lea eax, [esp + 0x68]
push 0x5ea6a4
push eax
call 0x59eeb4
add esp, 0x18
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x58]
call 0x5a3b24
mov eax, dword [esp + 0x5c]
add ebx, 3
add eax, 3
mov dword [esp + 0x60], ebx
cmp eax, ebp
mov dword [esp + 0x5c], eax
jl 0x478fad
pop edi
mov esi, dword [esp + 0x17c]
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call 0x5a3481
mov dword [esp + 0x68], 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x174], 1
call 0x5a370c
lea ecx, [esp + 0x50]
mov byte [esp + 0x174], 0
call 0x5a370c
mov ecx, dword [esp + 0x16c]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x16c
ret 8