Function at 0x4a791c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x4a7924
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406c34
xor eax, eax
push ebp
push 0x4a8021
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00406b40
lea eax, [ebx + 4]
call fcn.00406b40
lea eax, [ebx + 8]
call fcn.00406b40
lea eax, [ebx + 0xc]
call fcn.00406b40
mov dword [ebx + 0x10], 0xffffffff
xor eax, eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x28], 0xffffffff
mov dword [ebx + 0x20], 0xffffffff
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x34], 0xffffffff
mov dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x3c], 0xffffffff
mov dword [ebx + 0x40], 0xffffffff
mov dword [ebx + 0x44], 0xffffffff
mov dword [ebx + 0x48], 0xffffffff
mov dword [ebx + 0x4c], 0xffffffff
mov dword [ebx + 0x50], 0xffffffff
mov dword [ebx + 0x54], 0xffffffff
mov dword [ebx + 0x58], 0xffffffff
mov dword [ebx + 0x5c], 0xffffffff
mov dword [ebx + 0x60], 0xffffffff
mov dword [ebx + 0x64], 0xffffffff
xor eax, eax
push ebp
push 0x4a7fec
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x47c95c]
call fcn.0047d6c0
mov dword [ebp - 0xd8], eax
xor eax, eax
push ebp
push 0x4a7fdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xd8]
call fcn.0047e510
mov eax, dword [ebp - 0xd8]
mov esi, dword [eax + 0x10]
test esi, esi
je 0x4a7fc2
mov eax, 0x4a803c
mov dword [ebp - 0xdc], eax
lea edx, [ebp - 0xdc]
mov eax, esi
xor ecx, ecx
call fcn.0047d218
mov esi, eax
test esi, esi
je 0x4a7cc2
lea ecx, [ebp - 8]
mov edx, 0x4a805c
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.0040a70c
mov eax, ebx
mov edx, dword [ebp - 0x70]
call fcn.00406f20
lea ecx, [ebp - 0xc]
mov edx, 0x4a8074
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0xc]
call fcn.0040a70c
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x74]
call fcn.00406f20
lea ecx, [ebp - 0x10]
mov edx, 0x4a8094
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x10]
call fcn.0040a70c
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x78]
call fcn.00406f20
lea ecx, [ebp - 0x14]
mov edx, 0x4a80ac
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0x14]
call fcn.0040a70c
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x7c]
call fcn.00406f20
lea ecx, [ebp - 0x18]
mov edx, 0x4a80d0
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x18]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0x80]
call fcn.0041c570
mov dword [ebx + 0x10], eax
lea ecx, [ebp - 0x1c]
mov edx, 0x4a80f0
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
call fcn.0040a70c
mov edx, dword [0x4bc298]
mov eax, dword [ebp - 0x84]
call fcn.0041c570
mov dword [ebx + 0x28], eax
lea ecx, [ebp - 0x20]
mov edx, 0x4a810c
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x20]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0x88]
call fcn.0041c570
mov dword [ebx + 0x1c], eax
lea ecx, [ebp - 0x24]
mov edx, 0x4a8128
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x24]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0x8c]
call fcn.0041c570
mov dword [ebx + 0x14], eax
lea ecx, [ebp - 0x28]
mov edx, 0x4a8140
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 0x28]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0x90]
call fcn.0041c570
mov dword [ebx + 0x18], eax
lea ecx, [ebp - 0x2c]
mov edx, 0x4a8158
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x2c]
call fcn.0040a70c
mov edx, dword [0x4bc298]
inc edx
mov eax, dword [ebp - 0x94]
call fcn.0041c570
mov dword [ebx + 0x24], eax
lea ecx, [ebp - 0x30]
mov edx, 0x4a8178
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x30]
call fcn.0040a70c
mov edx, dword [0x4bc298]
mov eax, dword [ebp - 0x98]
call fcn.0041c570
mov dword [ebx + 0x20], eax
lea ecx, [ebp - 0x34]
mov edx, 0x4a8198
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x34]
call fcn.0040a70c
push 8
call sub.user32.dll_GetSysColor
mov edx, eax
mov eax, dword [ebp - 0x9c]
call fcn.0041c570
mov dword [ebx + 0x2c], eax
lea ecx, [ebp - 0x38]
mov edx, 0x4a81bc
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xa0]
mov eax, dword [ebp - 0x38]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.0041c570
mov dword [ebx + 0x30], eax
lea ecx, [ebp - 0x3c]
mov edx, 0x4a81d8
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xa4]
mov eax, dword [ebp - 0x3c]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xa4]
call fcn.0041c570
mov dword [ebx + 0x34], eax
mov eax, 0x4a803c
mov dword [ebp - 0xe4], eax
mov eax, 0x4a81f4
mov dword [ebp - 0xe0], eax
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x10]
mov ecx, 1
call fcn.0047d218
mov esi, eax
test esi, esi
je 0x4a7d82
lea ecx, [ebp - 0x40]
mov edx, 0x4a8210
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 0x40]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xa8]
call fcn.0041c570
mov dword [ebx + 0x38], eax
lea ecx, [ebp - 0x44]
mov edx, 0x4a8228
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xac]
mov eax, dword [ebp - 0x44]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xac]
call fcn.0041c570
mov dword [ebx + 0x3c], eax
lea ecx, [ebp - 0x48]
mov edx, 0x4a8240
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xb0]
mov eax, dword [ebp - 0x48]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xb0]
call fcn.0041c570
mov dword [ebx + 0x40], eax
mov eax, 0x4a803c
mov dword [ebp - 0xe4], eax
mov eax, 0x4a825c
mov dword [ebp - 0xe0], eax
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x10]
mov ecx, 1
call fcn.0047d218
mov esi, eax
test esi, esi
je 0x4a7e42
lea ecx, [ebp - 0x4c]
mov edx, 0x4a8210
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x4c]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xb4]
call fcn.0041c570
mov dword [ebx + 0x44], eax
lea ecx, [ebp - 0x50]
mov edx, 0x4a8228
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x50]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xb8]
call fcn.0041c570
mov dword [ebx + 0x48], eax
lea ecx, [ebp - 0x54]
mov edx, 0x4a8240
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x54]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xbc]
call fcn.0041c570
mov dword [ebx + 0x4c], eax
mov eax, 0x4a803c
mov dword [ebp - 0xe4], eax
mov eax, 0x4a8280
mov dword [ebp - 0xe0], eax
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x10]
mov ecx, 1
call fcn.0047d218
mov esi, eax
test esi, esi
je 0x4a7f02
lea ecx, [ebp - 0x58]
mov edx, 0x4a8210
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x58]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xc0]
call fcn.0041c570
mov dword [ebx + 0x50], eax
lea ecx, [ebp - 0x5c]
mov edx, 0x4a8228
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 0x5c]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xc4]
call fcn.0041c570
mov dword [ebx + 0x54], eax
lea ecx, [ebp - 0x60]
mov edx, 0x4a8240
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x60]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xc8]
call fcn.0041c570
mov dword [ebx + 0x58], eax
mov eax, 0x4a803c
mov dword [ebp - 0xe4], eax
mov eax, 0x4a82a0
mov dword [ebp - 0xe0], eax
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x10]
mov ecx, 1
call fcn.0047d218
mov esi, eax
test esi, esi
je 0x4a7fc2
lea ecx, [ebp - 0x64]
mov edx, 0x4a8210
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xcc]
mov eax, dword [ebp - 0x64]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xcc]
call fcn.0041c570
mov dword [ebx + 0x5c], eax
lea ecx, [ebp - 0x68]
mov edx, 0x4a8228
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xd0]
mov eax, dword [ebp - 0x68]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xd0]
call fcn.0041c570
mov dword [ebx + 0x60], eax
lea ecx, [ebp - 0x6c]
mov edx, 0x4a8240
mov eax, esi
call fcn.0047d408
lea edx, [ebp - 0xd4]
mov eax, dword [ebp - 0x6c]
call fcn.0040a70c
xor edx, edx
mov eax, dword [ebp - 0xd4]
call fcn.0041c570
mov dword [ebx + 0x64], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7fe2
mov eax, dword [ebp - 0xd8]
call fcn.00404ed4
ret