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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x2c
call fcn.00492450
mov ecx, esi
mov edx, 8
mov dword [ebp - 0x18], eax
mov dword [esp], 0
call fcn.004af180
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4b02b8
mov dword [esp + 4], 0x1e0
xor edx, edx
xor ecx, ecx
mov dword [esp], 0x280
mov edi, dword [ebp - 0x14]
mov eax, edi
call fcn.004935b0
mov ebx, eax
mov eax, dword [edi]
mov dword [esp + 4], ebx
mov dword [ebp - 0x14], edi
mov dword [esp], edi
call dword [eax + 0x30]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x848
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0x571c8b
call fcn.00493590
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 7
call dword [eax + 0x58]
sub esp, 0xc
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x84b
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0x571c8b
call fcn.00493590
mov eax, dword [ebx]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xffff0000
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0x557490
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [eax + 0x50]
sub esp, 0x1c
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x84e
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0x571c8b
call fcn.00493590
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
mov dword [esp + 4], edx
mov dword [esp], ecx
call dword [eax + 0x3c]
sub esp, 8
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x851
xor eax, eax
test edi, edi
sete al
mov dword [esp + 8], edi
mov dword [esp], eax
mov dword [esp + 4], 0x571c8b
call fcn.00493590
mov eax, dword [ebp - 0x10]
mov ecx, 0x3c
mov edx, 0x50
call fcn.00493840
mov edi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x855
cmp edi, 0xff0000
je 0x4b0290
test edi, edi
jne 0x4b00e0
cmp esi, 0x55db00
je 0x4b00e0
mov dword [esp + 8], 0
xor eax, eax
mov dword [esp + 4], 0x575e08
mov edx, dword [0x628750]
test edx, edx
sete al
mov dword [esp], eax
call fcn.00493590
mov eax, dword [ebp - 0x10]
mov edx, 0xffff0000
call fcn.00493730
mov eax, dword [ebp - 0x10]
mov ecx, 0x3c
mov edx, 0x50
call fcn.00493840
mov esi, eax
mov eax, 0x85c
call fcn.00492d60
xor eax, eax
cmp esi, 0xff0000
mov dword [esp + 8], esi
sete al
mov dword [esp + 4], 0x575e08
mov dword [esp], eax
call fcn.00493590
jmp 0x4b00fc
mov dword [esp + 8], edi
mov dword [esp + 4], 0x575e08
mov dword [esp], 0
call fcn.00493590
test edi, edi
je 0x4b008f
mov edi, dword [ebp - 0x14]
mov eax, dword [edi]
mov dword [esp], edi
call dword [eax + 0x24]
sub esp, 4
mov esi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x860
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], 0x571c8b
call fcn.00493590
mov eax, dword [edi]
mov dword [esp], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x557440
mov dword [esp + 8], 0x44
mov dword [esp + 4], 5
call dword [eax + 0x70]
sub esp, 0x18
mov esi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x862
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], 0x571c8b
call fcn.00493590
mov eax, dword [edi]
mov dword [esp], edi
mov edi, 0x3c
call dword [eax + 0x28]
sub esp, 4
mov esi, eax
call fcn.0054f6e0
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x864
xor eax, eax
test esi, esi
sete al
mov dword [esp + 8], esi
mov dword [esp + 4], 0x571c8b
mov dword [esp], eax
call fcn.00493590
mov dword [ebp - 0x1c], ebx
mov ebx, edi
mov esi, 0x50
mov eax, dword [ebp - 0x10]
mov edx, esi
mov ecx, ebx
call fcn.00493840
mov edi, eax
call fcn.0054f6e0
mov ecx, 1
mov edx, 0xff00
mov dword [eax], 0x571ae8
mov dword [eax + 4], 0x86d
mov eax, edi
call fcn.00492120
mov dword [esp + 8], esi
add esi, 0xa0
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
mov dword [esp + 4], 0x575e28
mov dword [esp], eax
call fcn.00493590
cmp esi, 0x2d0
jne 0x4b01e4
add ebx, 0x78
cmp ebx, 0x21c
jne 0x4b01df
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov edx, ebx
mov ebx, dword [ebp - 0x14]
sub esp, 4
mov eax, ebx
call fcn.00493950
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 8]
mov eax, dword [ebp - 0x18]
sub esp, 4
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0xff0000
mov dword [esp + 4], 0x575e08
mov dword [esp], 1
call fcn.00493590
jmp 0x4b00fc
mov eax, 0x841
call fcn.00492d60
mov dword [esp], 0x575da4
call fcn.00492ff0
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call dword [sym.imp.user32.dll_DestroyWindow]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret