Function at 0x436cc0
Capabilities:
Access peb ldr_data
Encrypt data using rc4 prga
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x40
mov esi, ecx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3a393837
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
cmp eax, 0x1f
ja 0x436d67
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
movzx ecx, byte [esp + ecx + 0x10]
lea edx, [eax - 0x64f80289]
and edx, ecx
add eax, ecx
add eax, 0x9b07fd77
add edx, edx
sub eax, edx
add al, 0xbf
mov ecx, dword [esp + 0xc]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 0xc]
mov eax, dword [esp + 0xc]
cmp eax, 0x20
jb 0x436d30
mov ebx, dword [esp + 0x10]
mov eax, dword [0x44c0b0]
test eax, eax
je 0x436db6
xor ecx, ecx
mov edx, dword [0x44c0b4]
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x18dc7455
je 0x436d90
inc ecx
cmp eax, ecx
jne 0x436d80
jmp 0x436db6
mov eax, dword [edx + ecx*8 + 4]
cmp eax, ebx
je 0x436db6
lea ecx, [esp + 0x30]
push ecx
push 0
push 0
push 5
push 4
push dword [0x44c0b8]
push eax
call fcn.00439090
add esp, 0x1c
mov ebx, eax
cmp ebx, 0xc0000004
jne 0x436fc4
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xbbb8b9c6
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0x1f
ja 0x436e57
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx - 0x3a2e64e9]
mov edi, edx
not edi
or edi, esi
and esi, edx
add esi, edi
sub ecx, esi
add cl, 0x75
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x20
jb 0x436e20
mov ecx, dword [esp + 0x10]
mov ecx, dword fs:[ecx]
push eax
push 0
push dword [ecx + 0x18]
call dword [0x44c0dc]
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x3a393837
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
cmp ecx, 0x1f
ja 0x436f09
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
movzx edx, byte [esp + edx + 0x10]
lea esi, [ecx - 0x64f80289]
and esi, edx
add ecx, edx
add ecx, 0x9b07fd77
add esi, esi
sub ecx, esi
add cl, 0xbf
mov edx, dword [esp + 0xc]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
cmp ecx, 0x20
jb 0x436ed0
mov ebx, dword [esp + 0x10]
mov ecx, dword [0x44c0b0]
test ecx, ecx
je 0x436f51
xor edx, edx
mov esi, dword [0x44c0b4]
nop
cmp dword [esi + edx*8], 0x18dc7455
je 0x436f30
inc edx
cmp ecx, edx
jne 0x436f20
jmp 0x436f51
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, ebx
je 0x436f51
push 0
push eax
push edi
push 5
push 4
push dword [0x44c0b8]
push ecx
call fcn.00439090
add esp, 0x1c
mov ebx, eax
test ebx, ebx
js 0x436fbb
mov eax, dword [ebp + 8]
mov edx, dword [edi]
mov dword [esp + 0x34], edi
mov ecx, edi
mov ebx, dword [ecx + edx + 0x3c]
add ecx, edx
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, word [ebx + esi]
movzx edi, word [eax + esi]
test edx, edx
je 0x436f84
add esi, 2
cmp dx, di
je 0x436f70
movzx esi, di
mov edi, esi
xor edi, edx
not esi
and esi, edx
add esi, esi
cmp esi, edi
je 0x436fa2
mov edx, dword [ecx]
test edx, edx
jne 0x436f60
mov ebx, 0xc0000225
jmp 0x436fb7
mov eax, dword [ecx + 0x44]
mov edx, dword [esp + 0x38]
mov dword [edx + 4], eax
mov eax, dword [ecx + 0xdc]
mov dword [edx + 8], eax
xor ebx, ebx
mov edi, dword [esp + 0x34]
push edi
call fcn.00436be0
add esp, 4
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4