Function at 0x4f2bbc
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.004fb128
test al, al
je 0x4f320a
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 0x4f2ed2
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.0042733c
cmp al, 7
je 0x4f2ca1
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov dl, 7
call fcn.00428260
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.004cd7b4
test al, al
je 0x4f2ca1
test ebx, ebx
jl 0x4f2ca1
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 0x4f2c97
inc edx
xor eax, eax
lea ecx, [edi + eax*4]
mov ebx, dword [0x528610]
mov ebx, dword [ebx]
cmp ebx, dword [edi + eax*4]
je 0x4f2c93
mov byte [ecx + 3], 0xff
inc eax
dec edx
jne 0x4f2c7f
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x4f2c67
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.004283c8
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.004faeb4
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.004eb688
mov eax, dword [eax + 0x7894]
pop edx
mov eax, dword [eax + 0x58]
xchg edx, eax
sub eax, edx
call fcn.004f2a54
imul ebx, eax
mov dword [esp + 0x34], ebx
fild dword [esp + 0x34]
fstp xword [esp + 0x38]
wait
mov eax, esi
call fcn.004faeb4
mov dword [esp + 0x44], eax
fild dword [esp + 0x44]
fld xword [esp + 0x38]
call fcn.00402d54
fsub dword [0x4f3214]
fstp xword [esp + 0x48]
wait
mov eax, dword [esi + 0x244]
call fcn.004eb688
mov eax, dword [eax + 0x7894]
fild dword [eax + 0x58]
fld xword [esp + 0x48]
fsubrp st(1)
call fcn.00402b4c
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.00511630
mov ebp, eax
mov eax, esi
call fcn.004faeb4
sub eax, 2
push eax
mov eax, dword [esi + 0x244]
call fcn.004eb688
mov eax, dword [eax + 0x7894]
pop edx
mov eax, dword [eax + 0x58]
xchg edx, eax
sub eax, edx
call fcn.004f2a54
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.00511630
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
call fcn.0042733c
cmp al, 7
jne 0x4f2e90
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp ebp, eax
je 0x4f2dda
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp ebx, eax
jne 0x4f2e4c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [0x52845c]
push eax
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.004065a8
lea eax, [esp + 0x60]
push eax
lea edx, [esp + 0x74]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x10]
call fcn.005117f0
lea edx, [esp + 0x74]
mov eax, dword [esi + 0x244]
mov ecx, dword [eax + 0x50]
pop eax
call fcn.004d4858
jmp 0x4f320a
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.004065a8
lea eax, [esp + 0x58]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.00427250
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 0x10]
pop ecx
call fcn.004cdbec
jmp 0x4f320a
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.004065a8
lea eax, [esp + 0x54]
push eax
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.00427250
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.00422a48
jmp 0x4f320a
lea eax, [esp + 0x24]
call fcn.004d724c
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 + 0x50]
call fcn.00427250
call fcn.00422dc0
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.00427250
call fcn.00422dc0
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [esi + 0x25c]
mov eax, dword [eax + 0x240]
call fcn.00428958
test eax, eax
je 0x4f2f8e
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.00428958
push eax
push edi
push ebx
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.00427250
call fcn.00422dc0
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4f315a
mov eax, dword [0x5285b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.00428958
test eax, eax
je 0x4f301c
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.00511630
push eax
push 0x7f
mov eax, dword [0x5285b0]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SendMessageA
mov ebp, eax
test ebp, ebp
je 0x4f315a
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 + 0x50]
call fcn.00427250
call fcn.00422dc0
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4f315a
mov dl, 1
mov eax, esi
call fcn.004f358c
mov edx, eax
sub edx, dword [esp + 0x28]
mov eax, 0x10
call fcn.004294d8
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.00511630
mov ebp, eax
mov dl, 1
mov eax, esi
call fcn.004f358c
mov edx, eax
sub edx, dword [esp + 0x28]
mov eax, 0x10
call fcn.004294d8
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.00511630
mov ebx, eax
cmp ebx, 0x10
jle 0x4f30cc
mov eax, dword [0x52825c]
cmp dword [eax], 0
je 0x4f30cc
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x52825c]
mov eax, dword [eax]
call fcn.00428958
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 + 0x50]
call fcn.00427250
call fcn.00422dc0
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4f315a
mov eax, dword [0x528634]
cmp dword [eax], 0
je 0x4f3110
push 3
push 0
push 0
push ebx
push ebp
mov eax, dword [0x528634]
mov eax, dword [eax]
call fcn.00428958
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 + 0x50]
call fcn.00427250
call fcn.00422dc0
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4f315a
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 + 0x50]
call fcn.00427250
call fcn.00422dc0
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.004cd7b4
test al, al
je 0x4f3203
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x50]
call fcn.004cd7b4
test al, al
je 0x4f3203
test ebx, ebx
jl 0x4f3203
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 0x4f31f9
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 0x4f31f0
mov byte [ecx + 3], 0xff
jmp 0x4f31f5
mov ebx, dword [edi + eax*4]
mov dword [ecx], ebx
inc eax
dec edx
jne 0x4f31da
inc dword [esp + 0xc]
dec dword [esp + 0x20]
jne 0x4f31b1
mov eax, esp
call fcn.0040dcf0
add esp, 0x74
pop ebp
pop edi
pop esi
pop ebx
ret