Function at 0x4a9c5a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56e938
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
push esi
mov esi, ecx
mov al, byte [esi + 0xc]
test al, al
je 0x4a9c6f
mov al, byte [esi + 0xd]
test al, al
je 0x4a9c6f
mov bl, 1
jmp 0x4a9c71
xor bl, bl
mov ebp, dword [esp + 0x84]
push ebp
mov ecx, esi
call fcn.00497f40
test al, al
je 0x4a9ebb
test bl, bl
je 0x4a9ebb
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edi
lea edx, [esp + 0x38]
push edx
call dword [eax + 0x28]
lea esi, [esp + 0x18]
mov edi, eax
call fcn.004368c0
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a9de3
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x4a9cf0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x4a9d04
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x78]
lea ecx, [eax + 0x78]
call dword [edx + 0x58]
mov eax, dword [ebp]
mov ebx, dword [eax + 0x64]
add ebx, 0x8c
mov dword [esp + 0x14], ebx
call fcn.00477810
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x80], edx
mov ecx, dword [ebx + 8]
mov ebp, dword [ecx]
cmp ebp, ecx
je 0x4a9dae
nop
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [esp + 0x58]
push eax
call dword [edx + 0x3c]
lea esi, [esp + 0x38]
mov edi, eax
call fcn.004368c0
mov eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
jl 0x4a9d98
cmp ecx, dword [esp + 0x30]
jg 0x4a9d98
cmp edx, dword [esp + 0x2c]
jl 0x4a9d98
cmp esi, dword [esp + 0x34]
jg 0x4a9d98
mov ecx, dword [ebp + 8]
lea eax, [esp + 0x10]
lea ebx, [esp + 0x18]
mov dword [esp + 0x10], ecx
call fcn.00477020
mov ebx, dword [esp + 0x14]
mov ebp, dword [ebp]
cmp ebp, dword [ebx + 8]
jne 0x4a9d40
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4a9dfa
mov eax, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x1c]
cmp ecx, eax
mov dword [esp + 0x20], edx
je 0x4a9dda
mov esi, dword [ecx]
push ecx
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [esp + 0x20]
add esp, 4
cmp esi, eax
mov ecx, esi
jne 0x4a9dc5
push eax
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
add esp, 0x74
ret 4
cmp eax, 1
jne 0x4a9e34
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov eax, dword [eax + 8]
test eax, eax
jne 0x4a9e10
xor ebx, ebx
jmp 0x4a9e1a
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
lea ebx, [edx + eax + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [esp + 0x88]
mov esi, dword [ecx]
jmp 0x4a9e78
mov edi, dword [esp + 0x88]
mov esi, dword [edi]
push 0
xor ebx, ebx
call fcn.0048b230
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
lea ecx, [eax + 0x78]
lea eax, [esp + 0x18]
push eax
call dword [edx + 0x60]
mov eax, dword [edi]
add eax, 0x78
je 0x4a9e67
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
lea ebx, [edx + eax + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 8]
lea ecx, [edx + eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov esi, dword [edi]
push eax
call fcn.0048b230
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov dword [esp + 0x20], 0
je 0x4a9eb5
lea ecx, [ecx]
mov esi, dword [eax]
push eax
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x20]
add esp, 4
cmp esi, ecx
mov eax, esi
jne 0x4a9ea0
push ecx
jmp 0x4a9ddb
mov ecx, dword [esp + 0x74]
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x74
ret 4