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

Disassembly:
push 0xffffffffffffffff
push 0x5bbda8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62ece4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0xac]
push ebp
lea ecx, [esp + 0x18]
call fcn.004dc050
cmp dword [ebp + 0x100], 5
jne 0x53eeb4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0xa8]
push 0x29
push 0x2b
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 8], ecx
push edi
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004f6c30
push 0x29
mov ecx, esi
call fcn.004f5b10
push eax
push ebp
push edi
mov ecx, esi
call fcn.00545aa0
jmp 0x53f6a4
mov eax, dword [esi]
mov edx, dword [eax + 0x124]
push ebp
mov ecx, esi
call edx
test eax, eax
je 0x53f05c
mov edi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
sub edi, dword [esp + 0x14]
push 0x10
call ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jle 0x53eeee
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x14]
jmp 0x53eef7
push 0x10
call ebx
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x100]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
cmp eax, 2
je 0x53ef2c
test eax, eax
je 0x53ef2c
cmp eax, 3
je 0x53ef2c
cmp eax, 1
jne 0x53efa3
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0047f1b7
test eax, eax
je 0x53efa3
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
call fcn.00485e9c
mov edi, dword [esp + 0x3c]
sub edi, dword [esp + 0x34]
push 0x10
call ebx
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jle 0x53ef7c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
jmp 0x53ef89
push 0x10
call ebx
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
add eax, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0xa8]
lea edx, [esp + 0x14]
push edx
push 1
lea eax, [esi + 0x474]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004dc990
mov ecx, eax
call fcn.004dcc90
cmp dword [ebp + 0x100], 4
jne 0x53f6a4
push 0x3d
mov ecx, esi
call fcn.004f5b10
mov esi, eax
push esi
push esi
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00486f8b
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push esi
push esi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00486f8b
mov edx, dword [edi + 4]
mov ebx, dword [sym.imp.GDI32.dll_SetPixel]
push esi
push 2
push 2
push edx
call ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
push esi
push 2
add eax, 0xfffffffe
push eax
push ecx
call ebx
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 4]
push esi
add edx, 0xfffffffe
push edx
push 2
push eax
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
push esi
add ecx, 0xfffffffe
push ecx
add edx, 0xfffffffe
push edx
push eax
call ebx
jmp 0x53f6a4
mov eax, dword [ebp + 0x100]
test eax, eax
je 0x53f48f
cmp eax, 1
je 0x53f48f
cmp eax, 2
je 0x53f2bf
cmp eax, 3
je 0x53f2bf
cmp eax, 4
jne 0x53f2aa
mov edx, dword [esi]
mov eax, dword [edx + 0x13c]
push ebp
mov ecx, esi
call eax
test eax, eax
je 0x53f2aa
push 0x1e
mov ecx, esi
call fcn.004f5b10
mov edi, dword [esp + 0xa8]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.00486bc4
push 0x3d
mov ecx, esi
call fcn.004f5b10
mov ebx, eax
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
mov ecx, edi
call fcn.00486f8b
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00486f8b
lea edx, [esi + 0x94]
push edx
push edi
lea ecx, [esp + 0x70]
call fcn.004dc120
push 1
push 0x604820
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
mov dword [esp + 0xac], 0
call fcn.00411dee
mov ecx, dword [esp + 0x28]
cmp ecx, 0xf
jge 0x53f133
mov ecx, 0xf
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edx, 0xfffffffe
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
lea ecx, [ecx + edx + 2]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x24]
add eax, 0xfffffffe
add edx, 2
mov dword [esp + 0x50], ecx
mov ecx, ebp
mov dword [esp + 0x48], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], 0
call fcn.00508d40
test eax, eax
jle 0x53f229
nop
mov edx, dword [esp + 0x44]
push edx
mov ecx, ebp
call fcn.00508d50
cmp dword [eax + 0x94], 0
mov dword [esp + 0x24], eax
je 0x53f214
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x78]
push 0
call eax
test eax, eax
je 0x53f214
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004f22c0
mov edx, dword [esp + 0x4c]
cmp dword [eax + 4], edx
jle 0x53f214
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x88]
push eax
call fcn.005080a0
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
push 0
mov dword [esp + 0x60], edx
push 0
lea edx, [esi + 0x494]
mov dword [esp + 0x6c], eax
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x5c]
push eax
push edi
mov dword [esp + 0x74], ecx
call fcn.004dc990
mov ecx, eax
call fcn.004dcc90
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
inc dword [esp + 0x44]
mov ecx, ebp
call fcn.00508d40
cmp dword [esp + 0x44], eax
jl 0x53f180
push 0
push 0
add esi, 0x494
push esi
lea edx, [esp + 0x54]
push edx
push edi
call fcn.004dc990
mov ecx, eax
call fcn.004dcc90
mov eax, dword [edi + 4]
push ebx
push 2
push 2
push eax
call dword [sym.imp.GDI32.dll_SetPixel]
mov ecx, dword [esp + 0x1c]
push ebx
add ecx, 0xfffffffe
push 2
push ecx
mov ecx, edi
call fcn.00475191
mov edx, dword [esp + 0x20]
push ebx
add edx, 0xfffffffe
push edx
push 2
mov ecx, edi
call fcn.00475191
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push ebx
add eax, 0xfffffffe
add ecx, 0xfffffffe
push eax
push ecx
mov ecx, edi
call fcn.00475191
lea ecx, [esp + 0x68]
mov dword [esp + 0xa0], 0xffffffff
call fcn.004dc1a0
jmp 0x53f6a4
mov edx, dword [esp + 0xa8]
push ebp
push edx
mov ecx, esi
call fcn.00545b90
jmp 0x53f6a4
push 0xf
mov ecx, esi
call fcn.004f5b10
mov edi, dword [esp + 0xa8]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00486bc4
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0047f1b7
mov ebx, eax
test ebx, ebx
je 0x53f3db
mov ecx, ebx
call fcn.00482c31
test eax, 0x4100
je 0x53f324
mov eax, dword [esi + 0x48c]
cmp eax, 0xffffffff
jne 0x53f315
mov eax, dword [esi + 0x488]
push eax
lea edx, [esp + 0x18]
push edx
mov ecx, edi
call fcn.00486bc4
jmp 0x53f394
push ebx
lea ecx, [esp + 0x28]
call fcn.004dbff0
lea eax, [esp + 0x24]
push eax
mov ecx, ebp
call fcn.00485e9c
mov ebx, dword [esp + 0x2c]
sub ebx, dword [esp + 0x24]
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x53f35d
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
jmp 0x53f36a
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x24]
add eax, ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x30], eax
push 1
lea eax, [esi + 0x474]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004dc990
mov ecx, eax
call fcn.004dcc90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [eax + 3]
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
mov ecx, edi
call fcn.00485a1f
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
sub esp, 0x10
mov eax, esp
inc ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
add edx, 3
dec ebx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
push edi
mov ecx, esi
call fcn.004db920
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push 1
push 1
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
push 0
mov dword [esp + 0x40], eax
push 1
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp + 0xfc]
inc eax
push 0xffffffffffffffff
mov dword [esp + 0x50], edx
mov dword [esp + 0x48], eax
call fcn.0050ce80
cmp eax, 0xffffffff
je 0x53f43d
mov ebp, dword [ebp + 0xfc]
lea edx, [esp + 0x68]
push edx
push eax
mov ecx, ebp
call fcn.005086f0
mov ecx, eax
call fcn.005080a0
mov eax, dword [esp + 0x70]
inc eax
mov dword [esp + 0x3c], eax
push 0
push 1
lea ecx, [esi + 0x494]
push ecx
lea edx, [esp + 0x40]
push edx
push edi
call fcn.004dc990
mov ecx, eax
call fcn.004dcc90
mov eax, dword [esi + 0x55c]
cmp eax, 0xffffffff
jne 0x53f46d
mov esi, dword [esi + 0x558]
jmp 0x53f46f
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub ecx, eax
push esi
sub ecx, 7
push ecx
push 1
add eax, 5
push eax
dec edx
push edx
jmp 0x53f694
push 0xf
mov ecx, esi
call fcn.004f5b10
mov edi, dword [esp + 0xa8]
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.00486bc4
mov ecx, dword [ebp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0047f1b7
test eax, eax
je 0x53f589
push eax
lea ecx, [esp + 0x38]
call fcn.004dbff0
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.00485e9c
mov ebx, dword [esp + 0x3c]
sub ebx, dword [esp + 0x34]
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cmp ebx, eax
jle 0x53f4fd
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
jmp 0x53f50a
push 0x10
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [esp + 0x34]
add eax, ecx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x40], eax
push 1
lea eax, [esi + 0x474]
push eax
lea ecx, [esp + 0x40]
push ecx
push edi
call fcn.004dc990
mov ecx, eax
call fcn.004dcc90
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 3]
push ecx
push edx
push eax
mov ecx, edi
call fcn.00485a1f
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
dec eax
sub esp, 0x10
add ecx, 3
mov dword [esp + 0x94], eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
inc edx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
push edi
mov ecx, esi
call fcn.004db920
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 1
push 1
push 0
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
push 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0xfc]
inc eax
push 0xffffffffffffffff
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
call fcn.0050ce80
cmp eax, 0xffffffff
je 0x53f60a
mov ebp, dword [ebp + 0xfc]
test eax, eax
jl 0x53f5df
cmp eax, dword [ebp + 0x2c]
jge 0x53f5df
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + eax*4]
jmp 0x53f5e1
xor eax, eax
mov edx, dword [eax + 0xb0]
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0xb8]
mov eax, dword [eax + 0xbc]
inc eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x30], eax
push 0
push 0
lea eax, [esi + 0x494]
push eax
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.004dc990
mov ecx, eax
call fcn.004dcc90
mov eax, dword [esi + 0x4ac]
cmp eax, 0xffffffff
jne 0x53f638
mov eax, dword [esi + 0x4a8]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x34]
sub edx, eax
sub edx, dword [esp + 0x1c]
lea edx, [edx + ecx - 2]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x34]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call fcn.00486e1b
mov eax, dword [esi + 0x55c]
cmp eax, 0xffffffff
jne 0x53f677
mov esi, dword [esi + 0x558]
jmp 0x53f679
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push esi
sub ecx, eax
push 1
sub ecx, 7
push ecx
dec edx
push edx
add eax, 5
push eax
mov ecx, edi
call fcn.00486e1b
push 0
mov ecx, edi
call fcn.00485e18
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 8