Function at 0x4c7490
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a3660
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7adbc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
lea ecx, [ebx + 4]
call fcn.0049a4a0
push 0x3f3
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 0x28]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0x465
push eax
call esi
push 0x3f4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebx + 0x2c]
push 0
push 0x465
push eax
call esi
push ecx
mov esi, esp
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x30]
sub ecx, 0x10
call fcn.004998f0
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.004cda90
add esp, 4
push dword [eax]
push 0x3ef
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7559
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 4], 0xffffffff
mov esi, esp
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x34]
sub ecx, 0x10
call fcn.004998f0
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.004cda90
add esp, 4
push dword [eax]
push 0x3f0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 1
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c75b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 4], 0xffffffff
mov esi, esp
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x38]
sub ecx, 0x10
call fcn.004998f0
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.004cda90
add esp, 4
push dword [eax]
push 0x3f6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c760d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov dword [ebp - 4], 0xffffffff
mov esi, esp
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x40]
sub ecx, 0x10
call fcn.004998f0
add eax, 0x10
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.004cda90
add esp, 4
push dword [eax]
push 0x3f8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
mov dword [ebp - 4], 3
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4c7667
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f7
push dword [ebx + 4]
call esi
lea ecx, [ebx + 0x3c]
push eax
call fcn.004cdbc0
add esp, 4
push 0x405
push dword [ebx + 4]
call esi
lea ecx, [ebx + 0x44]
push eax
call fcn.004cdbc0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10