Function at 0x4a7110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52c09f
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x5873b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.0046fa20
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], vtable.CGOpeWin::CCGOpeWin.0
mov ecx, dword [ebp - 0x9c]
add ecx, 0x28
call fcn.00417cb0
mov ecx, dword [ebp - 0x9c]
add ecx, 0x30
call fcn.00417cb0
mov ecx, dword [ebp - 0x9c]
add ecx, 0x38
call fcn.0047fc70
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x9c]
add ecx, 0x48
call fcn.0047fc70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x9c]
add ecx, 0x54
call fcn.0045b310
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
add ecx, 0x6c
call fcn.0047fc70
mov byte [ebp - 4], 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x9c]
mov byte [edx + 0xc], 0
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x24], 0
call fcn.00418d70
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
call fcn.004cc900
mov dword [ebp - 0xa4], eax
mov ecx, 0x589498
call fcn.00486730
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x38
push ecx
mov ecx, dword [ebp - 0xa4]
call fcn.00440a30
mov byte [ebp - 0xa5], al
movzx edx, byte [ebp - 0xa5]
test edx, edx
jne 0x4a7248
mov dword [ebp - 0x28], 1
push 0x55f2f0
lea eax, [ebp - 0x28]
push eax
call fcn.00510f22
mov ecx, dword [ebp - 0x9c]
add ecx, 0x38
call fcn.00424320
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x48]
push ecx
mov ecx, dword [ebp - 0xac]
call fcn.00417bd0
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x38
call fcn.00424320
mov dword [ebp - 0xb4], eax
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.0043f530
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
call fcn.0043f310
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x14
mov edx, dword [ebp - 0xbc]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x54
call fcn.004c11a0
mov dword [ebp - 0x14], 0
jmp 0x4a731f
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 5
jae 0x4a749e
push 0x18
call fcn.00510fda
add esp, 4
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x60], 0
je 0x4a7368
mov ecx, dword [ebp - 0x60]
call fcn.004a7b40
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
jmp 0x4a7372
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 5
push 1
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.004c2a00
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x20]
call fcn.00424320
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
call fcn.00424320
mov dword [ebp - 0xd4], eax
call fcn.00418d70
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.004cc900
mov dword [ebp - 0xdc], eax
push 0
mov edx, dword [ebp - 0x14]
imul edx, edx, 0x28
add edx, 0x57a1d0
push edx
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xdc]
call fcn.00451050
mov byte [ebp - 0xdd], al
movzx ecx, byte [ebp - 0xdd]
test ecx, ecx
jne 0x4a7419
mov dword [ebp - 0x64], 1
push 0x55f2f0
lea edx, [ebp - 0x64]
push edx
call fcn.00510f22
lea ecx, [ebp - 0x20]
call fcn.00424320
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
call fcn.00424320
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0xe8]
call fcn.004c4eb0
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x14
call fcn.0041f100
lea ecx, [ebp - 0x20]
call fcn.00424320
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.004a7b10
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x54
call fcn.004c2990
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.004db1b0
jmp 0x4a7316
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x14
call fcn.00416430
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xf4]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x14
call fcn.00416450
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xf8]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 0x44], 0
push 0x16c
call fcn.00510a95
add esp, 4
mov dword [ebp - 0xfc], eax
mov edx, dword [ebp - 0xfc]
mov dword [ebp - 0x7c], edx
mov byte [ebp - 4], 8
cmp dword [ebp - 0x7c], 0
je 0x4a756c
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0xa
push fcn.00418630
push fcn.00417c20
push 0xa
push 0x24
mov ecx, dword [ebp - 0x7c]
add ecx, 4
push ecx
call fcn.0051236e
mov edx, dword [ebp - 0x7c]
add edx, 4
mov dword [ebp - 0x100], edx
jmp 0x4a7576
mov dword [ebp - 0x100], 0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 5
push 0
push 0xa
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x48
call fcn.004c28b0
mov dword [ebp - 0x24], 0
jmp 0x4a75ab
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x48
call fcn.00428f50
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x104]
jge 0x4a7646
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x48
call fcn.00455450
mov dword [ebp - 0x108], eax
call fcn.00418d70
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
call fcn.004cc900
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x24]
mov eax, dword [edx*4 + 0x57a300]
push eax
mov ecx, dword [ebp - 0x108]
push ecx
mov ecx, dword [ebp - 0x110]
call fcn.00450d50
mov byte [ebp - 0x111], al
movzx edx, byte [ebp - 0x111]
test edx, edx
jne 0x4a7641
mov dword [ebp - 0x80], 1
push 0x55f2f0
lea eax, [ebp - 0x80]
push eax
call fcn.00510f22
jmp 0x4a75a2
push 0x60
call fcn.00510fda
add esp, 4
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x88], ecx
mov byte [ebp - 4], 9
cmp dword [ebp - 0x88], 0
je 0x4a7692
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.004a7730
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
jmp 0x4a769c
mov dword [ebp - 0x120], 0
mov ecx, dword [ebp - 0x120]
mov dword [ebp - 0x84], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x84]
push edx
mov ecx, dword [ebp - 0x9c]
add ecx, 0x6c
call fcn.004c2a50
jmp 0x4a7702
mov dword [ebp - 4], 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4