Function at 0x4d6010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4d6018
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4d68f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [0x439b40]
call fcn.00403f8c
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x30]
call fcn.0041b980
mov ebx, eax
mov dl, 1
mov eax, dword [0x428904]
call fcn.0042f314
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d67c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 6
mov eax, dword [ebp - 4]
call fcn.004309bc
mov eax, dword [ebx]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebx + 4]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4d6180
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x37c]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x37c]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x37c]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
call fcn.0042f8e8
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop ecx
pop edx
call fcn.0042a7d8
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov edx, dword [ebx + 4]
mov edx, dword [edx + 0x68]
call fcn.0042ae8c
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov eax, dword [eax + 0xc]
mov edx, 0x808080
call fcn.00429964
jmp 0x4d644e
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4d619d
je 0x4d6256
dec eax
je 0x4d6375
jmp 0x4d6429
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x378]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x378]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x378]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
call fcn.0042f8e8
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop ecx
pop edx
call fcn.0042a7d8
jmp 0x4d6429
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x378]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x378]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x378]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
call fcn.0042f8e8
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop ecx
pop edx
call fcn.0042a7d8
push 3
push 3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 4
push eax
push 3
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov ecx, 2
mov edx, 0xaaaadd
call fcn.004bdf84
push 3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 4
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, 4
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
sub eax, 4
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov ecx, 2
mov edx, 0xaaaadd
call fcn.004bdf84
jmp 0x4d6429
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041a530
lea eax, [ebp - 0x24]
push eax
mov eax, dword [esi + 4]
mov edx, dword [0x4d48ec]
call fcn.00403f8c
mov eax, dword [eax + 0x380]
mov eax, dword [eax + 0x198]
call fcn.0042d1b8
call fcn.0042f8e8
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop ecx
pop edx
call fcn.0042a7d8
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov eax, dword [eax + 0x10]
xor edx, edx
call fcn.00429f6c
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov edx, dword [ebx + 4]
mov edx, dword [edx + 0x68]
call fcn.0042ae8c
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.004d5e94
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042adcc
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0042a3a0
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004d5e94
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042ade8
mov edx, dword [ebx]
mov edx, dword [edx + 0x4c]
sub edx, eax
sar edx, 1
jns 0x4d64cf
adc edx, 0
push edx
lea edx, [ebp - 0x44]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.004d5e94
push dword [ebp - 0x40]
lea edx, [ebp - 0x4c]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.004d5f00
push dword [ebp - 0x48]
lea edx, [ebp - 0x54]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.004d5f94
push dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00405074
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042adcc
mov edx, dword [ebx]
mov edx, dword [edx + 0x48]
sub edx, eax
sar edx, 1
jns 0x4d6548
adc edx, 0
push edx
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
pop ecx
call fcn.0042ac3c
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov eax, dword [eax + 0xc]
movzx edx, byte [0x4d6908]
call fcn.00429cf8
lea edx, [ebp - 0x5c]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.004d5f00
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042ade8
mov edx, dword [ebx]
mov edx, dword [edx + 0x4c]
sub edx, eax
sar edx, 1
jns 0x4d65b4
adc edx, 0
push edx
lea edx, [ebp - 0x6c]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.004d5e94
push dword [ebp - 0x68]
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.004d5f00
push dword [ebp - 0x70]
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.004d5f94
push dword [ebp - 0x78]
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.00405074
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042adcc
mov edx, dword [ebx]
mov edx, dword [edx + 0x48]
sub edx, eax
sar edx, 1
jns 0x4d662d
adc edx, 0
add edx, esi
push edx
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
pop ecx
call fcn.0042ac3c
mov eax, dword [ebp - 4]
call fcn.0042f8e8
mov eax, dword [eax + 0xc]
movzx edx, byte [0x4d690c]
call fcn.00429cf8
lea edx, [ebp - 0x84]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.004d5f00
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042adcc
add esi, eax
lea edx, [ebp - 0x8c]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.004d5f94
mov eax, dword [ebp - 0x88]
push eax
lea edx, [ebp - 0x90]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x90]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042ade8
mov edx, dword [ebx]
mov edx, dword [edx + 0x4c]
sub edx, eax
sar edx, 1
jns 0x4d66dd
adc edx, 0
push edx
lea edx, [ebp - 0x9c]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.004d5e94
push dword [ebp - 0x98]
lea edx, [ebp - 0xa4]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.004d5f00
push dword [ebp - 0xa0]
lea edx, [ebp - 0xac]
mov eax, dword [ebx + 4]
call fcn.00450ba0
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0xa8]
call fcn.004d5f94
push dword [ebp - 0xa8]
lea eax, [ebp - 0x94]
mov edx, 3
call fcn.00405074
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
call fcn.0042adcc
mov edx, dword [ebx]
mov edx, dword [edx + 0x48]
sub edx, eax
sar edx, 1
jns 0x4d6780
adc edx, 0
add esi, edx
push esi
mov eax, dword [ebp - 4]
call fcn.0042f8e8
pop edx
pop ecx
call fcn.0042ac3c
mov dl, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x190]
xor ecx, ecx
xor edx, edx
call fcn.0042a860
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d67ce
mov eax, dword [ebp - 4]
call fcn.00403ddc
ret