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

Disassembly:
push 0xffffffffffffffff
push 0x61657c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x6e163c]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6e163c]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x160]
test eax, eax
je 0x593dd7
mov ecx, dword [eax + 8]
cmp dword [ecx + 0xc], 3
je 0x593dde
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x593dc7
xor al, al
jmp 0x5941d7
mov eax, dword [esi]
mov eax, dword [eax + 0x21c]
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x44]
push edx
mov ecx, esi
call eax
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.00528cd0
add esp, 8
push esi
lea ecx, [esp + 0xa4]
call fcn.005557d0
lea eax, [esp + 0x68]
push eax
mov ecx, esi
mov dword [esp + 0x1c4], 0
call fcn.005587d0
push 0x64
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1c8], 1
call fcn.005621b0
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1c4], 2
call fcn.0055e910
lea ecx, [esp + 0x44]
mov byte [esp + 0x1c0], 1
call fcn.005429d0
lea ecx, [esp + 0x68]
mov byte [esp + 0x1c0], 0
call fcn.005429d0
push 0x20
call fcn.00548f60
add esp, 4
push eax
lea ecx, [esp + 0xa4]
call fcn.0055cb70
mov eax, dword [esi + 0x114]
push 0
lea ecx, [esp + 0x80]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x593ec8
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00555330
xor al, al
jmp 0x5941d7
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x88]
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x84]
sub eax, edx
push eax
sub ecx, edi
push ecx
push edx
mov edx, dword [esp + 0xac]
mov eax, dword [edx + 0x130]
push edi
lea ecx, [esp + 0xb0]
call eax
mov ecx, dword [esp + 0x1cc]
mov edx, dword [esp + 0x1c8]
push ecx
push edx
push 0xf
mov ecx, esi
call fcn.00552330
mov eax, dword [esi + 0x160]
mov dword [esp + 0x18], eax
test eax, eax
je 0x5941be
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 8]
cmp dword [eax + 0xc], 3
jne 0x5941ab
mov ebx, dword [eax + 0x18]
mov edx, dword [ebx]
mov edx, dword [edx + 0x210]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [ebx]
mov eax, dword [eax + 0x218]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, ebx
call eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x64]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
mov dword [esp + 0x9c], eax
mov eax, dword [esi + 0x114]
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x64]
push 0x418
push eax
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa8], ecx
call edi
xor ebp, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], ebp
test eax, eax
jle 0x5941ab
jmp 0x593fc8
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x114]
lea edx, [esp + 0x1a0]
push edx
push ebp
push 0x417
push eax
call edi
test eax, eax
je 0x59419c
cmp byte [esp + 0x1a9], 1
jne 0x59419c
mov eax, dword [esi + 0x114]
lea ecx, [esp + 0x20]
push ecx
push ebp
push 0x41d
push eax
call edi
test eax, eax
je 0x59419c
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub eax, edx
sub ecx, edi
mov dword [esp + 0x34], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x38], ecx
push edx
lea ecx, [esp + 0x90]
mov dword [esp + 0x34], edi
mov dword [esp + 0x40], eax
call fcn.00548af0
test al, al
je 0x59419c
mov al, byte [esi + 0xc8]
shr al, 4
and al, 1
mov byte [esp + 0x17], 0
jne 0x594070
mov ecx, dword [esi + 0x2c]
test byte [ecx + 0xc8], 0x10
je 0x59415c
test al, al
jne 0x59415c
cmp dword [esp + 0x54], 6
jl 0x59415c
call fcn.00581a80
mov ebp, eax
test ebp, ebp
je 0x594158
mov eax, dword [ebp + 0x94]
call eax
test eax, eax
je 0x594158
mov ecx, dword [ebp + 0x90]
call ecx
test eax, eax
je 0x594158
call fcn.00581a80
test eax, eax
je 0x5940cf
mov ecx, dword [esi + 0x114]
mov edx, dword [eax]
push str.REBAR
push ecx
call edx
mov edi, eax
jmp 0x5940d1
xor edi, edi
mov dword [esp + 0x60], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x78], eax
xor eax, eax
lea edx, [esp + 0x24]
push edx
push eax
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x198]
mov ecx, dword [ebp + 8]
push eax
push edi
mov byte [esp + 0x1d8], 3
call ecx
test eax, eax
jne 0x59413a
mov byte [esp + 0x17], 1
mov byte [esp + 0x1c0], 0
test edi, edi
je 0x594151
call fcn.00581a80
mov edx, dword [eax + 4]
push edi
call edx
cmp byte [esp + 0x17], 0
jne 0x594188
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
mov edx, dword [esp + 0xac]
push eax
mov eax, dword [edx + 0xf0]
lea ecx, [esp + 0xb0]
call eax
jmp 0x59418c
mov ebp, dword [esp + 0x1c]
mov edx, dword [ebx]
mov eax, dword [edx + 0x118]
push 0
push 0
mov ecx, ebx
call eax
inc ebp
cmp ebp, dword [esp + 0x44]
mov dword [esp + 0x1c], ebp
jl 0x593fc2
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
test eax, eax
jne 0x593f2a
lea ecx, [esp + 0xa0]
mov dword [esp + 0x1c0], 0xffffffff
call fcn.00555330
mov al, 1
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
xor ecx, esp
call fcn.005b8641
add esp, 0x1b0
ret 8