Function at 0x4a0d64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff38
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4a1264
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00541d4c
mov esi, eax
mov eax, dword [esi + 0x174]
mov dword [ebp - 0x24], eax
mov eax, esi
call fcn.0055ff90
call fcn.004d4364
mov edx, dword [eax + 0x1d4]
mov eax, dword [esi + 0x1d4]
call fcn.00625680
call fcn.004d4364
mov edx, dword [eax + 0x604]
mov eax, dword [esi + 0x604]
call fcn.0064e164
call fcn.0064d970
mov dword [ebp - 8], eax
call fcn.0064dfa0
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x1d0]
mov eax, dword [esi + 0x1d4]
call fcn.00625850
test al, al
je 0x4a0ea7
mov ebx, 1
lea eax, [ebp - 0x18]
call fcn.00403880
mov dword [ebp - 0x1c], 0x80000000
mov eax, dword [ebp - 0xc]
mov edi, dword [eax + 0x18]
dec edi
test edi, edi
jl 0x4a0e6f
inc edi
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x20]
cmp ebx, dword [eax + edx*4]
jne 0x4a0e69
cmp dword [ebp - 0x18], 0
je 0x4a0e40
lea eax, [ebp - 0x18]
mov edx, 0x4a1278
call fcn.00403ac4
lea eax, [ebp - 0x18]
mov edx, dword [esi + 0x1d4]
mov edx, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 0x14]
call fcn.00403ac4
cmp dword [ebp - 0x1c], 0x80000000
jne 0x4a0e69
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
inc dword [ebp - 0x20]
dec edi
jne 0x4a0e1f
cmp dword [ebp - 0x18], 0
je 0x4a0e98
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0064dc98
mov edx, 0xd
mov eax, dword [ebp - 8]
call fcn.0064dbd8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0064e1f0
inc ebx
cmp ebx, 0xa
jne 0x4a0dfd
jmp 0x4a0f72
mov eax, dword [0x6692f0]
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dl, 1
mov eax, dword [0x614958]
call fcn.00625150
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edi, byte [eax + 0x1d4]
inc edi
dec edi
test edi, edi
jle 0x4a0efa
mov ebx, 1
mov eax, dword [0x6692f0]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.006256ec
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0064e1f0
inc ebx
dec edi
jne 0x4a0ed8
push 0
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x1d4]
call fcn.00625478
mov eax, dword [ebp - 4]
call fcn.004028c0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx edi, byte [eax + 0x1d4]
inc edi
dec edi
test edi, edi
jle 0x4a0f72
mov ebx, 1
mov edx, ebx
mov eax, dword [esi + 0x1d4]
call fcn.006256ec
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x1d4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 8]
call fcn.0064dc98
mov edx, 0xd
mov eax, dword [ebp - 8]
call fcn.0064dbd8
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x10]
call fcn.0064e1f0
inc ebx
dec edi
jne 0x4a0f2c
mov ecx, dword [ebp - 8]
mov dl, 0xd
mov eax, esi
call fcn.005c7acc
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x4a0faa
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov ax, word [eax + ebx*4]
mov edx, dword [esi + 0xb0]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + ebx*4]
mov word [edx + 0x32], ax
dec ebx
cmp ebx, 0xffffffff
jne 0x4a0f8a
mov eax, dword [ebp - 0xc]
call fcn.0064e5c0
mov eax, dword [ebp - 0x10]
call fcn.0064e5c0
mov eax, dword [ebp - 8]
call fcn.004028c0
lea edx, [ebp - 0x48]
mov eax, esi
call fcn.005c0e14
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x11]
push eax
xor ecx, ecx
mov dl, 7
mov eax, esi
call fcn.005c7af4
lea edx, [ebp - 0xb8]
mov eax, esi
call fcn.0055e56c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1a4]
mov edx, dword [eax + 0x30]
sub edx, 0xe
mov eax, esi
call fcn.0055fafc
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0xa4], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb8]
xor edx, edx
mov eax, esi
call fcn.005c7adc
push 0
mov al, byte [0x4a1280]
push eax
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.005bb588
mov eax, dword [0x669118]
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [eax + 0x1c8]
mov eax, dword [0x669118]
mov eax, dword [eax]
call fcn.0064e1f0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1c4]
test eax, eax
je 0x4a1098
mov edx, dword [ebp + 8]
mov edx, eax
mov eax, dword [0x669118]
mov eax, dword [eax]
call fcn.0064e1f0
mov eax, dword [esi + 0xb0]
mov ebx, dword [eax + 0x18]
dec ebx
cmp ebx, 0
jl 0x4a10bd
mov eax, dword [esi + 0xb0]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ebx*4]
mov byte [eax + 0x29], 1
dec ebx
cmp ebx, 0xffffffff
jne 0x4a10a7
lea eax, [ebp - 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x1dc]
call fcn.004038bc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x1dc
call fcn.00403880
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
lea ecx, [eax + 0x1d0]
mov dl, 0x25
mov eax, esi
call fcn.005c7acc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
add eax, 0x1dc
mov edx, dword [ebp - 0x18]
call fcn.004038bc
mov eax, dword [0x669118]
mov eax, dword [eax]
mov edx, edi
call fcn.0064dff0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1a4]
mov ecx, dword [eax + 0x34]
mov edx, dword [ebp + 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 0x24]
call fcn.0044bcb0
mov byte [esi + 0x403], 1
mov eax, esi
call fcn.005b4f84
mov edx, dword [0x669448]
mov eax, esi
call fcn.0055c38c
mov byte [esi + 0x3f8], 1
mov eax, dword [esi + 0x13c]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax]
lea ebx, [edi + 0x48]
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov edx, 7
mov eax, 7
call fcn.0064d694
push esi
push edi
lea esi, [ebp - 0xc8]
add edi, 0x48
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1a4]
mov eax, dword [eax + 0xc8]
call fcn.0064919c
call fcn.0064ae74
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
call fcn.00648794
mov ebx, eax
mov eax, dword [0x6691b4]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
call fcn.00624538
push eax
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0x28]
call fcn.00648770
lea eax, [ebp - 0xc8]
push eax
push ebx
call sub.user32.dll_FillRect
push 1
push ebx
call sub.gdi32.dll_SetBkMode
mov eax, ebx
call fcn.0064be14
mov eax, dword [0x669650]
xor edx, edx
mov dword [eax], edx
push 7
push 0
mov ecx, 7
mov edx, ebx
mov eax, edi
call fcn.00556584
mov eax, dword [0x669650]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x1a4]
mov edx, dword [eax]
call dword [edx + 0x38]
mov eax, dword [esi + 0x604]
call fcn.0064e144
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x268]
call fcn.004028c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a126b
lea eax, [ebp - 0x18]
call fcn.00403880
ret