Function at 0x4d9a5c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
add esi, 0xffffffec
xor eax, eax
push ebp
push 0x4d9fa2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov ebx, dword [eax + 0x7890]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, 0x4d9fb8
mov edx, 0x4d9fc8
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x18]
call fcn.00404354
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, 0x4d9fc8
mov ecx, 0x4d9fdc
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x1c]
call fcn.00404354
push ebp
mov edx, 4
mov eax, 0x4d9ff0
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x30], eax
push ebp
mov edx, 0x1e
mov eax, 0x4da004
call fcn.004d99ec
pop ecx
mov edi, eax
mov dword [ebx + 0x34], edi
test edi, edi
jne 0x4d9b01
mov dword [ebx + 0x34], 0x1e
push ebp
xor edx, edx
mov eax, 0x4da018
call fcn.004d99ec
pop ecx
mov edi, eax
mov dword [ebx + 0x38], edi
test edi, edi
jne 0x4d9b1e
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x38], eax
push ebp
push 0x20
call sub.user32.dll_GetSystemMetrics
mov edx, eax
mov eax, 0x4da02c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x3c], eax
push ebp
xor edx, edx
mov eax, 0x4da040
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x40], eax
push ebp
xor edx, edx
mov eax, 0x4da058
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x44], eax
push ebp
mov edx, 0xffffffce
mov eax, 0x4da06c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x94], eax
push ebp
mov edx, 0x32
mov eax, 0x4da080
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x98], eax
push ebp
xor edx, edx
mov eax, 0x4da094
call fcn.004d99ec
pop ecx
mov edi, eax
mov dword [ebx + 0x48], edi
push ebp
mov edx, edi
mov eax, 0x4da0a8
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x4c], eax
push ebp
mov edx, dword [ebx + 0x48]
mov eax, 0x4da0c0
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x50], eax
push ebp
mov edx, dword [ebx + 0x48]
mov eax, 0x4da0d8
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x54], eax
push ebp
xor edx, edx
mov eax, 0x4da0f0
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x5c], eax
push ebp
xor edx, edx
mov eax, 0x4da100
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x60], eax
push ebp
xor edx, edx
mov eax, 0x4da114
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x64], eax
push ebp
xor edx, edx
mov eax, 0x4da124
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x68], eax
push ebp
xor edx, edx
mov eax, 0x4da134
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x6c], eax
push ebp
xor edx, edx
mov eax, 0x4da144
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x70], eax
push ebp
xor edx, edx
mov eax, 0x4da158
call fcn.004d99ec
pop ecx
test eax, eax
setne al
mov byte [ebx + 0x8c], al
push ebp
xor edx, edx
mov eax, 0x4da16c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x74], eax
push ebp
xor edx, edx
mov eax, 0x4da184
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x78], eax
push ebp
xor edx, edx
mov eax, 0x4da1a4
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x7c], eax
push ebp
xor edx, edx
mov eax, 0x4da1bc
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x80], eax
push ebp
xor edx, edx
mov eax, 0x4da1d8
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x84], eax
push ebp
xor edx, edx
mov eax, 0x4da1f0
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x88], eax
push ebp
xor edx, edx
mov eax, 0x4da20c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x20], eax
push ebp
xor edx, edx
mov eax, 0x4da224
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x24], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da23c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x28], eax
push ebp
xor edx, edx
mov eax, 0x4da250
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x2c], eax
push ebp
mov edx, 2
mov eax, 0x4da26c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x90], eax
push 2
mov eax, dword [esi]
add eax, 0x789c
mov ecx, 1
mov edx, dword [0x506c00]
call fcn.00405784
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0x789c]
lea ebx, [eax + 0x3c]
push ebp
xor edx, edx
mov eax, 0x4da280
call fcn.004d99ec
pop ecx
mov dword [ebx], eax
push ebp
xor edx, edx
mov eax, 0x4da294
call fcn.004d99ec
pop ecx
mov dword [ebx + 8], eax
push ebp
xor edx, edx
mov eax, 0x4da2a8
call fcn.004d99ec
pop ecx
mov dword [ebx + 4], eax
push ebp
xor edx, edx
mov eax, 0x4da2bc
call fcn.004d99ec
pop ecx
mov dword [ebx + 0xc], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da2d0
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x20], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da2e4
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x28], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da2f8
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x24], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da30c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x2c], eax
push ebp
mov edx, 3
mov eax, 0x4da320
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x10], eax
push ebp
mov edx, 3
mov eax, 0x4da334
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x18], eax
push ebp
mov edx, 2
mov eax, 0x4da348
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x14], eax
push ebp
mov edx, 5
mov eax, 0x4da35c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x1c], eax
push ebp
mov edx, 2
mov eax, 0x4da370
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x34], eax
push ebp
mov edx, 0x3c
mov eax, 0x4da384
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x789c]
add eax, 0x3c
mov edx, 0x4da398
call fcn.004d9094
pop ecx
mov eax, dword [esi]
mov ebx, dword [eax + 0x789c]
push ebp
mov edx, 0xffffff
mov eax, 0x4da3a8
call fcn.004d99ec
pop ecx
mov dword [ebx], eax
push ebp
mov edx, 0xffffff
mov eax, 0x4da3bc
call fcn.004d99ec
pop ecx
mov dword [ebx + 8], eax
push ebp
xor edx, edx
mov eax, 0x4da3d0
call fcn.004d99ec
pop ecx
mov dword [ebx + 4], eax
push ebp
mov edx, 0xffffff
mov eax, 0x4da3e4
call fcn.004d99ec
pop ecx
mov dword [ebx + 0xc], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da3f8
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x20], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da40c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x28], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da420
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x24], eax
push ebp
or edx, 0xffffffff
mov eax, 0x4da434
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x2c], eax
push ebp
mov edx, 2
mov eax, 0x4da448
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x10], eax
push ebp
mov edx, 2
mov eax, 0x4da45c
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x18], eax
push ebp
mov edx, 2
mov eax, 0x4da470
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x14], eax
push ebp
mov edx, 4
mov eax, 0x4da484
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x1c], eax
push ebp
mov edx, 2
mov eax, 0x4da498
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x34], eax
push ebp
mov edx, 0xc8
mov eax, 0x4da4ac
call fcn.004d99ec
pop ecx
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0x789c]
mov edx, 0x4da4c0
call fcn.004d9094
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d9fa9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404324
ret