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

Disassembly:
mov eax, dword [ecx + 0x6c]
cmp eax, 1
jne 0x4edd6d
jmp 0x4ee130
test eax, eax
jne 0x4edd76
jmp 0x4edd90
cmp eax, 2
jne 0x4edd80
jmp 0x4ee720
ret
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x615baa
push eax
mov dword fs:[0], esp
sub esp, 0x60
lea eax, [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.004ee470
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x60]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp eax, 4
ja case.0x4eddd7.1
jmp dword [eax*4 + 0x4ee0f8]
mov eax, dword [esp + 0x30]
sub eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, edi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
add ecx, ebx
add eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ede5e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax]
lea eax, [edx + edx]
sub ecx, ebx
sub eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ede5e
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
sub ecx, edx
sub eax, ebp
add ecx, ebx
add eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ede5e
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
add ecx, ebx
add eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ede5e
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
lea eax, [esp + 0x54]
push eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004ee5e0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [0x6a20f0]
mov dword [esp + 0x30], edx
lea ecx, [eax + 0x2b28]
call fcn.0042bdd0
push 0x4b90
mov dword [esi + 0x7c], eax
call fcn.005eb722
add esp, 4
mov dword [esp + 0x14], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x78], edi
je 0x4edecc
mov ecx, eax
call fcn.004e89c0
jmp 0x4edece
xor eax, eax
mov dword [esi + 0x3c], eax
mov dword [eax + 0x5c], edi
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x78], 0xffffffff
mov dword [ecx + 0x70], edi
mov edx, dword [esi + 0x3c]
mov dword [edx + 0x44], edi
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x48], edi
mov ecx, dword [esi + 0x3c]
mov dword [ecx + 0x4c], edi
mov ecx, dword [esi + 0x3c]
add ecx, 0x68
call fcn.005eb96c
mov edx, dword [esi + 0x3c]
mov dword [edx + 0x60], edi
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x54]
mov dword [eax + 0x50], ecx
mov eax, dword [esi + 0x60]
cmp eax, 3
jne 0x4edf1e
mov edx, dword [esi + 0x3c]
mov dword [edx + 0x40], edi
jmp 0x4edf24
mov eax, dword [esi + 0x3c]
mov dword [eax + 0x40], edi
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x3c]
push edi
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x2c]
push esi
push eax
push 0x52000000
push str.VideoWindow
push edi
call dword [edx + 0x54]
test eax, eax
je 0x4ee0d2
mov ecx, dword [esi + 0x3c]
push edi
call fcn.004ead10
push ecx
lea edx, [esi + 0x64]
mov ebx, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005eb756
push ebx
call fcn.00477930
mov ecx, dword [esi + 0x3c]
add esp, 8
call fcn.004ea7f0
mov ecx, dword [esi + 0x3c]
push 1
call fcn.005ef2fa
push 5
mov ecx, esi
call fcn.005ef2fa
mov ecx, esi
call fcn.004ee660
mov ecx, dword [esi + 0x3c]
call fcn.004eac00
mov ecx, dword [esi + 0x3c]
call fcn.005ef363
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
call fcn.005e82e8
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ee09d
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + 0xb4], edi
jne 0x4ee09d
cmp ebx, edi
jne 0x4ee09d
push 1
push edi
push edi
lea edx, [esp + 0x60]
push edi
push edx
call ebp
test eax, eax
jle 0x4ee026
mov eax, dword [esp + 0x58]
cmp eax, 0x201
je 0x4ee00f
cmp eax, 0x100
je 0x4ee00f
lea eax, [esp + 0x54]
push eax
jmp 0x4ee020
cmp dword [esi + 0x58], edi
je 0x4ee01b
mov ebx, 1
jmp 0x4ee026
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi + 0x88], edi
je 0x4ee088
lea edx, [esp + 0x18]
push edx
call fcn.005e82e8
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, esp
lea edx, [esp + 0x24]
mov dword [esp + 0x20], esp
push edx
mov dword [eax], ecx
lea ecx, [esp + 0x1c]
call fcn.00413560
mov ecx, dword [eax]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x8c]
shl edx, 2
sub ecx, edx
cmp ecx, eax
jle 0x4ee088
mov ebx, 1
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4edfcc
mov eax, dword [esi + 0x3c]
cmp eax, edi
je 0x4ee0d2
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ee0d2
mov eax, dword [esi + 0x7c]
mov ecx, dword [0x6a20f0]
push eax
add ecx, 0x2b28
call fcn.0042be10
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x7c], edi
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [esi + 0x3c]
cmp ecx, edi
je 0x4ee0e0
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x3c], edi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x615bd2
push eax
mov dword fs:[0], esp
sub esp, 0x60
lea eax, [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.004ee470
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x60]
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
cmp eax, 4
ja case.0x4ee177.1
jmp dword [eax*4 + 0x4ee454]
mov eax, dword [esp + 0x30]
sub eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, edi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
add ecx, ebx
add eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ee1fe
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax]
lea eax, [edx + edx]
sub ecx, ebx
sub eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ee1fe
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
sub ecx, edx
sub eax, ebp
add ecx, ebx
add eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ee1fe
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
add ecx, ebx
add eax, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
jmp 0x4ee1fe
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
lea eax, [esp + 0x54]
push eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004ee5e0
mov ecx, dword [eax]
push 0x3c
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x30], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x7c], 0x3e7
mov dword [esp + 0x34], edx
call fcn.005eb722
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x78], ebx
je 0x4ee267
mov ecx, edi
call fcn.005ec0e0
mov dword [edi], vtable.CShockwaveFlash.0
mov ecx, edi
jmp 0x4ee269
xor ecx, ecx
mov eax, dword [esi + 0x7c]
push ebx
push ebx
push ebx
push eax
lea eax, [esp + 0x34]
push esi
push eax
push 0x52000000
or edi, 0xffffffff
push str.FlashWindow
push 0x61e5d8
mov dword [esp + 0x9c], edi
mov dword [esi + 0x40], ecx
call fcn.005c7845
test eax, eax
je 0x4ee42e
push ecx
lea edx, [esi + 0x64]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.005eb756
lea eax, [esp + 0x14]
push eax
call fcn.00477930
add esp, 8
mov eax, dword [eax]
mov ecx, dword [esi + 0x40]
push eax
mov dword [esp + 0x7c], 1
call fcn.00476c20
lea ecx, [esp + 0x10]
mov dword [esp + 0x78], edi
call fcn.005eb9e1
mov ecx, dword [esi + 0x40]
push str.high
call fcn.00476d40
push 5
mov ecx, esi
call fcn.005ef2fa
mov ecx, esi
call fcn.004ee660
mov ecx, dword [esi + 0x40]
call fcn.00476c40
mov ecx, dword [esi + 0x40]
call fcn.005ef363
lea ecx, [esp + 0x14]
xor edi, edi
push ecx
mov dword [esi + 0x84], ebx
call fcn.005e82e8
mov edx, dword [esi + 0x40]
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
mov eax, dword [edx + 0x1c]
push eax
call ebp
test eax, eax
je 0x4ee3fd
cmp dword [esi + 0x84], ebx
jne 0x4ee3fd
cmp edi, ebx
jne 0x4ee3fd
push 1
push ebx
push ebx
lea ecx, [esp + 0x60]
push ebx
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jle 0x4ee38a
mov eax, dword [esp + 0x58]
cmp eax, 0x201
je 0x4ee373
cmp eax, 0x100
je 0x4ee373
lea edx, [esp + 0x54]
push edx
jmp 0x4ee384
cmp dword [esi + 0x58], ebx
je 0x4ee37f
mov edi, 1
jmp 0x4ee38a
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi + 0x88], ebx
je 0x4ee3ec
lea ecx, [esp + 0x10]
push ecx
call fcn.005e82e8
mov edx, dword [eax]
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x24]
mov dword [esp + 0x20], esp
mov dword [eax], ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00413560
mov ecx, dword [eax]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x8c]
shl edx, 2
sub ecx, edx
cmp ecx, eax
jle 0x4ee3ec
mov edi, 1
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x1c]
push ecx
call ebp
test eax, eax
jne 0x4ee332
mov eax, dword [esi + 0x40]
cmp eax, ebx
je 0x4ee42e
mov edx, dword [eax + 0x1c]
push edx
call ebp
test eax, eax
je 0x4ee42e
mov eax, dword [esi + 0x7c]
mov ecx, dword [0x6a20f0]
push eax
add ecx, 0x2b28
call fcn.0042be10
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x7c], ebx
mov edx, dword [ecx]
call dword [edx + 0x58]
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x4ee43c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov ecx, dword [esp + 0x70]
mov dword [esi + 0x40], ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x615c57
push eax
mov dword fs:[0], esp
sub esp, 0x530
lea eax, [esp]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
call fcn.004ee470
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x60]
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
cmp eax, 4
ja case.0x4ee76a.1
jmp dword [eax*4 + 0x4eea44]
mov eax, dword [esp + 0x1c]
sub eax, ebx
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
sub eax, edi
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
add ecx, ebx
add eax, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x4ee7f1
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax]
lea eax, [edx + edx]
sub ecx, ebx
sub eax, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x4ee7f1
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
sub ecx, edx
sub eax, ebp
add ecx, ebx
add eax, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x4ee7f1
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
add ecx, ebx
add eax, edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
jmp 0x4ee7f1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
sub esp, 0x10
mov edx, esp
mov dword [edx], edi
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
lea eax, [esp + 0x7c]
push eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.004ee5e0
mov ecx, dword [eax]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x20], edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005f2d37
lea ecx, [esp + 0xe4]
mov edi, eax
call fcn.00424430
xor ebp, ebp
lea edx, [esi + 0x64]
push ebp
push 0x17
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x55c], ebp
call fcn.005eb756
lea eax, [esp + 0x30]
push eax
call fcn.00477930
add esp, 8
mov ecx, eax
mov byte [esp + 0x554], 1
call fcn.00404ed0
push eax
lea ecx, [esp + 0xf4]
call fcn.004248f0
test eax, eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x548], 0
sete bl
call fcn.005eb9e1
test bl, bl
je 0x4eea04
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], vtable.CPalette.0
mov ecx, dword [edi + 4]
mov byte [esp + 0x548], 2
push ecx
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
push eax
lea ecx, [esp + 0x28]
call fcn.005f3791
push ebp
push 1
lea edx, [esp + 0x2c]
push 1
push edx
push ebp
push edi
lea ecx, [esp + 0x94]
call fcn.00407b20
push 1
mov ecx, esi
mov byte [esp + 0x54c], 3
call fcn.005ef2fa
lea eax, [esp + 0x30]
push ebp
push eax
push edi
lea ecx, [esp + 0xf0]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
call fcn.00426150
push 1
lea ecx, [esp + 0x80]
call fcn.005f2f55
lea ecx, [esp + 0x20]
xor ebx, ebx
push ecx
call fcn.005e82e8
push 1
push ebp
push ebp
lea edx, [esp + 0x5c]
push ebp
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jle 0x4ee975
mov eax, dword [esp + 0x54]
cmp eax, 0x201
je 0x4ee95e
cmp eax, 0x100
je 0x4ee95e
lea eax, [esp + 0x50]
push eax
jmp 0x4ee96f
cmp dword [esi + 0x58], ebp
je 0x4ee96a
mov ebx, 1
jmp 0x4ee975
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [esi + 0x88], ebp
je 0x4ee9d2
lea edx, [esp + 0x4c]
push edx
call fcn.005e82e8
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, esp
lea edx, [esp + 0x34]
mov dword [esp + 0x4c], esp
push edx
mov dword [eax], ecx
lea ecx, [esp + 0x34]
call fcn.00413560
mov ecx, dword [eax]
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
mov eax, dword [esi + 0x8c]
shl edx, 2
sub ecx, edx
cmp ecx, eax
jg 0x4ee9da
cmp ebx, ebp
je 0x4ee931
lea ecx, [esp + 0x7c]
mov byte [esp + 0x548], 2
call fcn.00407e70
mov dword [esp + 0x24], vtable.CGdiObject.0
lea ecx, [esp + 0x24]
mov byte [esp + 0x548], 4
call fcn.005f37e8
mov eax, dword [edi + 4]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0xe4]
mov dword [esp + 0x548], 0xffffffff
call fcn.004244f0
mov ecx, dword [esp + 0x540]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x53c
ret