Function at 0x4738d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d4740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov edx, dword [esp + 0x40]
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
mov ebx, ecx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x60]
push ecx
push ebp
push edx
mov ecx, ebx
call fcn.00472830
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
push eax
push edi
mov ecx, esi
call fcn.0049b483
mov ecx, dword [edi + 8]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0xc]
add eax, 9
mov dword [esp + 0x30], eax
sub ecx, 1
sub eax, edx
add eax, ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
call fcn.00498bc2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x473961
push 0x80004005
call fcn.004015a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x50]
push ebp
push ecx
lea edx, [esp + 0x58]
push edx
mov ecx, ebx
mov dword [esp + 0x54], 0
call fcn.0049a596
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], 1
call fcn.00402bd0
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4739bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x54]
cmp dword [ecx - 0xc], 0
jne 0x4739fc
mov ecx, dword [edi]
mov eax, dword [edi + 8]
sub eax, ecx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
sar ecx, 1
cdq
sub eax, edx
sar eax, 1
sub ecx, eax
mov eax, dword [edi]
lea eax, [ecx + eax - 1]
mov dword [esp + 0x30], eax
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x38], eax
mov edx, dword [ebx + 0x124]
push edx
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.0049b483
mov edx, dword [esi + 4]
add dword [esp + 0x30], 1
push 0xf
push 0xa
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawEdge]
lea eax, [ebp + ebp*8]
mov ebp, dword [esp + 0x68]
cmp dword [ebp + eax*8 + 0x40], 1
jne 0x473b30
mov ecx, dword [ebx + 0x118]
push ecx
push 1
push 0
lea ecx, [esp + 0x24]
call fcn.00492c83
push 0
push 1
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 2
call fcn.00492c83
cmp dword [ebp], 0
mov byte [esp + 0x48], 3
mov ecx, esi
je 0x473a76
lea edx, [esp + 0x10]
push edx
jmp 0x473a7b
lea eax, [esp + 0x18]
push eax
call fcn.00492bc7
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
add ebp, 9
mov dword [esp + 0x64], eax
add ebx, 3
mov dword [esp + 0x50], 4
lea ebx, [ebx]
push ebx
push ebp
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00492531
lea edx, [ebx + 3]
push edx
push ebp
mov ecx, esi
call fcn.004921d9
sub ebp, 1
add ebx, 1
sub dword [esp + 0x50], 1
jne 0x473aa0
mov dword [esp + 0x50], 3
nop
push ebx
push ebp
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.00492531
lea ecx, [ebx + 3]
push ecx
push ebp
mov ecx, esi
call fcn.004921d9
sub ebp, 1
sub ebx, 1
sub dword [esp + 0x50], 1
jne 0x473ad0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x473b07
push eax
mov ecx, esi
call fcn.00492bc7
mov ebx, vtable.CPen.0
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 2
mov dword [esp + 0x10], ebx
call fcn.00402cb0
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
mov dword [esp + 0x18], ebx
call fcn.00402cb0
mov ebx, dword [esp + 0x54]
cmp dword [ebx - 0xc], 0
je 0x473b9a
push 1
mov ecx, esi
call fcn.0049213e
mov edx, dword [esi]
mov eax, dword [esp + 0x5c]
mov edx, dword [edx + 0x30]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x60]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
add ecx, 4
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x20], ecx
push 0x24
mov dword [esp + 0x2c], edx
mov edx, dword [esi]
mov edx, dword [edx + 0x68]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebx - 0xc]
push eax
push ebx
mov ecx, esi
call edx
lea eax, [ebx - 0x10]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473bbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x1c