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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov ebx, eax
mov eax, ebx
call fcn.00505dec
test al, al
je 0x4fdb15
lea esi, [ebx + 0x48]
lea edi, [esp + 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x4fd810
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
call fcn.0042bce8
cmp al, 7
je 0x4fd644
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov dl, 7
call fcn.0042cc0c
lea ecx, [esp + 0x10]
lea edx, [esp + 4]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
call fcn.0051cd24
test al, al
je 0x4fd644
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x4fd644
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x10]
imul esi, dword [esp + 0xc]
add esi, dword [esp + 4]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
dec edx
test edx, edx
jl 0x4fd63a
inc edx
xor eax, eax
lea edi, [esi + eax*4]
mov ecx, dword [esi + eax*4]
cmp ecx, dword [0x54798c]
je 0x4fd636
mov byte [edi + 3], 0xff
inc eax
dec edx
jne 0x4fd624
inc dword [esp + 0xc]
dec dword [esp + 0x18]
jne 0x4fd602
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, 0xff00ff
call fcn.0042cd74
mov esi, dword [ebx + 0x78]
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edi, eax
mov eax, ebx
call fcn.00505b64
sub eax, 2
call fcn.004fd448
imul edi, eax
mov dword [esp + 0x2c], edi
fild dword [esp + 0x2c]
fstp xword [esp + 0x30]
wait
mov eax, ebx
call fcn.00505b64
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
fld xword [esp + 0x30]
call fcn.00402e68
fsub dword [0x4fdb20]
call fcn.00402c24
mov edx, eax
cmp dword [esi + 8], 0
sete al
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + 8]
call fcn.0051bd34
mov edi, eax
mov eax, ebx
call fcn.00505b64
sub eax, 2
call fcn.004fd448
mov edx, eax
mov eax, dword [ebx + 0x78]
cmp dword [eax + 4], 0
sete al
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + 4]
call fcn.0051bd34
mov esi, eax
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
call fcn.0042bce8
cmp al, 7
jne 0x4fd7cf
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp edi, eax
je 0x4fd71f
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp esi, eax
jne 0x4fd78c
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
push eax
push 0x547968
push 0
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [esp + 0x28]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
call fcn.004067a4
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x60]
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x10]
call fcn.0051be8c
lea edx, [esp + 0x60]
mov eax, dword [ebx + 0x260]
mov ecx, dword [eax + 0x48]
pop eax
call fcn.00523a0c
jmp 0x4fdb15
push 0
add esi, dword [esp + 0x24]
push esi
lea eax, [esp + 0x48]
push eax
mov ebp, dword [esp + 0x28]
mov ecx, ebp
add ecx, edi
mov edx, dword [esp + 0x2c]
mov eax, ebp
call fcn.004067a4
lea eax, [esp + 0x44]
push eax
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x10]
pop ecx
call fcn.0051d09c
jmp 0x4fdb15
add esi, dword [esp + 0x20]
push esi
lea eax, [esp + 0x44]
push eax
mov ebp, dword [esp + 0x24]
mov ecx, ebp
add ecx, edi
mov edx, dword [esp + 0x28]
mov eax, ebp
call fcn.004067a4
lea eax, [esp + 0x40]
push eax
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
mov edx, dword [ebx + 0x78]
mov ecx, dword [edx + 0x10]
pop edx
call fcn.00426d08
jmp 0x4fdb15
lea eax, [esp + 0x1c]
call fcn.005265a4
mov dword [esp], eax
push 0xcc0020
mov edi, dword [esp + 0x24]
push edi
mov esi, dword [esp + 0x24]
push esi
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
call fcn.00427080
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.0042bbfc
call fcn.00427080
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebx + 0x274]
mov eax, dword [eax + 0x240]
call fcn.0042d35c
test eax, eax
je 0x4fd8c8
push 3
push 0
push 0
mov eax, ebx
call fcn.004fd54c
push eax
mov eax, ebx
call fcn.004fd4c8
push eax
mov eax, dword [ebx + 0x274]
mov eax, dword [eax + 0x240]
call fcn.0042d35c
push eax
push edi
push esi
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4fda69
mov eax, dword [0x548380]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.0042d35c
test eax, eax
je 0x4fd935
push 0
push 2
push 0x7f
mov eax, dword [0x548380]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_SendMessageA
mov ebp, eax
test ebp, ebp
je 0x4fda69
push 3
push 0
push 0
mov eax, ebx
call fcn.004fd54c
push eax
mov eax, ebx
call fcn.004fd4c8
push eax
push ebp
push edi
push esi
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4fda69
mov dl, 1
mov eax, ebx
call fcn.004fdec4
mov edx, eax
sub edx, dword [esp + 0x20]
mov eax, 0x10
call fcn.0042dedc
mov edx, eax
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
sete al
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + 8]
call fcn.0051bd34
mov edi, eax
mov dl, 1
mov eax, ebx
call fcn.004fdec4
mov edx, eax
sub edx, dword [esp + 0x20]
mov eax, 0x10
call fcn.0042dedc
mov edx, eax
mov eax, dword [ebx + 0x78]
cmp dword [eax + 4], 0
sete al
mov ecx, dword [ebx + 0x78]
mov ecx, dword [ecx + 4]
call fcn.0051bd34
mov esi, eax
cmp esi, 0x10
jle 0x4fd9e2
cmp dword [0x54b38c], 0
je 0x4fd9e2
push 3
push 0
push 0
push esi
push edi
mov eax, dword [0x54b38c]
call fcn.0042d35c
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4fda69
cmp dword [0x54b388], 0
je 0x4fda23
push 3
push 0
push 0
push esi
push edi
mov eax, dword [0x54b388]
call fcn.0042d35c
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.user32.dll_DrawIconEx
jmp 0x4fda69
push 3
push 0
push 0
mov eax, ebx
call fcn.004fd54c
push eax
mov eax, ebx
call fcn.004fd4c8
push eax
push 0x7f00
push 0
call sub.user32.dll_LoadIconA
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.user32.dll_DrawIconEx
lea ecx, [esp + 0x10]
lea edx, [esp + 4]
mov eax, dword [esp]
call fcn.0051cd24
test al, al
je 0x4fdb0e
lea ecx, [esp + 0x14]
lea edx, [esp + 8]
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.0051cd24
test al, al
je 0x4fdb0e
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x4fdb0e
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], 0
mov esi, dword [esp + 0x10]
imul esi, dword [esp + 0xc]
add esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
add edi, dword [esp + 0x20]
imul edi, dword [esp + 0x14]
add edi, dword [esp + 8]
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
dec edx
test edx, edx
jl 0x4fdb04
inc edx
xor eax, eax
mov ecx, dword [esp + 0x1c]
add ecx, eax
lea ecx, [edi + ecx*4]
mov ebx, dword [esi + eax*4]
cmp ebx, dword [ecx]
je 0x4fdafb
mov byte [ecx + 3], 0xff
jmp 0x4fdb00
mov ebx, dword [esi + eax*4]
mov dword [ecx], ebx
inc eax
dec edx
jne 0x4fdae5
inc dword [esp + 0xc]
dec dword [esp + 0x18]
jne 0x4fdab5
mov eax, esp
call fcn.0040e634
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret