Function at 0x4dc640
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55460f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x3f04
mov dword [esp + 0x18], esi
call fcn.0051ff14
lea edi, [esi + 0x70]
mov ecx, edi
mov dword [esp + 0x1c], 0
mov dword [esi], method.CDialog.virtual_0
call fcn.00521511
mov dword [edi], vtable.CButton.0
lea edi, [esi + 0xc0]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00521511
mov dword [edi], vtable.CButton.0
lea edi, [esi + 0x110]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00521511
mov dword [edi], vtable.CStatic.0
lea edi, [esi + 0x160]
mov ecx, edi
mov byte [esp + 0x1c], 3
call fcn.00521511
mov dword [edi], vtable.CEdit.0
lea edi, [esi + 0x1b0]
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.00521511
mov dword [edi], vtable.CButton.0
lea ecx, [esi + 0x200]
mov byte [esp + 0x1c], 5
call fcn.00507f90
lea edi, [esi + 0x2e4]
mov ecx, edi
mov byte [esp + 0x1c], 6
call fcn.00521511
mov dword [edi], vtable.CButton.0
mov byte [esp + 0x1c], 7
lea ebp, [esi + 0x334]
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x1c], 8
lea ebx, [esi + 0x338]
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x344], ecx
push 0xa
lea ecx, [esi + 0x348]
mov byte [esp + 0x20], 9
mov dword [esi + 0x33c], edi
mov dword [esi + 0x340], eax
call fcn.0051ec73
mov edx, dword [esp + 0x34]
mov byte [esp + 0x1c], 0xa
mov dword [esi + 0x370], edx
call fcn.0051fbb3
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x388], eax
mov dword [esi + 0x38c], 0
mov ecx, dword [0x5a8774]
test ecx, ecx
mov byte [esp + 0x1c], 0xb
je 0x4dc7d0
mov eax, dword [esi + 0x33c]
mov edx, dword [eax + 8]
push edx
call fcn.004a55a0
mov dword [esi + 0x38c], eax
mov eax, dword [edi + 4]
test eax, eax
jne 0x4dc80e
mov eax, dword [esi + 0x38c]
test eax, eax
jne 0x4dc80a
mov edx, dword [esi + 0x33c]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edx + 8]
lea ecx, [esp + 0x28]
push ecx
push eax
mov ecx, 0x5a8558
call fcn.0048e400
test eax, eax
je 0x4dc80e
mov ecx, dword [eax + 4]
test ecx, ecx
jl 0x4dc80e
xor eax, eax
jmp 0x4dc813
mov eax, 1
mov dword [esi + 0x374], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x4dc825
mov eax, dword [edi + 0x44]
jmp 0x4dc828
mov eax, dword [edi + 0x40]
mov dword [esi + 0x364], eax
mov eax, dword [esi + 0x370]
test eax, eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x368], ecx
je 0x4dc879
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], edx
call fcn.004b27d0
mov eax, dword [eax + 0x5c]
test eax, eax
je 0x4dc86f
mov ecx, dword [esp + 0x2c]
cmp dword [eax + 8], ecx
je 0x4dc865
mov eax, dword [eax]
test eax, eax
jne 0x4dc854
jmp 0x4dc86f
mov dword [esi + 0x368], 0
mov eax, dword [esi + 0x370]
test eax, eax
jne 0x4dc891
mov edx, dword [esi + 0x33c]
mov eax, dword [edx + 0x24]
test eax, eax
jne 0x4dc891
mov eax, dword [edi + 0x14]
mov dword [esi + 0x36c], eax
jmp 0x4dc89b
mov dword [esi + 0x36c], 1
push 0
push 0x559e91
mov ecx, ebp
call fcn.004017a0
push 0
push 0x559e91
mov ecx, ebx
call fcn.004017a0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14