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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff8c
mov esi, eax
mov eax, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
mov eax, esi
call fcn.00579760
test al, al
je 0x5716f1
push esi
add esi, 0x48
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x5713bf
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.0042c928
cmp al, 7
je 0x57118f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dl, 7
call fcn.0042d84c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
dec ebx
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.00533cdc
test al, al
je 0x57118f
test ebx, ebx
jl 0x57118f
inc ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x14]
imul edi, dword [esp + 0xc]
add edi, dword [esp + 4]
mov edx, dword [esp + 0x10]
test edx, edx
jl 0x571185
inc edx
xor eax, eax
lea ecx, [edi + eax*4]
mov ebx, dword [edi + eax*4]
cmp ebx, dword [0x59a334]
je 0x571181
mov byte [ecx + 3], 0xff
inc eax
dec edx
jne 0x57116f
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x571157
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, 0xff00ff
call fcn.0042d9b4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ebx, eax
mov eax, esi
call fcn.005794f0
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.00568c70
mov eax, dword [eax + 0x7894]
pop edx
mov eax, dword [eax + 0x58]
xchg edx, eax
sub eax, edx
call fcn.00570f44
imul ebx, eax
mov dword [esp + 0x34], ebx
fild dword [esp + 0x34]
fstp xword [esp + 0x38]
wait
mov eax, esi
call fcn.005794f0
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fld xword [esp + 0x38]
call fcn.0040352c
fsub dword [0x5716fc]
fstp xword [esp + 0x48]
wait
mov eax, dword [esi + 0x244]
call fcn.00568c70
mov eax, dword [eax + 0x7894]
fild dword [eax + 0x58]
fld xword [esp + 0x48]
fsubrp st(1)
call fcn.00403028
mov edx, eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 0
sete al
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 8]
call fcn.005559e0
mov ebp, eax
mov eax, esi
call fcn.005794f0
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.00568c70
mov eax, dword [eax + 0x7894]
pop edx
mov eax, dword [eax + 0x58]
xchg edx, eax
sub eax, edx
call fcn.00570f44
mov edx, eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 4], 0
sete al
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 4]
call fcn.005559e0
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.0042c928
cmp al, 7
jne 0x57137d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp ebp, eax
je 0x5712c8
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp ebx, eax
jne 0x571339
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
push eax
push 0x59a310
push 0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [esp + 0x30]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
add ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
call fcn.004070e4
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
call fcn.00555c24
lea edx, [esp + 0x74]
mov eax, dword [esi + 0x244]
mov ecx, dword [eax + 0x4c]
pop eax
call fcn.0053c058
jmp 0x5716f1
push 0
add ebx, dword [esp + 0x2c]
push ebx
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [esp + 0x30]
add ecx, ebp
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
call fcn.004070e4
lea eax, [esp + 0x58]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x10]
pop ecx
call fcn.00534f84
jmp 0x5716f1
add ebx, dword [esp + 0x28]
push ebx
lea eax, [esp + 0x58]
push eax
mov ecx, dword [esp + 0x2c]
add ecx, ebp
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
call fcn.004070e4
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.00427e90
jmp 0x5716f1
lea eax, [esp + 0x24]
call fcn.0053ee34
mov dword [esp], eax
push 0xcc0020
mov edi, dword [esp + 0x2c]
push edi
mov ebx, dword [esp + 0x2c]
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
call fcn.0042822c
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [esp + 0x20]
call fcn.0042c83c
call fcn.0042822c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [esi + 0x25c]
mov eax, dword [eax + 0x240]
call fcn.0042df44
test eax, eax
je 0x57147b
push 3
push 0
push 0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [esi + 0x25c]
mov eax, dword [eax + 0x240]
call fcn.0042df44
push eax
push edi
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
call fcn.0042822c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x571641
mov eax, dword [0x59eb58]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.0042df44
test eax, eax
je 0x571509
push 0
mov eax, dword [esp + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, 0x10
setg al
mov ecx, 2
mov edx, 1
call fcn.005559e0
push eax
push 0x7f
mov eax, dword [0x59eb58]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SendMessageA
mov ebp, eax
test ebp, ebp
je 0x571641
push 3
push 0
push 0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push ebp
push edi
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
call fcn.0042822c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x571641
mov dl, 1
mov eax, esi
call fcn.00571a70
mov edx, eax
sub edx, dword [esp + 0x28]
mov eax, 0x10
call fcn.0042eae0
mov edx, eax
mov eax, dword [esi + 0x78]
cmp dword [eax + 8], 0
sete al
mov ecx, dword [esi + 0x78]
mov ecx, dword [ecx + 8]
call fcn.005559e0
mov ebp, eax
mov dl, 1
mov eax, esi
call fcn.00571a70
mov edx, eax
sub edx, dword [esp + 0x28]
mov eax, 0x10
call fcn.0042eae0
mov edx, eax
mov eax, dword [esi + 0x78]
cmp dword [eax + 4], 0
sete al
mov ecx, dword [esi + 0x78]
mov ecx, dword [ecx + 4]
call fcn.005559e0
mov ebx, eax
cmp ebx, 0x10
jle 0x5715b6
cmp dword [0x5a2148], 0
je 0x5715b6
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x5a2148]
call fcn.0042df44
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
call fcn.0042822c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x571641
cmp dword [0x5a2144], 0
je 0x5715f7
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x5a2144]
call fcn.0042df44
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
call fcn.0042822c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x571641
push 3
push 0
push 0
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c83c
call fcn.0042822c
push eax
call sub.user32.dll_DrawIconEx
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ebx, eax
dec ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 4]
mov eax, dword [esp]
call fcn.00533cdc
test al, al
je 0x5716ea
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.00533cdc
test al, al
je 0x5716ea
test ebx, ebx
jl 0x5716ea
inc ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc], 0
mov edi, dword [esp + 0x14]
imul edi, dword [esp + 0xc]
add edi, dword [esp + 4]
mov esi, dword [esp + 0xc]
add esi, dword [esp + 0x28]
imul esi, dword [esp + 0x18]
add esi, dword [esp + 8]
mov edx, dword [esp + 0x10]
test edx, edx
jl 0x5716e0
inc edx
xor eax, eax
mov ecx, dword [esp + 0x24]
add ecx, eax
lea ecx, [esi + ecx*4]
mov ebx, dword [edi + eax*4]
cmp ebx, dword [ecx]
je 0x5716d7
mov byte [ecx + 3], 0xff
jmp 0x5716dc
mov ebx, dword [edi + eax*4]
mov dword [ecx], ebx
inc eax
dec edx
jne 0x5716c1
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x571698
mov eax, esp
call fcn.0040f048
add esp, 0x74
pop ebp
pop edi
pop esi
pop ebx
ret