Function at 0x4c9320
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
lea ebp, [esp - 0x5c]
sub esp, 0x5c
push 0xffffffffffffffff
push 0x4fdd24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov dword [ebp + 0x58], ecx
mov ecx, dword [ebp + 0x58]
call fcn.004f0b10
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x58]
mov dword [eax], 0x504dfc
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 8], 0
mov edx, dword [ebp + 0x58]
add edx, 0xc
mov dword [ebp + 0x50], edx
mov eax, dword [ebp + 0x50]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp + 0x50]
mov dword [ecx + 0x14], 0
push 0
push 0
mov ecx, dword [ebp + 0x50]
call fcn.004769f0
mov edx, dword [0x5319c8]
push edx
push 0
mov eax, dword [ebp + 0x64]
push eax
mov ecx, dword [ebp + 0x50]
call fcn.00475f50
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x58]
add ecx, 0x24
mov dword [ebp + 0x3c], ecx
mov edx, dword [ebp + 0x3c]
mov dword [edx], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax + 4], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx + 8], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x58]
add edx, 0x30
mov dword [ebp + 0x4c], edx
mov eax, dword [ebp + 0x4c]
mov dword [eax], 0
mov ecx, dword [ebp + 0x4c]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 0x4c]
mov dword [edx + 8], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0x58]
add ecx, 0x3c
call fcn.004cb700
mov byte [ebp - 4], 4
call fcn.004c5dd0
mov eax, dword [ebp + 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x4c9428
mov ecx, dword [ebp + 0x18]
mov dword [ebp + 0x40], ecx
mov edx, dword [ebp + 0x64]
mov eax, dword [edx]
mov dword [ebp + 0x40], eax
jmp 0x4c942e
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x40], ecx
mov edx, dword [ebp + 0x40]
push edx
call fcn.00402960
add esp, 4
mov ecx, dword [ebp + 0x58]
mov dword [ecx + 8], eax
mov edx, dword [ebp + 0x58]
cmp dword [edx + 8], 0
jne 0x4c94cd
mov eax, dword [ebp + 0x64]
push eax
push str.Cipher
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004c9f50
add esp, 0xc
mov dword [ebp + 0x30], eax
mov edx, dword [ebp + 0x30]
mov dword [ebp + 0x28], edx
mov byte [ebp - 4], 5
push str._was_not_found
mov eax, dword [ebp + 0x28]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0048b950
add esp, 0xc
mov dword [ebp + 0x20], eax
mov edx, dword [ebp + 0x20]
mov dword [ebp + 0x2c], edx
mov byte [ebp - 4], 6
push 0
mov eax, dword [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x68]
call fcn.004a49e0
push 0x542e78
lea ecx, [ebp - 0x68]
push ecx
call fcn.004d0a2b
mov byte [ebp - 4], 5
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.004769f0
mov byte [ebp - 4], 4
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.004769f0
mov ecx, dword [ebp + 0x58]
call fcn.004c9a60
push eax
lea ecx, [ebp + 0xc]
call fcn.0048b020
mov dword [ebp + 0x24], eax
mov edx, dword [ebp + 0x24]
mov dword [ebp + 0x38], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp + 0x58]
add eax, 0x24
mov dword [ebp + 0x48], eax
mov ecx, dword [ebp + 0x48]
cmp ecx, dword [ebp + 0x38]
je 0x4c9510
mov ecx, dword [ebp + 0x48]
call fcn.00477090
mov eax, dword [ebp + 0x38]
push eax
mov ecx, dword [ebp + 0x48]
call fcn.004ca740
mov byte [ebp - 4], 4
lea ecx, [ebp + 0xc]
call fcn.00477090
mov ecx, dword [ebp + 0x58]
call fcn.004c9aa0
push eax
lea ecx, [ebp]
call fcn.0048b020
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x34], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp + 0x58]
add edx, 0x30
mov dword [ebp + 0x44], edx
mov eax, dword [ebp + 0x44]
cmp eax, dword [ebp + 0x34]
je 0x4c9569
mov ecx, dword [ebp + 0x44]
call fcn.00477090
xor edx, edx
mov byte [ebp + 0x57], dl
movzx eax, byte [ebp + 0x57]
push eax
mov ecx, dword [ebp + 0x34]
push ecx
mov ecx, dword [ebp + 0x44]
call fcn.004ca770
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.00477090
mov edx, dword [ebp + 0x70]
push edx
mov eax, dword [ebp + 0x6c]
push eax
mov ecx, dword [ebp + 0x68]
push ecx
mov ecx, dword [ebp + 0x58]
call fcn.004c9b90
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add ebp, 0x5c
mov esp, ebp
pop ebp
ret 0x10