Function at 0x56172c
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.00569de0
test al, al
je 0x561d71
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 0x561a3f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.0042c848
cmp al, 7
je 0x56180f
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dl, 7
call fcn.0042d76c
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.0052efd4
test al, al
je 0x56180f
test ebx, ebx
jl 0x56180f
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 0x561805
inc edx
xor eax, eax
lea ecx, [edi + eax*4]
mov ebx, dword [edi + eax*4]
cmp ebx, dword [0x589294]
je 0x561801
mov byte [ecx + 3], 0xff
inc eax
dec edx
jne 0x5617ef
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x5617d7
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.0042d8d4
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.00569b70
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.005592f0
mov eax, dword [eax + 0x7894]
pop edx
mov eax, dword [eax + 0x58]
xchg edx, eax
sub eax, edx
call fcn.005615c4
imul ebx, eax
mov dword [esp + 0x34], ebx
fild dword [esp + 0x34]
fstp xword [esp + 0x38]
wait
mov eax, esi
call fcn.00569b70
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fld xword [esp + 0x38]
call fcn.004034f8
fsub dword [0x561d7c]
fstp xword [esp + 0x48]
wait
mov eax, dword [esi + 0x244]
call fcn.005592f0
mov eax, dword [eax + 0x7894]
fild dword [eax + 0x58]
fld xword [esp + 0x48]
fsubrp st(1)
call fcn.00402ff4
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.00546060
mov ebp, eax
mov eax, esi
call fcn.00569b70
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.005592f0
mov eax, dword [eax + 0x7894]
pop edx
mov eax, dword [eax + 0x58]
xchg edx, eax
sub eax, edx
call fcn.005615c4
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.00546060
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.0042c848
cmp al, 7
jne 0x5619fd
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp ebp, eax
je 0x561948
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp ebx, eax
jne 0x5619b9
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
push eax
push 0x589270
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.00407090
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
call fcn.005462a4
lea edx, [esp + 0x74]
mov eax, dword [esi + 0x244]
mov ecx, dword [eax + 0x4c]
pop eax
call fcn.00537350
jmp 0x561d71
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.00407090
lea eax, [esp + 0x58]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c75c
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x10]
pop ecx
call fcn.0053027c
jmp 0x561d71
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.00407090
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c75c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.00427db0
jmp 0x561d71
lea eax, [esp + 0x24]
call fcn.0053a12c
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.0042c75c
call fcn.0042814c
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.0042c75c
call fcn.0042814c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [esi + 0x25c]
mov eax, dword [eax + 0x240]
call fcn.0042de64
test eax, eax
je 0x561afb
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.0042de64
push eax
push edi
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0042c75c
call fcn.0042814c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x561cc1
mov eax, dword [0x58dac8]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.0042de64
test eax, eax
je 0x561b89
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.00546060
push eax
push 0x7f
mov eax, dword [0x58dac8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SendMessageA
mov ebp, eax
test ebp, ebp
je 0x561cc1
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.0042c75c
call fcn.0042814c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x561cc1
mov dl, 1
mov eax, esi
call fcn.005620f0
mov edx, eax
sub edx, dword [esp + 0x28]
mov eax, 0x10
call fcn.0042ea00
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.00546060
mov ebp, eax
mov dl, 1
mov eax, esi
call fcn.005620f0
mov edx, eax
sub edx, dword [esp + 0x28]
mov eax, 0x10
call fcn.0042ea00
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.00546060
mov ebx, eax
cmp ebx, 0x10
jle 0x561c36
cmp dword [0x58eef0], 0
je 0x561c36
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x58eef0]
call fcn.0042de64
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.0042c75c
call fcn.0042814c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x561cc1
cmp dword [0x58eeec], 0
je 0x561c77
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x58eeec]
call fcn.0042de64
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.0042c75c
call fcn.0042814c
push eax
call sub.user32.dll_DrawIconEx
jmp 0x561cc1
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.0042c75c
call fcn.0042814c
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.0052efd4
test al, al
je 0x561d6a
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x4c]
call fcn.0052efd4
test al, al
je 0x561d6a
test ebx, ebx
jl 0x561d6a
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 0x561d60
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 0x561d57
mov byte [ecx + 3], 0xff
jmp 0x561d5c
mov ebx, dword [edi + eax*4]
mov dword [ecx], ebx
inc eax
dec edx
jne 0x561d41
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x561d18
mov eax, esp
call fcn.0040ef88
add esp, 0x74
pop ebp
pop edi
pop esi
pop ebx
ret